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
FieldsModifier and TypeFieldDescriptionprotected final net.minecraft.world.ContainerDeprecated.Fields inherited from class org.cyclops.cyclopscore.inventory.container.ContainerExtended
ITEMBOX, offsetX, offsetY, playerFields 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
ConstructorsConstructorDescriptionInventoryContainer(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.ContainerDeprecated.protected intDeprecated.protected booleanDeprecated.voidremoved(net.minecraft.world.entity.player.Player player) Deprecated.booleanstillValid(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, setValueMethods 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:
getSizeInventoryin classContainerExtended
-
stillValid
public boolean stillValid(net.minecraft.world.entity.player.Player player) Deprecated.- Specified by:
stillValidin classnet.minecraft.world.inventory.AbstractContainerMenu
-
removed
public void removed(net.minecraft.world.entity.player.Player player) Deprecated.- Overrides:
removedin classnet.minecraft.world.inventory.AbstractContainerMenu
-