public class InfuserContainer
extends net.minecraft.inventory.container.Container
Modifier and Type | Field and Description |
---|---|
InfuserTileEntity |
tileInfuser |
Constructor and Description |
---|
InfuserContainer(int windowId,
net.minecraft.entity.player.PlayerInventory inventoryPlayer,
InfuserTileEntity tileInfuser) |
InfuserContainer(int windowId,
net.minecraft.entity.player.PlayerInventory inventoryPlayer,
net.minecraft.network.PacketBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
void |
broadcastChanges()
Looks for changes made in the container, sends them to every listener.
|
net.minecraft.item.ItemStack |
quickMoveStack(net.minecraft.entity.player.PlayerEntity player,
int slotIndex)
Called when a player shift-clicks on a slot.
|
void |
setData(int p_75137_1_,
int p_75137_2_) |
boolean |
stillValid(net.minecraft.entity.player.PlayerEntity player) |
addDataSlot, addDataSlots, addSlot, addSlotListener, backup, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clicked, clickMenuButton, consideredTheSameItem, doClick, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getType, isSynched, isValidQuickcraftType, moveItemStackTo, removed, removeSlotListener, resetQuickCraft, setAll, setItem, setSynched, slotsChanged, stillValid
public InfuserTileEntity tileInfuser
public InfuserContainer(int windowId, net.minecraft.entity.player.PlayerInventory inventoryPlayer, InfuserTileEntity tileInfuser)
public InfuserContainer(int windowId, net.minecraft.entity.player.PlayerInventory inventoryPlayer, net.minecraft.network.PacketBuffer buffer)
public void broadcastChanges()
broadcastChanges
in class net.minecraft.inventory.container.Container
public void setData(int p_75137_1_, int p_75137_2_)
setData
in class net.minecraft.inventory.container.Container
public boolean stillValid(net.minecraft.entity.player.PlayerEntity player)
stillValid
in class net.minecraft.inventory.container.Container
public net.minecraft.item.ItemStack quickMoveStack(net.minecraft.entity.player.PlayerEntity player, int slotIndex)
quickMoveStack
in class net.minecraft.inventory.container.Container