Class AbstractDiskDriveBlockEntity
java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
com.refinedmods.refinedstorage.common.api.support.network.AbstractNetworkNodeContainerBlockEntity<com.refinedmods.refinedstorage.api.network.impl.node.storage.StorageNetworkNode>
com.refinedmods.refinedstorage.common.support.network.AbstractBaseNetworkNodeContainerBlockEntity<com.refinedmods.refinedstorage.api.network.impl.node.storage.StorageNetworkNode>
com.refinedmods.refinedstorage.common.storage.AbstractDiskContainerBlockEntity<com.refinedmods.refinedstorage.api.network.impl.node.storage.StorageNetworkNode>
com.refinedmods.refinedstorage.common.storage.diskdrive.AbstractDiskDriveBlockEntity
- All Implemented Interfaces:
ConfigurationCardTarget, NetworkItemTargetBlockEntity, ExtendedMenuProvider<ResourceContainerData>, NetworkNodeExtendedMenuProvider<ResourceContainerData>, NetworkNodeMenuProvider, PlayerAwareBlockEntity, net.minecraft.core.TypedInstance<net.minecraft.world.level.block.entity.BlockEntityType<?>>, net.minecraft.util.debug.DebugValueSource, net.minecraft.world.inventory.MenuConstructor, net.minecraft.world.MenuProvider, net.minecraft.world.Nameable
public abstract class AbstractDiskDriveBlockEntity
extends AbstractDiskContainerBlockEntity<com.refinedmods.refinedstorage.api.network.impl.node.storage.StorageNetworkNode>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.debug.DebugValueSource
net.minecraft.util.debug.DebugValueSource.Registration, net.minecraft.util.debug.DebugValueSource.ValueGetter<T> -
Field Summary
Fields inherited from class AbstractDiskContainerBlockEntity
diskInventory, disks, filterFields inherited from class AbstractBaseNetworkNodeContainerBlockEntity
tickerFields inherited from class AbstractNetworkNodeContainerBlockEntity
containers, mainNetworkNodeFields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractDiskDriveBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.inventory.AbstractContainerMenucreateMenu(int syncId, net.minecraft.world.entity.player.Inventory inv, net.minecraft.world.entity.player.Player player) net.minecraft.network.chat.ComponentgetName()voidreadConfiguration(net.minecraft.world.level.storage.ValueInput input) protected voidsetFilters(Set<ResourceKey> filters) protected voidsetNormalizer(UnaryOperator<ResourceKey> normalizer) voidwriteConfiguration(net.minecraft.world.level.storage.ValueOutput output) Methods inherited from class AbstractDiskContainerBlockEntity
activenessChanged, containerInitialized, doesBlockStateChangeWarrantNetworkNodeUpdate, getDiskInventory, getDisks, getMenuCodec, getMenuData, getUpdatePacket, getUpdateTag, loadAdditional, onClientDriveStateUpdated, preRemoveSideEffects, saveAdditional, setLevelMethods inherited from class AbstractBaseNetworkNodeContainerBlockEntity
applyImplicitComponents, calculateActive, collectImplicitComponents, createMainContainer, doWork, getCustomName, getDebugNetworkId, getDisplayName, getFakePlayer, getNetworkForItem, getRedstoneMode, hasRedstoneMode, initialize, initialize, isPlacedBy, overrideName, setBlockState, setChanged, setCustomName, setPlacedBy, setRedstoneMode, updateActiveness, updateDebugNetworkIdMethods inherited from class AbstractNetworkNodeContainerBlockEntity
clearRemoved, createContainerProvider, getContainerProvider, setRemovedMethods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, collectComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getNameForReporting, getPosFromTag, getType, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, parseCustomNameSafe, problemPath, registerDebugValues, removeComponentsFromTag, saveCustomOnly, saveCustomOnly, saveWithFullMetadata, saveWithFullMetadata, saveWithId, saveWithoutMetadata, saveWithoutMetadata, setChanged, setComponents, triggerEvent, typeHolderMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConfigurationCardTarget
addUpgrade, getUpgradesMethods inherited from interface net.minecraft.world.MenuProvider
getDisplayNameMethods inherited from interface net.minecraft.world.Nameable
getPlainTextName, hasCustomNameMethods inherited from interface NetworkNodeMenuProvider
canOpen, getContainerProviderMethods inherited from interface net.minecraft.core.TypedInstance
is, is, is, is, is, tags
-
Constructor Details
-
AbstractDiskDriveBlockEntity
protected AbstractDiskDriveBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
-
-
Method Details
-
setFilters
- Specified by:
setFiltersin classAbstractDiskContainerBlockEntity<com.refinedmods.refinedstorage.api.network.impl.node.storage.StorageNetworkNode>
-
setNormalizer
- Specified by:
setNormalizerin classAbstractDiskContainerBlockEntity<com.refinedmods.refinedstorage.api.network.impl.node.storage.StorageNetworkNode>
-
readConfiguration
public void readConfiguration(net.minecraft.world.level.storage.ValueInput input) - Specified by:
readConfigurationin interfaceConfigurationCardTarget- Overrides:
readConfigurationin classAbstractDiskContainerBlockEntity<com.refinedmods.refinedstorage.api.network.impl.node.storage.StorageNetworkNode>
-
writeConfiguration
public void writeConfiguration(net.minecraft.world.level.storage.ValueOutput output) - Specified by:
writeConfigurationin interfaceConfigurationCardTarget- Overrides:
writeConfigurationin classAbstractDiskContainerBlockEntity<com.refinedmods.refinedstorage.api.network.impl.node.storage.StorageNetworkNode>
-
getName
public net.minecraft.network.chat.Component getName() -
createMenu
public net.minecraft.world.inventory.AbstractContainerMenu createMenu(int syncId, net.minecraft.world.entity.player.Inventory inv, net.minecraft.world.entity.player.Player player)
-