Package net.minecraft.world.inventory
Class ResultSlot
java.lang.Object
net.minecraft.world.inventory.Slot
net.minecraft.world.inventory.ResultSlot
-
Field Summary
Modifier and TypeFieldDescriptionprivate final CraftingContainer
private final Player
private int
-
Constructor Summary
ConstructorDescriptionResultSlot
(Player p_40166_, CraftingContainer p_40167_, Container p_40168_, int p_40169_, int p_40170_, int p_40171_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkTakeAchievements
(ItemStack p_40185_) boolean
isFake()
boolean
protected void
onQuickCraft
(ItemStack p_40180_, int p_40181_) protected void
onSwapCraft
(int p_40183_) void
remove
(int p_40173_) Methods inherited from class 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
-
Field Details
-
craftSlots
-
player
-
removeCount
private int removeCount
-
-
Constructor Details
-
ResultSlot
public ResultSlot(Player p_40166_, CraftingContainer p_40167_, Container p_40168_, int p_40169_, int p_40170_, int p_40171_)
-
-
Method Details
-
mayPlace
-
remove
-
onQuickCraft
- Overrides:
onQuickCraft
in classSlot
-
onSwapCraft
protected void onSwapCraft(int p_40183_) - Overrides:
onSwapCraft
in classSlot
-
checkTakeAchievements
- Overrides:
checkTakeAchievements
in classSlot
-
onTake
-
isFake
public boolean isFake()
-