类 BrewingStandMenu.PotionSlot
java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraft.world.inventory.BrewingStandMenu.PotionSlot
- 封闭类:
BrewingStandMenu
-
字段概要
字段 -
构造器概要
构造器构造器说明PotionSlot
(Container p_39123_, int p_39124_, int p_39125_, int p_39126_) PotionSlot
(PotionBrewing potionBrewing, Container p_39123_, int p_39124_, int p_39125_, int p_39126_) -
方法概要
修饰符和类型方法说明int
boolean
static boolean
mayPlaceItem
(PotionBrewing potionBrewing, ItemStack p_39134_) static boolean
mayPlaceItem
(ItemStack p_39134_) 已过时。void
从类继承的方法 net.minecraft.world.inventory.Slot
allowModification, checkTakeAchievements, getContainerSlot, getItem, getMaxStackSize, getSlotIndex, hasItem, isActive, isFake, isHighlightable, isSameInventory, mayPickup, onQuickCraft, onQuickCraft, onSwapCraft, remove, safeInsert, safeInsert, safeTake, set, setBackground, setByPlayer, setByPlayer, setChanged, tryRemove
-
字段详细资料
-
potionBrewing
-
-
构造器详细资料
-
PotionSlot
-
PotionSlot
public PotionSlot(PotionBrewing potionBrewing, Container p_39123_, int p_39124_, int p_39125_, int p_39126_)
-
-
方法详细资料
-
mayPlace
-
getMaxStackSize
public int getMaxStackSize()- 覆盖:
getMaxStackSize
在类中Slot
-
onTake
-
mayPlaceItem
已过时。 -
mayPlaceItem
-
getNoItemIcon
- 覆盖:
getNoItemIcon
在类中Slot
-