public class DeckContainer
extends net.minecraft.inventory.container.Container
| Modifier and Type | Field and Description |
|---|---|
net.minecraft.inventory.IInventory |
inventory |
| Constructor and Description |
|---|
DeckContainer(int containerId,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.entity.player.PlayerInventory invPlayer,
DeckItem.Deck deck) |
DeckContainer(int windowId,
net.minecraft.entity.player.PlayerInventory player,
net.minecraft.network.PacketBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.ItemStack |
clicked(int slot,
int dragType,
net.minecraft.inventory.container.ClickType clickType,
net.minecraft.entity.player.PlayerEntity player) |
protected boolean |
moveItemStackTo(net.minecraft.item.ItemStack stack,
int start,
int end,
boolean backwards) |
net.minecraft.item.ItemStack |
quickMoveStack(net.minecraft.entity.player.PlayerEntity player,
int index) |
void |
removed(net.minecraft.entity.player.PlayerEntity player) |
boolean |
stillValid(net.minecraft.entity.player.PlayerEntity player) |
addDataSlot, addDataSlots, addSlot, addSlotListener, backup, broadcastChanges, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clickMenuButton, consideredTheSameItem, doClick, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftSlotCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getType, isSynched, isValidQuickcraftType, removeSlotListener, resetQuickCraft, setAll, setData, setItem, setSynched, slotsChanged, stillValidpublic DeckContainer(int containerId,
net.minecraft.entity.player.PlayerEntity player,
net.minecraft.entity.player.PlayerInventory invPlayer,
DeckItem.Deck deck)
public DeckContainer(int windowId,
net.minecraft.entity.player.PlayerInventory player,
net.minecraft.network.PacketBuffer buffer)
public boolean stillValid(net.minecraft.entity.player.PlayerEntity player)
stillValid in class net.minecraft.inventory.container.Containerpublic net.minecraft.item.ItemStack quickMoveStack(net.minecraft.entity.player.PlayerEntity player,
int index)
quickMoveStack in class net.minecraft.inventory.container.Containerpublic net.minecraft.item.ItemStack clicked(int slot,
int dragType,
net.minecraft.inventory.container.ClickType clickType,
net.minecraft.entity.player.PlayerEntity player)
clicked in class net.minecraft.inventory.container.Containerprotected boolean moveItemStackTo(net.minecraft.item.ItemStack stack,
int start,
int end,
boolean backwards)
moveItemStackTo in class net.minecraft.inventory.container.Containerpublic void removed(net.minecraft.entity.player.PlayerEntity player)
removed in class net.minecraft.inventory.container.Container