Class DiskDriveContainerMenu
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.diskdrive.DiskDriveContainerMenu
- All Implemented Interfaces:
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
ConstructorDescriptionDiskDriveContainerMenu
(int syncId, net.minecraft.world.entity.player.Inventory playerInventory, ResourceContainerData resourceContainerData) -
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
-
DiskDriveContainerMenu
public DiskDriveContainerMenu(int syncId, net.minecraft.world.entity.player.Inventory playerInventory, ResourceContainerData resourceContainerData)
-
-
Method Details
-
hasCapacity
public boolean hasCapacity()- Specified by:
hasCapacity
in interfaceStorageAccessor
-
getProgress
public double getProgress()- Specified by:
getProgress
in interfaceStorageAccessor
-
getCapacity
public long getCapacity()- Specified by:
getCapacity
in interfaceStorageAccessor
-
getStored
public long getStored()- Specified by:
getStored
in interfaceStorageAccessor
-