Class NonInteractiveResultSlot
java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraft.world.inventory.NonInteractiveResultSlot
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanallowModification(Player player) booleanisFake()booleanbooleanbooleanvoidonQuickCraft(ItemStack picked, ItemStack original) voidremove(int amount) safeInsert(ItemStack stack) safeInsert(ItemStack inputStack, int inputAmount) Methods inherited from class Slot
checkTakeAchievements, getContainerSlot, getItem, getMaxStackSize, getMaxStackSize, getNoItemIcon, getSlotIndex, hasItem, isActive, isSameInventory, onQuickCraft, onSwapCraft, set, setBackground, setByPlayer, setByPlayer, setChanged
-
Constructor Details
-
NonInteractiveResultSlot
-
-
Method Details
-
onQuickCraft
- Overrides:
onQuickCraftin classSlot
-
mayPickup
-
tryRemove
-
safeTake
-
safeInsert
- Overrides:
safeInsertin classSlot
-
safeInsert
- Overrides:
safeInsertin classSlot
-
allowModification
- Overrides:
allowModificationin classSlot
-
mayPlace
-
remove
-
onTake
-
isHighlightable
public boolean isHighlightable()- Overrides:
isHighlightablein classSlot
-
isFake
-