Class RBMKPanelBlockEntity

java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.level.block.entity.BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
com.hbm_m.block.entity.machines.rbmk.RBMKColumnBlockEntity
com.hbm_m.block.entity.machines.rbmk.RBMKPanelBlockEntity
All Implemented Interfaces:
net.minecraftforge.common.capabilities.ICapabilityProvider, net.minecraftforge.common.capabilities.ICapabilityProviderImpl<net.minecraft.world.level.block.entity.BlockEntity>, net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.CompoundTag>, net.minecraftforge.common.extensions.IForgeBlockEntity, net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>

public class RBMKPanelBlockEntity extends RBMKColumnBlockEntity
Shared block entity for all RBMK panel/display blocks (gauge, indicator, lever, numitron, etc.). Stores a linked console position and a display value.
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.hbm_m.block.entity.machines.rbmk.RBMKColumnBlockEntity

    RBMKColumnBlockEntity.ColumnType

    Nested classes/interfaces inherited from class net.minecraftforge.common.capabilities.CapabilityProvider

    net.minecraftforge.common.capabilities.CapabilityProvider.AsField<B extends net.minecraftforge.common.capabilities.ICapabilityProviderImpl<B>>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    Panel-specific mode/channel index.
    double
    Display value (int) â€" interpretation depends on block type.
    net.minecraft.core.BlockPos
    Position of the linked RBMK console, or null if not linked.

    Fields inherited from class com.hbm_m.block.entity.machines.rbmk.RBMKColumnBlockEntity

    craneIndicator, heat, lidState, MAX_STEAM, MAX_WATER, reasimSteam, reasimWater

    Fields inherited from class net.minecraft.world.level.block.entity.BlockEntity

    level, remove, worldPosition

    Fields inherited from interface net.minecraftforge.common.extensions.IForgeBlockEntity

    INFINITE_EXTENT_AABB
  • Constructor Summary

    Constructors
    Constructor
    Description
    RBMKPanelBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
     
    void
    load(net.minecraft.nbt.CompoundTag tag)
     
    protected void
    saveAdditional(net.minecraft.nbt.CompoundTag tag)
     
    static void
    tick(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, RBMKPanelBlockEntity be)
     

    Methods inherited from class net.minecraft.world.level.block.entity.BlockEntity

    addEntityType, clearRemoved, fillCrashReportCategory, getBlockPos, getBlockState, getLevel, getPersistentData, getPosFromTag, getType, hasLevel, isRemoved, loadStatic, onChunkUnloaded, onlyOpCanSetNbt, saveToItem, saveWithFullMetadata, saveWithId, saveWithoutMetadata, setBlockState, setChanged, setChanged, setLevel, setRemoved, triggerEvent

    Methods inherited from class net.minecraftforge.common.capabilities.CapabilityProvider

    areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.minecraftforge.common.capabilities.ICapabilityProvider

    getCapability, getCapability

    Methods inherited from interface net.minecraftforge.common.extensions.IForgeBlockEntity

    deserializeNBT, getModelData, handleUpdateTag, hasCustomOutlineRendering, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT
  • Field Details

    • linkedConsole

      public net.minecraft.core.BlockPos linkedConsole
      Position of the linked RBMK console, or null if not linked.
    • displayValue

      public double displayValue
      Display value (int) â€" interpretation depends on block type.
    • channel

      public int channel
      Panel-specific mode/channel index.
  • Constructor Details

    • RBMKPanelBlockEntity

      public RBMKPanelBlockEntity(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
  • Method Details