Class FurnaceResultSlot
- java.lang.Object
-
- net.minecraft.inventory.container.Slot
-
- net.minecraft.inventory.container.FurnaceResultSlot
-
public class FurnaceResultSlot extends Slot
-
-
Field Summary
Fields Modifier and Type Field Description private PlayerEntity
player
private int
removeCount
-
Constructor Summary
Constructors Constructor Description FurnaceResultSlot(PlayerEntity p_i45793_1_, IInventory p_i45793_2_, int p_i45793_3_, int p_i45793_4_, int p_i45793_5_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
checkTakeAchievements(ItemStack p_75208_1_)
boolean
mayPlace(ItemStack p_75214_1_)
protected void
onQuickCraft(ItemStack p_75210_1_, int p_75210_2_)
ItemStack
onTake(PlayerEntity p_190901_1_, ItemStack p_190901_2_)
ItemStack
remove(int p_75209_1_)
-
Methods inherited from class net.minecraft.inventory.container.Slot
getItem, getMaxStackSize, getMaxStackSize, getNoItemIcon, getSlotIndex, hasItem, isActive, isSameInventory, mayPickup, onQuickCraft, onSwapCraft, set, setBackground, setChanged
-
-
-
-
Field Detail
-
player
private final PlayerEntity player
-
removeCount
private int removeCount
-
-
Constructor Detail
-
FurnaceResultSlot
public FurnaceResultSlot(PlayerEntity p_i45793_1_, IInventory p_i45793_2_, int p_i45793_3_, int p_i45793_4_, int p_i45793_5_)
-
-
Method Detail
-
onTake
public ItemStack onTake(PlayerEntity p_190901_1_, ItemStack p_190901_2_)
-
onQuickCraft
protected void onQuickCraft(ItemStack p_75210_1_, int p_75210_2_)
- Overrides:
onQuickCraft
in classSlot
-
checkTakeAchievements
protected void checkTakeAchievements(ItemStack p_75208_1_)
- Overrides:
checkTakeAchievements
in classSlot
-
-