Class BoilerData

java.lang.Object
com.simibubi.create.content.fluids.tank.BoilerData

public class BoilerData extends Object
  • Field Details

    • needsHeatLevelUpdate

      public boolean needsHeatLevelUpdate
    • passiveHeat

      public boolean passiveHeat
    • activeHeat

      public int activeHeat
    • waterSupply

      public float waterSupply
    • attachedEngines

      public int attachedEngines
    • attachedWhistles

      public int attachedWhistles
    • occludedDirections

      public boolean[] occludedDirections
    • gauge

      public net.createmod.catnip.animation.LerpedFloat gauge
  • Constructor Details

    • BoilerData

      public BoilerData()
  • Method Details

    • tick

      public void tick(FluidTankBlockEntity controller)
    • updateOcclusion

      public void updateOcclusion(FluidTankBlockEntity controller)
    • queueSoundOnSide

      public void queueSoundOnSide(net.minecraft.core.BlockPos pos, net.minecraft.core.Direction side)
    • getTheoreticalHeatLevel

      public int getTheoreticalHeatLevel()
    • getMaxHeatLevelForBoilerSize

      public int getMaxHeatLevelForBoilerSize(int boilerSize)
    • getMaxHeatLevelForWaterSupply

      public int getMaxHeatLevelForWaterSupply()
    • isPassive

      public boolean isPassive()
    • isPassive

      public boolean isPassive(int boilerSize)
    • getEngineEfficiency

      public float getEngineEfficiency(int boilerSize)
    • addToGoggleTooltip

      public boolean addToGoggleTooltip(List<net.minecraft.network.chat.Component> tooltip, boolean isPlayerSneaking, int boilerSize)
    • calcMinMaxForSize

      public void calcMinMaxForSize(int boilerSize)
    • getHeatLevelTextComponent

      @NotNull public @NotNull net.minecraft.network.chat.MutableComponent getHeatLevelTextComponent()
    • getSizeComponent

      public net.minecraft.network.chat.MutableComponent getSizeComponent(boolean forGoggles, boolean useBlocksAsBars, net.minecraft.ChatFormatting... styles)
    • getWaterComponent

      public net.minecraft.network.chat.MutableComponent getWaterComponent(boolean forGoggles, boolean useBlocksAsBars, net.minecraft.ChatFormatting... styles)
    • getHeatComponent

      public net.minecraft.network.chat.MutableComponent getHeatComponent(boolean forGoggles, boolean useBlocksAsBars, net.minecraft.ChatFormatting... styles)
    • evaluate

      public boolean evaluate(FluidTankBlockEntity controller)
    • checkPipeOrganAdvancement

      public void checkPipeOrganAdvancement(FluidTankBlockEntity controller)
    • updateTemperature

      public boolean updateTemperature(FluidTankBlockEntity controller)
    • isActive

      public boolean isActive()
    • clear

      public void clear()
    • write

      public net.minecraft.nbt.CompoundTag write()
    • read

      public void read(net.minecraft.nbt.CompoundTag nbt, int boilerSize)
    • createHandler

      public BoilerData.BoilerFluidHandler createHandler()