Class NetworkTransmitterBlockEntity
java.lang.Object
net.neoforged.neoforge.attachment.AttachmentHolder
net.minecraft.world.level.block.entity.BlockEntity
com.refinedmods.refinedstorage.blockentity.BaseBlockEntity
com.refinedmods.refinedstorage.blockentity.NetworkNodeBlockEntity<NetworkTransmitterNetworkNode>
com.refinedmods.refinedstorage.blockentity.NetworkTransmitterBlockEntity
- All Implemented Interfaces:
INetworkNodeProxy<NetworkTransmitterNetworkNode>
,IRedstoneConfigurable
,net.neoforged.neoforge.attachment.IAttachmentHolder
,net.neoforged.neoforge.common.extensions.IBlockEntityExtension
,net.neoforged.neoforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
public class NetworkTransmitterBlockEntity
extends NetworkNodeBlockEntity<NetworkTransmitterNetworkNode>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
net.neoforged.neoforge.attachment.AttachmentHolder.AsField
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BlockEntitySynchronizationParameter<Optional<net.minecraft.resources.ResourceLocation>,
NetworkTransmitterBlockEntity> Fields inherited from class com.refinedmods.refinedstorage.blockentity.NetworkNodeBlockEntity
REDSTONE_MODE
Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity
level, remove, worldPosition
Fields inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
ATTACHMENTS_NBT_KEY
-
Constructor Summary
ConstructorDescriptionNetworkTransmitterBlockEntity
(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state) -
Method Summary
Modifier and TypeMethodDescriptioncreateNode
(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) Methods inherited from class com.refinedmods.refinedstorage.blockentity.NetworkNodeBlockEntity
clearRemoved, getNode, getRedstoneMode, getRemovedNode, onRemovedNotDueToChunkUnload, setRedstoneMode
Methods inherited from class com.refinedmods.refinedstorage.blockentity.BaseBlockEntity
getDataManager, getUpdatePacket, getUpdateTag, handleUpdateTag, onChunkUnloaded, onDataPacket, readUpdate, setChanged, setRemoved, writeUpdate
Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity
addEntityType, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPersistentData, getPosFromTag, getType, hasLevel, isRemoved, load, loadStatic, onlyOpCanSetNbt, saveAdditional, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setData, setLevel, triggerEvent
Methods inherited from class net.neoforged.neoforge.attachment.AttachmentHolder
areAttachmentsCompatible, deserializeAttachments, getData, hasData, serializeAttachments
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.neoforged.neoforge.attachment.IAttachmentHolder
getData, hasData, setData
Methods inherited from interface net.neoforged.neoforge.common.extensions.IBlockEntityExtension
deserializeNBT, getModelData, hasCustomOutlineRendering, invalidateCapabilities, onLoad, requestModelDataUpdate, serializeNBT
-
Field Details
-
DISTANCE
public static final BlockEntitySynchronizationParameter<Integer,NetworkTransmitterBlockEntity> DISTANCE -
RECEIVER_DIMENSION
public static final BlockEntitySynchronizationParameter<Optional<net.minecraft.resources.ResourceLocation>,NetworkTransmitterBlockEntity> RECEIVER_DIMENSION -
SPEC
-
-
Constructor Details
-
NetworkTransmitterBlockEntity
public NetworkTransmitterBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
-
-
Method Details
-
createNode
@Nonnull public NetworkTransmitterNetworkNode createNode(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos) - Specified by:
createNode
in classNetworkNodeBlockEntity<NetworkTransmitterNetworkNode>
-