Package net.minecraft.world.level.biome
Class MobSpawnSettings.MobSpawnCost
java.lang.Object
net.minecraft.world.level.biome.MobSpawnSettings.MobSpawnCost
- Enclosing class:
- MobSpawnSettings
-
Field Summary
Modifier and TypeFieldDescriptionprivate double
static com.mojang.serialization.Codec<MobSpawnSettings.MobSpawnCost>
private double
-
Constructor Summary
-
Method Summary
-
Field Details
-
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()
-