类 ResultSlot
java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraft.world.inventory.ResultSlot
-
字段概要
字段 -
构造器概要
构造器构造器说明ResultSlot
(Player p_40166_, CraftingContainer p_40167_, Container p_40168_, int p_40169_, int p_40170_, int p_40171_) -
方法概要
修饰符和类型方法说明protected void
checkTakeAchievements
(ItemStack p_40185_) private static NonNullList
<ItemStack> copyAllInputItems
(CraftingInput p_379867_) private NonNullList
<ItemStack> getRemainingItems
(CraftingInput p_379501_, Level p_380183_) boolean
isFake()
boolean
protected void
onQuickCraft
(ItemStack p_40180_, int p_40181_) protected void
onSwapCraft
(int p_40183_) void
remove
(int p_40173_) 从类继承的方法 net.minecraft.world.inventory.Slot
allowModification, getContainerSlot, getItem, getMaxStackSize, getMaxStackSize, getNoItemIcon, getSlotIndex, hasItem, isActive, isHighlightable, isSameInventory, mayPickup, onQuickCraft, safeInsert, safeInsert, safeTake, set, setBackground, setByPlayer, setByPlayer, setChanged, tryRemove
-
字段详细资料
-
craftSlots
-
player
-
removeCount
private int removeCount
-
-
构造器详细资料
-
ResultSlot
public ResultSlot(Player p_40166_, CraftingContainer p_40167_, Container p_40168_, int p_40169_, int p_40170_, int p_40171_)
-
-
方法详细资料
-
mayPlace
-
remove
-
onQuickCraft
- 覆盖:
onQuickCraft
在类中Slot
-
onSwapCraft
protected void onSwapCraft(int p_40183_) - 覆盖:
onSwapCraft
在类中Slot
-
checkTakeAchievements
- 覆盖:
checkTakeAchievements
在类中Slot
-
copyAllInputItems
-
getRemainingItems
-
onTake
-
isFake
public boolean isFake()
-