Class CraftingResultSlot
java.lang.Object
net.minecraft.inventory.container.Slot
net.minecraft.inventory.container.CraftingResultSlot
-
Field Summary
Modifier and TypeFieldDescriptionprivate final CraftingInventory
private final PlayerEntity
private int
-
Constructor Summary
ConstructorDescriptionCraftingResultSlot
(PlayerEntity p_i45790_1_, CraftingInventory p_i45790_2_, IInventory p_i45790_3_, int p_i45790_4_, int p_i45790_5_, int p_i45790_6_) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkTakeAchievements
(ItemStack p_75208_1_) boolean
protected void
onQuickCraft
(ItemStack p_75210_1_, int p_75210_2_) protected void
onSwapCraft
(int p_190900_1_) onTake
(PlayerEntity p_190901_1_, ItemStack p_190901_2_) remove
(int p_75209_1_) Methods inherited from class net.minecraft.inventory.container.Slot
getItem, getMaxStackSize, getMaxStackSize, getNoItemIcon, getSlotIndex, hasItem, isActive, isSameInventory, mayPickup, onQuickCraft, set, setBackground, setChanged
-
Field Details
-
craftSlots
-
player
-
removeCount
private int removeCount
-
-
Constructor Details
-
CraftingResultSlot
public CraftingResultSlot(PlayerEntity p_i45790_1_, CraftingInventory p_i45790_2_, IInventory p_i45790_3_, int p_i45790_4_, int p_i45790_5_, int p_i45790_6_)
-
-
Method Details
-
mayPlace
-
remove
-
onQuickCraft
- Overrides:
onQuickCraft
in classSlot
-
onSwapCraft
protected void onSwapCraft(int p_190900_1_) - Overrides:
onSwapCraft
in classSlot
-
checkTakeAchievements
- Overrides:
checkTakeAchievements
in classSlot
-
onTake
-