类 ResultSlot
java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraft.world.inventory.ResultSlot
-
字段概要
字段 -
构造器概要
构造器构造器说明ResultSlot
(Player pPlayer, CraftingContainer pCraftSlots, Container pContainer, int pSlot, int pXPosition, int pYPosition) -
方法概要
修饰符和类型方法说明protected void
checkTakeAchievements
(ItemStack pStack) boolean
protected void
onQuickCraft
(ItemStack pStack, int pAmount) protected void
onSwapCraft
(int pNumItemsCrafted) void
remove
(int pAmount) 从类继承的方法 net.minecraft.world.inventory.Slot
allowModification, getContainerSlot, getItem, getMaxStackSize, getMaxStackSize, getNoItemIcon, getSlotIndex, hasItem, isActive, isHighlightable, isSameInventory, mayPickup, onQuickCraft, safeInsert, safeInsert, safeTake, set, setBackground, setByPlayer, setChanged, tryRemove
-
字段详细资料
-
craftSlots
-
player
-
removeCount
private int removeCount
-
-
构造器详细资料
-
ResultSlot
public ResultSlot(Player pPlayer, CraftingContainer pCraftSlots, Container pContainer, int pSlot, int pXPosition, int pYPosition)
-
-
方法详细资料
-
mayPlace
-
remove
-
onQuickCraft
- 覆盖:
onQuickCraft
在类中Slot
-
onSwapCraft
protected void onSwapCraft(int pNumItemsCrafted) - 覆盖:
onSwapCraft
在类中Slot
-
checkTakeAchievements
- 覆盖:
checkTakeAchievements
在类中Slot
-
onTake
-