Class MobSpawnSettings.MobSpawnCost

java.lang.Object
net.minecraft.world.level.biome.MobSpawnSettings.MobSpawnCost
Enclosing class:
MobSpawnSettings

public static class MobSpawnSettings.MobSpawnCost extends Object
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<MobSpawnSettings.MobSpawnCost> CODEC
    • energyBudget

      private final double energyBudget
    • charge

      private final double charge
  • Constructor Details

    • MobSpawnCost

      MobSpawnCost(double p_48389_, double p_48390_)
  • Method Details

    • getEnergyBudget

      public double getEnergyBudget()
    • getCharge

      public double getCharge()