Uses of Record Class
net.minecraft.world.level.biome.MobSpawnSettings.MobSpawnCost
Packages that use MobSpawnSettings.MobSpawnCost
-
Uses of MobSpawnSettings.MobSpawnCost in net.minecraft.world.level.biome
Fields in net.minecraft.world.level.biome with type parameters of type MobSpawnSettings.MobSpawnCostModifier 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
Methods in net.minecraft.world.level.biome that return MobSpawnSettings.MobSpawnCost -
Uses of MobSpawnSettings.MobSpawnCost in net.neoforged.neoforge.common.world
Fields in net.neoforged.neoforge.common.world declared as MobSpawnSettings.MobSpawnCostModifier and TypeFieldDescriptionprivate final MobSpawnSettings.MobSpawnCost
BiomeModifiers.AddSpawnCostsBiomeModifier.spawnCost
The field for thespawnCost
record component.Methods in net.neoforged.neoforge.common.world that return MobSpawnSettings.MobSpawnCostModifier and TypeMethodDescriptionMobSpawnSettingsBuilder.getCost
(EntityType<?> type) BiomeModifiers.AddSpawnCostsBiomeModifier.spawnCost()
Returns the value of thespawnCost
record component.Constructors in net.neoforged.neoforge.common.world with parameters of type MobSpawnSettings.MobSpawnCostModifierConstructorDescriptionAddSpawnCostsBiomeModifier
(HolderSet<Biome> biomes, HolderSet<EntityType<?>> entityTypes, MobSpawnSettings.MobSpawnCost spawnCost) Creates an instance of aAddSpawnCostsBiomeModifier
record class.