Class MobSpawnInfo.SpawnCosts

java.lang.Object
net.minecraft.world.biome.MobSpawnInfo.SpawnCosts
Enclosing class:
MobSpawnInfo

public static class MobSpawnInfo.SpawnCosts extends Object
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<MobSpawnInfo.SpawnCosts> CODEC
    • energyBudget

      private final double energyBudget
    • charge

      private final double charge
  • Constructor Details

    • SpawnCosts

      private SpawnCosts(double p_i241948_1_, double p_i241948_3_)
  • Method Details

    • getEnergyBudget

      public double getEnergyBudget()
    • getCharge

      public double getCharge()