Package net.minecraft.world.inventory
Class BrewingStandMenu.FuelSlot
java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraft.world.inventory.BrewingStandMenu.FuelSlot
- Enclosing class:
BrewingStandMenu
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanCheck if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel.static booleanmayPlaceItem(ItemStack pItemStack) Returnstrueif the givenItemStackis usable as fuel in the brewing stand.Methods inherited from class net.minecraft.world.inventory.Slot
allowModification, checkTakeAchievements, getContainerSlot, getItem, getMaxStackSize, getMaxStackSize, getSlotIndex, hasItem, isActive, isFake, isHighlightable, isSameInventory, mayPickup, onQuickCraft, onQuickCraft, onSwapCraft, onTake, remove, safeInsert, safeInsert, safeTake, set, setBackground, setByPlayer, setByPlayer, setChanged, tryRemove
-
Constructor Details
-
FuelSlot
-
-
Method Details
-
mayPlace
Check if the stack is allowed to be placed in this slot, used for armor slots as well as furnace fuel. -
mayPlaceItem
Returnstrueif the givenItemStackis usable as fuel in the brewing stand. -
getNoItemIcon
- Overrides:
getNoItemIconin classSlot
-