Class RBMKControlAutoBlockEntity

java.lang.Object
net.minecraftforge.common.capabilities.CapabilityProvider<net.minecraft.world.level.block.entity.BlockEntity>
net.minecraft.world.level.block.entity.BlockEntity
All Implemented Interfaces:
net.minecraft.world.inventory.MenuConstructor, net.minecraft.world.MenuProvider, 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 RBMKControlAutoBlockEntity extends RBMKControlBlockEntity
1:1 port of TileEntityRBMKControlAuto. Automatically adjusts targetLevel based on column heat using LINEAR / QUAD_UP / QUAD_DOWN functions.
  • Field Details

    • moderated

      public boolean moderated
    • function

    • levelLower

      public double levelLower
    • levelUpper

      public double levelUpper
    • heatLower

      public double heatLower
    • heatUpper

      public double heatUpper
  • Constructor Details

    • RBMKControlAutoBlockEntity

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

    • isModerated

      public boolean isModerated()
      Overrides:
      isModerated in class RBMKColumnBlockEntity
    • getRenderTexturePrefix

      public String getRenderTexturePrefix()
      Description copied from class: RBMKColumnBlockEntity
      Returns the texture-name prefix used by the BESR to look up block/rbmk/<prefix>_side and block/rbmk/<prefix>_top. Matches the texture names in the block-model JSON. Override where the block entity type doesn't map 1:1 to the ColumnType name.
      Overrides:
      getRenderTexturePrefix in class RBMKColumnBlockEntity
    • tick

      public static void tick(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, RBMKControlAutoBlockEntity be)
    • saveAdditional

      protected void saveAdditional(net.minecraft.nbt.CompoundTag tag)
      Overrides:
      saveAdditional in class RBMKControlBlockEntity
    • load

      public void load(net.minecraft.nbt.CompoundTag tag)
      Overrides:
      load in class RBMKControlBlockEntity