Class StorageBlockContainerMenu
java.lang.Object
net.minecraft.world.inventory.AbstractContainerMenu
com.refinedmods.refinedstorage.common.support.AbstractBaseContainerMenu
com.refinedmods.refinedstorage.common.support.containermenu.AbstractResourceContainerMenu
com.refinedmods.refinedstorage.common.storage.AbstractStorageContainerMenu
com.refinedmods.refinedstorage.common.storage.storageblock.StorageBlockContainerMenu
- All Implemented Interfaces:
StorageAccessor
public class StorageBlockContainerMenu
extends AbstractStorageContainerMenu
implements StorageAccessor
-
Field Summary
Fields inherited from class com.refinedmods.refinedstorage.common.support.containermenu.AbstractResourceContainerMenu
player
Fields inherited from class com.refinedmods.refinedstorage.common.support.AbstractBaseContainerMenu
disabledSlot, transferManager
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
ConstructorDescriptionStorageBlockContainerMenu
(net.minecraft.world.inventory.MenuType<?> type, int syncId, net.minecraft.world.entity.player.Player player, StorageBlockData storageBlockData, ResourceFactory resourceFactory) StorageBlockContainerMenu
(net.minecraft.world.inventory.MenuType<?> type, int syncId, net.minecraft.world.entity.player.Player player, ResourceContainer resourceContainer, StorageConfigurationContainer configContainer) -
Method Summary
Modifier and TypeMethodDescriptionlong
double
long
boolean
Methods inherited from class com.refinedmods.refinedstorage.common.support.containermenu.AbstractResourceContainerMenu
addSlot, addToResourceSlotIfNotExisting, areAllResourceSlotsEmpty, broadcastChanges, canTakeItemForPickAll, clicked, getResourceSlots, handleResourceFilterSlotUpdate, handleResourceSlotAmountChange, handleResourceSlotChange, handleResourceSlotUpdate, resetSlots, sendResourceSlotChange
Methods inherited from class com.refinedmods.refinedstorage.common.support.AbstractBaseContainerMenu
addPlayerInventory, addPlayerInventory, getProperty, handleFilterSlotChange, hasProperty, quickMoveStack, receivePropertyChangeFromClient, registerProperty, stillValid
Methods inherited from class net.minecraft.world.inventory.AbstractContainerMenu
addDataSlot, addDataSlots, addSlotListener, broadcastFullState, canDragTo, canItemQuickReplace, checkContainerDataCount, checkContainerSize, clearContainer, clickMenuButton, findSlot, getCarried, getItems, getQuickcraftHeader, getQuickcraftMask, getQuickCraftPlaceCount, getQuickcraftType, getRedstoneSignalFromBlockEntity, getRedstoneSignalFromContainer, getSlot, getStateId, getType, incrementStateId, initializeContents, isValidQuickcraftType, isValidSlotIndex, moveItemStackTo, removed, removeSlotListener, resetQuickCraft, resumeRemoteUpdates, sendAllDataToRemote, setCarried, setData, setItem, setRemoteCarried, setRemoteSlot, setRemoteSlotNoCopy, setSynchronizer, slotsChanged, stillValid, suppressRemoteUpdates, transferState
-
Constructor Details
-
StorageBlockContainerMenu
public StorageBlockContainerMenu(net.minecraft.world.inventory.MenuType<?> type, int syncId, net.minecraft.world.entity.player.Player player, StorageBlockData storageBlockData, ResourceFactory resourceFactory) -
StorageBlockContainerMenu
public StorageBlockContainerMenu(net.minecraft.world.inventory.MenuType<?> type, int syncId, net.minecraft.world.entity.player.Player player, ResourceContainer resourceContainer, StorageConfigurationContainer configContainer)
-
-
Method Details
-
getProgress
public double getProgress()- Specified by:
getProgress
in interfaceStorageAccessor
-
hasCapacity
public boolean hasCapacity()- Specified by:
hasCapacity
in interfaceStorageAccessor
-
getCapacity
public long getCapacity()- Specified by:
getCapacity
in interfaceStorageAccessor
-
getStored
public long getStored()- Specified by:
getStored
in interfaceStorageAccessor
-