Class BiomeHooks.SpawnSettingsWrapped
java.lang.Object
dev.architectury.hooks.level.biome.BiomeHooks.SpawnSettingsWrapped
- All Implemented Interfaces:
SpawnProperties
- Enclosing class:
- BiomeHooks
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.architectury.hooks.level.biome.SpawnProperties
SpawnProperties.Mutable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final net.minecraft.world.level.biome.MobSpawnSettings
-
Constructor Summary
ConstructorsConstructorDescriptionSpawnSettingsWrapped
(net.minecraft.world.level.biome.Biome biome) SpawnSettingsWrapped
(net.minecraft.world.level.biome.MobSpawnSettings settings) -
Method Summary
-
Field Details
-
settings
protected final net.minecraft.world.level.biome.MobSpawnSettings settings
-
-
Constructor Details
-
SpawnSettingsWrapped
public SpawnSettingsWrapped(net.minecraft.world.level.biome.Biome biome) -
SpawnSettingsWrapped
public SpawnSettingsWrapped(net.minecraft.world.level.biome.MobSpawnSettings settings)
-
-
Method Details
-
getCreatureProbability
public float getCreatureProbability()- Specified by:
getCreatureProbability
in interfaceSpawnProperties
-
getSpawners
public Map<net.minecraft.world.entity.MobCategory,List<net.minecraft.world.level.biome.MobSpawnSettings.SpawnerData>> getSpawners()- Specified by:
getSpawners
in interfaceSpawnProperties
-
getMobSpawnCosts
public Map<net.minecraft.world.entity.EntityType<?>,net.minecraft.world.level.biome.MobSpawnSettings.MobSpawnCost> getMobSpawnCosts()- Specified by:
getMobSpawnCosts
in interfaceSpawnProperties
-