Class SpawnSettings

java.lang.Object
net.minecraft.world.biome.SpawnSettings

public class SpawnSettings extends Object
Mappings:
Namespace Name
named net/minecraft/world/biome/SpawnSettings
intermediary net/minecraft/class_5483
official dhx
  • Field Details Link icon

    • LOGGER Link icon

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      named LOGGER Lnet/minecraft/world/biome/SpawnSettings;LOGGER:Lorg/slf4j/Logger;
      intermediary field_26645 Lnet/minecraft/class_5483;field_26645:Lorg/slf4j/Logger;
      official d Ldhx;d:Lorg/slf4j/Logger;
    • field_30983 Link icon

      private static final float field_30983
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_30983 Lnet/minecraft/world/biome/SpawnSettings;field_30983:F
      intermediary field_30983 Lnet/minecraft/class_5483;field_30983:F
      official e Ldhx;e:F
    • EMPTY_ENTRY_POOL Link icon

      public static final Pool<SpawnSettings.SpawnEntry> EMPTY_ENTRY_POOL
      Mappings:
      Namespace Name Mixin selector
      named EMPTY_ENTRY_POOL Lnet/minecraft/world/biome/SpawnSettings;EMPTY_ENTRY_POOL:Lnet/minecraft/util/collection/Pool;
      intermediary field_30982 Lnet/minecraft/class_5483;field_30982:Lnet/minecraft/class_6012;
      official a Ldhx;a:Lbqx;
    • INSTANCE Link icon

      public static final SpawnSettings INSTANCE
      Mappings:
      Namespace Name Mixin selector
      named INSTANCE Lnet/minecraft/world/biome/SpawnSettings;INSTANCE:Lnet/minecraft/world/biome/SpawnSettings;
      intermediary field_26646 Lnet/minecraft/class_5483;field_26646:Lnet/minecraft/class_5483;
      official b Ldhx;b:Ldhx;
    • CODEC Link icon

      public static final com.mojang.serialization.MapCodec<SpawnSettings> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/biome/SpawnSettings;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_26403 Lnet/minecraft/class_5483;field_26403:Lcom/mojang/serialization/MapCodec;
      official c Ldhx;c:Lcom/mojang/serialization/MapCodec;
    • creatureSpawnProbability Link icon

      private final float creatureSpawnProbability
      Mappings:
      Namespace Name Mixin selector
      named creatureSpawnProbability Lnet/minecraft/world/biome/SpawnSettings;creatureSpawnProbability:F
      intermediary field_26404 Lnet/minecraft/class_5483;field_26404:F
      official f Ldhx;f:F
    • spawners Link icon

      private final Map<SpawnGroup,Pool<SpawnSettings.SpawnEntry>> spawners
      Mappings:
      Namespace Name Mixin selector
      named spawners Lnet/minecraft/world/biome/SpawnSettings;spawners:Ljava/util/Map;
      intermediary field_26405 Lnet/minecraft/class_5483;field_26405:Ljava/util/Map;
      official g Ldhx;g:Ljava/util/Map;
    • spawnCosts Link icon

      private final Map<EntityType<?>,SpawnSettings.SpawnDensity> spawnCosts
      Mappings:
      Namespace Name Mixin selector
      named spawnCosts Lnet/minecraft/world/biome/SpawnSettings;spawnCosts:Ljava/util/Map;
      intermediary field_26406 Lnet/minecraft/class_5483;field_26406:Ljava/util/Map;
      official h Ldhx;h:Ljava/util/Map;
  • Constructor Details Link icon

    • SpawnSettings Link icon

      SpawnSettings(float creatureSpawnProbability, Map<SpawnGroup,Pool<SpawnSettings.SpawnEntry>> spawners, Map<EntityType<?>,SpawnSettings.SpawnDensity> spawnCosts)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/biome/SpawnSettings;<init>(FLjava/util/Map;Ljava/util/Map;)V
      intermediary <init> Lnet/minecraft/class_5483;<init>(FLjava/util/Map;Ljava/util/Map;)V
      official <init> Ldhx;<init>(FLjava/util/Map;Ljava/util/Map;)V
  • Method Details Link icon

    • getSpawnEntries Link icon

      public Pool<SpawnSettings.SpawnEntry> getSpawnEntries(SpawnGroup spawnGroup)
      Mappings:
      Namespace Name Mixin selector
      named getSpawnEntries Lnet/minecraft/world/biome/SpawnSettings;getSpawnEntries(Lnet/minecraft/entity/SpawnGroup;)Lnet/minecraft/util/collection/Pool;
      intermediary method_31004 Lnet/minecraft/class_5483;method_31004(Lnet/minecraft/class_1311;)Lnet/minecraft/class_6012;
      official a Ldhx;a(Lbvl;)Lbqx;
    • getSpawnDensity Link icon

      @Nullable public @Nullable SpawnSettings.SpawnDensity getSpawnDensity(EntityType<?> entityType)
      Mappings:
      Namespace Name Mixin selector
      named getSpawnDensity Lnet/minecraft/world/biome/SpawnSettings;getSpawnDensity(Lnet/minecraft/entity/EntityType;)Lnet/minecraft/world/biome/SpawnSettings$SpawnDensity;
      intermediary method_31003 Lnet/minecraft/class_5483;method_31003(Lnet/minecraft/class_1299;)Lnet/minecraft/class_5483$class_5265;
      official a Ldhx;a(Lbut;)Ldhx$b;
    • getCreatureSpawnProbability Link icon

      public float getCreatureSpawnProbability()
      Mappings:
      Namespace Name Mixin selector
      named getCreatureSpawnProbability Lnet/minecraft/world/biome/SpawnSettings;getCreatureSpawnProbability()F
      intermediary method_31002 Lnet/minecraft/class_5483;method_31002()F
      official a Ldhx;a()F