public class FurnaceOutputSlot extends Slot
Modifier and Type | Field and Description |
---|---|
private int |
amount |
private PlayerEntity |
player |
Constructor and Description |
---|
FurnaceOutputSlot(PlayerEntity player,
Inventory inventory,
int index,
int x,
int y) |
Modifier and Type | Method and Description |
---|---|
boolean |
canInsert(ItemStack stack) |
protected void |
onCrafted(ItemStack stack) |
protected void |
onCrafted(ItemStack stack,
int amount) |
ItemStack |
onTakeItem(PlayerEntity player,
ItemStack stack) |
ItemStack |
takeStack(int amount) |
canTakeItems, doDrawHoveringEffect, getBackgroundSprite, getMaxItemCount, getMaxItemCount, getStack, hasStack, markDirty, onStackChanged, onTake, setStack
private final PlayerEntity player
private int amount
public FurnaceOutputSlot(PlayerEntity player, Inventory inventory, int index, int x, int y)
public ItemStack onTakeItem(PlayerEntity player, ItemStack stack)
onTakeItem
in class Slot