类 SlotItemHandler
java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraftforge.items.SlotItemHandler
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明@NotNull ItemStack
getItem()
int
int
getMaxStackSize
(@NotNull ItemStack stack) void
initialize
(ItemStack stack) boolean
boolean
void
onQuickCraft
(@NotNull ItemStack oldStackIn, @NotNull ItemStack newStackIn) @NotNull ItemStack
remove
(int amount) void
从类继承的方法 net.minecraft.world.inventory.Slot
allowModification, checkTakeAchievements, getContainerSlot, getNoItemIcon, getSlotIndex, hasItem, isActive, isFake, isHighlightable, isSameInventory, onQuickCraft, onSwapCraft, onTake, safeInsert, safeInsert, safeTake, setBackground, setByPlayer, setByPlayer, setChanged, tryRemove
-
字段详细资料
-
emptyInventory
-
itemHandler
-
index
private final int index
-
-
构造器详细资料
-
SlotItemHandler
-
-
方法详细资料
-
mayPlace
-
getItem
-
set
-
initialize
-
onQuickCraft
public void onQuickCraft(@NotNull @NotNull ItemStack oldStackIn, @NotNull @NotNull ItemStack newStackIn) - 覆盖:
onQuickCraft
在类中Slot
-
getMaxStackSize
public int getMaxStackSize()- 覆盖:
getMaxStackSize
在类中Slot
-
getMaxStackSize
- 覆盖:
getMaxStackSize
在类中Slot
-
mayPickup
-
remove
-
getItemHandler
-