Uses of Record Class
net.minecraft.world.level.biome.MobSpawnSettings.MobSpawnCost
-
Uses of MobSpawnSettings.MobSpawnCost in net.minecraft.world.level.biome
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<MobSpawnSettings.MobSpawnCost>
MobSpawnSettings.MobSpawnCost.CODEC
protected final Map<EntityType<?>,
MobSpawnSettings.MobSpawnCost> MobSpawnSettings.Builder.mobSpawnCosts
private final Map<EntityType<?>,
MobSpawnSettings.MobSpawnCost> MobSpawnSettings.mobSpawnCosts
-
Uses of MobSpawnSettings.MobSpawnCost in net.neoforged.neoforge.common.world
Modifier and TypeFieldDescriptionprivate final MobSpawnSettings.MobSpawnCost
BiomeModifiers.AddSpawnCostsBiomeModifier.spawnCost
The field for thespawnCost
record component.Modifier and TypeMethodDescriptionMobSpawnSettingsBuilder.getCost
(EntityType<?> type) BiomeModifiers.AddSpawnCostsBiomeModifier.spawnCost()
Returns the value of thespawnCost
record component.ModifierConstructorDescriptionAddSpawnCostsBiomeModifier
(HolderSet<Biome> biomes, HolderSet<EntityType<?>> entityTypes, MobSpawnSettings.MobSpawnCost spawnCost) Creates an instance of aAddSpawnCostsBiomeModifier
record class.