Class InventoryContainer
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
org.cyclops.cyclopscore.inventory.container.ContainerExtended
org.cyclops.cyclopscore.inventory.container.InventoryContainer
- All Implemented Interfaces:
IContainerButtonClickAcceptorServer<ContainerExtended>
,IValueNotifiable
,IValueNotifier
- Direct Known Subclasses:
ContainerInfoBookTest
,ScrollingInventoryContainer
Deprecated.
A container for an inventory.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final net.minecraft.world.Container
Deprecated.Fields inherited from class org.cyclops.cyclopscore.inventory.container.ContainerExtended
ITEMBOX, offsetX, offsetY, player
Fields inherited from class net.minecraft.world.inventory.AbstractContainerMenu
CARRIED_SLOT_SIZE, containerId, QUICKCRAFT_HEADER_CONTINUE, QUICKCRAFT_HEADER_END, QUICKCRAFT_HEADER_START, QUICKCRAFT_TYPE_CHARITABLE, QUICKCRAFT_TYPE_CLONE, QUICKCRAFT_TYPE_GREEDY, SLOT_CLICKED_OUTSIDE, slots
-
Constructor Summary
ConstructorDescriptionInventoryContainer
(net.minecraft.world.inventory.MenuType<?> type, int id, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.world.Container inventory) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.Container
Deprecated.protected int
Deprecated.protected boolean
Deprecated.void
removed
(net.minecraft.world.entity.player.Player player) Deprecated.boolean
stillValid
(net.minecraft.world.entity.player.Player player) Deprecated.Methods inherited from class org.cyclops.cyclopscore.inventory.container.ContainerExtended
addInventory, addPlayerArmorInventory, addPlayerInventory, addSlot, addSlotListener, adjustPhantomSlot, broadcastChanges, clicked, createNewSlot, fillPhantomSlot, getHolderLookupProvider, getNextValueId, getPlayerIInventory, getSlotRange, getSlotStart, getValue, getValueIds, getValueNotifiableType, initializeValues, moveItemStackTo, onButtonClick, onUpdate, putButtonAction, quickMoveStack, registerSyncedVariable, resetQuickCraft, setGuiValueListener, setSlotPosX, setSlotPosY, setValue
Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, broadcastFullState, canDragTo, canItemQuickReplace, canTakeItemForPickAll, checkContainerDataCount, checkContainerSize, clearContainer, clickMenuButton, createCarriedSlotAccess, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftPlaceCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, removeSlotListener, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState
-
Field Details
-
inventory
protected final net.minecraft.world.Container inventoryDeprecated.
-
-
Constructor Details
-
InventoryContainer
public InventoryContainer(@Nullable net.minecraft.world.inventory.MenuType<?> type, int id, net.minecraft.world.entity.player.Inventory playerInventory, net.minecraft.world.Container inventory) Deprecated.
-
-
Method Details
-
isAssertInventorySize
protected boolean isAssertInventorySize()Deprecated. -
getContainerInventory
public net.minecraft.world.Container getContainerInventory()Deprecated. -
getSizeInventory
protected int getSizeInventory()Deprecated.- Specified by:
getSizeInventory
in classContainerExtended
-
stillValid
public boolean stillValid(net.minecraft.world.entity.player.Player player) Deprecated.- Specified by:
stillValid
in classnet.minecraft.world.inventory.AbstractContainerMenu
-
removed
public void removed(net.minecraft.world.entity.player.Player player) Deprecated.- Overrides:
removed
in classnet.minecraft.world.inventory.AbstractContainerMenu
-