Class BiomeHooks.SpawnSettingsWrapped

java.lang.Object
dev.architectury.hooks.level.biome.BiomeHooks.SpawnSettingsWrapped
All Implemented Interfaces:
SpawnProperties
Enclosing class:
BiomeHooks

public static class BiomeHooks.SpawnSettingsWrapped extends Object implements SpawnProperties
  • 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 interface SpawnProperties
    • getSpawners

      public Map<net.minecraft.world.entity.MobCategory,List<net.minecraft.world.level.biome.MobSpawnSettings.SpawnerData>> getSpawners()
      Specified by:
      getSpawners in interface SpawnProperties
    • getMobSpawnCosts

      public Map<net.minecraft.world.entity.EntityType<?>,net.minecraft.world.level.biome.MobSpawnSettings.MobSpawnCost> getMobSpawnCosts()
      Specified by:
      getMobSpawnCosts in interface SpawnProperties