Class AbstractLevelInteractingNetworkNodeContainerBlockEntity<T extends com.refinedmods.refinedstorage.api.network.impl.node.AbstractNetworkNode>
java.lang.Object
net.minecraft.world.level.block.entity.BlockEntity
com.refinedmods.refinedstorage.common.api.support.network.AbstractNetworkNodeContainerBlockEntity<T>
com.refinedmods.refinedstorage.common.support.network.BaseNetworkNodeContainerBlockEntity<T>
com.refinedmods.refinedstorage.common.support.network.AbstractRedstoneModeNetworkNodeContainerBlockEntity<T>
com.refinedmods.refinedstorage.common.support.network.AbstractLevelInteractingNetworkNodeContainerBlockEntity<T>
- All Implemented Interfaces:
ConfigurationCardTarget
,NetworkItemTargetBlockEntity
,PlayerAwareBlockEntity
- Direct Known Subclasses:
AbstractUpgradeableNetworkNodeContainerBlockEntity
public abstract class AbstractLevelInteractingNetworkNodeContainerBlockEntity<T extends com.refinedmods.refinedstorage.api.network.impl.node.AbstractNetworkNode>
extends AbstractRedstoneModeNetworkNodeContainerBlockEntity<T>
-
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 com.refinedmods.refinedstorage.common.api.support.network.AbstractNetworkNodeContainerBlockEntity
containers, mainNetworkNode
Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractLevelInteractingNetworkNodeContainerBlockEntity
(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, T node) -
Method Summary
Modifier and TypeMethodDescriptionprotected final void
initialize
(net.minecraft.server.level.ServerLevel level) protected abstract void
initialize
(net.minecraft.server.level.ServerLevel level, net.minecraft.core.Direction direction) void
setBlockState
(net.minecraft.world.level.block.state.BlockState newBlockState) void
setLevel
(net.minecraft.world.level.Level level) Methods inherited from class com.refinedmods.refinedstorage.common.support.network.AbstractRedstoneModeNetworkNodeContainerBlockEntity
calculateActive, getFakePlayer, getRedstoneMode, isPlacedBy, loadAdditional, readConfiguration, saveAdditional, setPlacedBy, setRedstoneMode, writeConfiguration
Methods inherited from class com.refinedmods.refinedstorage.common.support.network.BaseNetworkNodeContainerBlockEntity
activenessChanged, applyImplicitComponents, collectImplicitComponents, createMainContainer, doesBlockStateChangeWarrantNetworkNodeUpdate, doWork, getName, getNetworkForItem, updateActiveness
Methods inherited from class com.refinedmods.refinedstorage.common.api.support.network.AbstractNetworkNodeContainerBlockEntity
clearRemoved, containerInitialized, createContainerProvider, getContainerProvider, setRemoved
Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, applyComponents, applyComponentsFromItemStack, collectComponents, components, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPosFromTag, getType, getUpdatePacket, getUpdateTag, hasLevel, isRemoved, isValidBlockState, loadCustomOnly, loadStatic, loadWithComponents, onlyOpCanSetNbt, parseCustomNameSafe, removeComponentsFromTag, saveCustomAndMetadata, saveCustomOnly, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setChanged, setChanged, setComponents, triggerEvent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.refinedmods.refinedstorage.common.api.configurationcard.ConfigurationCardTarget
addUpgradeItem, getUpgradeItems
-
Constructor Details
-
AbstractLevelInteractingNetworkNodeContainerBlockEntity
protected AbstractLevelInteractingNetworkNodeContainerBlockEntity(net.minecraft.world.level.block.entity.BlockEntityType<?> type, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, T node)
-
-
Method Details
-
setBlockState
public void setBlockState(net.minecraft.world.level.block.state.BlockState newBlockState) - Overrides:
setBlockState
in classBaseNetworkNodeContainerBlockEntity<T extends com.refinedmods.refinedstorage.api.network.impl.node.AbstractNetworkNode>
-
setLevel
public void setLevel(net.minecraft.world.level.Level level) - Overrides:
setLevel
in classnet.minecraft.world.level.block.entity.BlockEntity
-
initialize
protected final void initialize(net.minecraft.server.level.ServerLevel level) -
initialize
protected abstract void initialize(net.minecraft.server.level.ServerLevel level, net.minecraft.core.Direction direction)
-