Interface BoilerHeaters.Heater

Enclosing class:
BoilerHeaters

public static interface BoilerHeaters.Heater
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    getActiveHeat(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
    A return value of -1 represents no heat.
  • Method Details

    • getActiveHeat

      float getActiveHeat(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
      A return value of -1 represents no heat. A return value of 0 represents passive heat. All other positive values are used as the amount of active heat.