Class AbstractNetworkNodeContainerBlockEntity<T extends NetworkNode>
java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
com.refinedmods.refinedstorage.common.api.support.network.AbstractNetworkNodeContainerBlockEntity<T>
- Direct Known Subclasses:
BaseNetworkNodeContainerBlockEntity
@API(status=STABLE,
since="2.0.0-milestone.1.2")
public abstract class AbstractNetworkNodeContainerBlockEntity<T extends NetworkNode>
extends net.minecraft.world.level.block.entity.BlockEntity
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.block.entity.BlockEntity
net.minecraft.world.level.block.entity.BlockEntity.DataComponentInput
-
Field Summary
Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractNetworkNodeContainerBlockEntity
(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, T mainNetworkNode) -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
protected NetworkNodeContainerProvider
protected InWorldNetworkNodeContainer
createMainContainer
(T networkNode) void
Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, applyImplicitComponents, collectComponents, collectImplicitComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getType, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, isValidBlockState, loadAdditional, loadCustomOnly, loadStatic, loadWithComponents, onlyOpCanSetNbt, parseCustomNameSafe, removeComponentsFromTag, saveAdditional, saveCustomAndMetadata, saveCustomOnly, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setComponents, setLevel, triggerEvent
-
Field Details
-
mainNetworkNode
-
containers
-
-
Constructor Details
-
AbstractNetworkNodeContainerBlockEntity
protected AbstractNetworkNodeContainerBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, T mainNetworkNode)
-
-
Method Details
-
createContainerProvider
-
createMainContainer
-
clearRemoved
public void clearRemoved()- Overrides:
clearRemoved
in classnet.minecraft.world.level.block.entity.BlockEntity
-
containerInitialized
protected void containerInitialized() -
setRemoved
public void setRemoved()- Overrides:
setRemoved
in classnet.minecraft.world.level.block.entity.BlockEntity
-
getContainerProvider
-