Package net.minecraft.world.inventory
Class NonInteractiveResultSlot
java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraft.world.inventory.NonInteractiveResultSlot
-
Field Summary
-
Constructor Summary
ConstructorDescriptionNonInteractiveResultSlot
(Container p_307372_, int p_307687_, int p_307440_, int p_307347_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
allowModification
(Player p_307532_) boolean
isFake()
boolean
boolean
boolean
void
onQuickCraft
(ItemStack p_307668_, ItemStack p_307399_) void
remove
(int p_307370_) safeInsert
(ItemStack p_307685_) safeInsert
(ItemStack p_307656_, int p_307278_) Methods inherited from class net.minecraft.world.inventory.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:
onQuickCraft
in classSlot
-
mayPickup
-
tryRemove
-
safeTake
-
safeInsert
- Overrides:
safeInsert
in classSlot
-
safeInsert
- Overrides:
safeInsert
in classSlot
-
allowModification
- Overrides:
allowModification
in classSlot
-
mayPlace
-
remove
-
onTake
-
isHighlightable
public boolean isHighlightable()- Overrides:
isHighlightable
in classSlot
-
isFake
public boolean isFake()
-