Class LeavesBlockMixin

java.lang.Object
com.lightning.northstar.mixin.oxygen.LeavesBlockMixin
All Implemented Interfaces:
OxygenConsumer

@ParametersAreNonnullByDefault public class LeavesBlockMixin extends Object implements OxygenConsumer
  • Constructor Details

    • LeavesBlockMixin

      public LeavesBlockMixin()
  • Method Details

    • northstar$getOxygenConsumption

      public float northstar$getOxygenConsumption(net.minecraft.world.level.BlockGetter level, net.minecraft.core.BlockPos pos, float base)
      Description copied from interface: OxygenConsumer
      Calculates the oxygen usage in mB/t Note for implementers: if dynamic, make sure that the block is what you expect as it might change in the world and seals don't update instantly.
      Specified by:
      northstar$getOxygenConsumption in interface OxygenConsumer
      Parameters:
      level - the level of the block
      pos - the position of the block
      base - the base oxygen consumption, in mB/t