public class SlotCraftingAutoRefill
extends net.minecraft.inventory.container.CraftingResultSlot
| Constructor and Description |
|---|
SlotCraftingAutoRefill(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.inventory.CraftingInventory inventoryCrafting,
net.minecraft.inventory.IInventory inventoryIn,
int slotIndex,
int xPosition,
int yPosition,
TerminalStorageTabIngredientComponentItemStackCraftingCommon tabCommon,
TerminalStorageTabIngredientComponentServer<net.minecraft.item.ItemStack,java.lang.Integer> tabServer,
ContainerTerminalStorageBase container) |
| Modifier and Type | Method and Description |
|---|---|
static net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
getRemoved(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> before,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> after) |
static net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> |
inventoryToList(net.minecraft.inventory.IInventory inventory,
boolean copy) |
net.minecraft.item.ItemStack |
onTake(net.minecraft.entity.player.PlayerEntity thePlayer,
net.minecraft.item.ItemStack stack) |
decrStackSize, isItemValid, onCrafting, onCrafting, onSwapCraftpublic SlotCraftingAutoRefill(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.inventory.CraftingInventory inventoryCrafting,
net.minecraft.inventory.IInventory inventoryIn,
int slotIndex,
int xPosition,
int yPosition,
TerminalStorageTabIngredientComponentItemStackCraftingCommon tabCommon,
TerminalStorageTabIngredientComponentServer<net.minecraft.item.ItemStack,java.lang.Integer> tabServer,
ContainerTerminalStorageBase container)
public net.minecraft.item.ItemStack onTake(net.minecraft.entity.player.PlayerEntity thePlayer,
net.minecraft.item.ItemStack stack)
onTake in class net.minecraft.inventory.container.CraftingResultSlotpublic static net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> inventoryToList(net.minecraft.inventory.IInventory inventory,
boolean copy)
public static net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> getRemoved(net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> before,
net.minecraft.util.NonNullList<net.minecraft.item.ItemStack> after)