Class SpawnSettings.Builder

java.lang.Object
net.minecraft.world.biome.SpawnSettings.Builder
Enclosing class:
SpawnSettings

public static class SpawnSettings.Builder extends Object
Mappings:
Namespace Name
official cva$a
intermediary net/minecraft/class_5483$class_5496
named net/minecraft/world/biome/SpawnSettings$Builder
  • Field Details

    • spawners

      private final Map<SpawnGroup,List<SpawnSettings.SpawnEntry>> spawners
      Mappings:
      Namespace Name Mixin selector
      official a Lcva$a;a:Ljava/util/Map;
      intermediary field_26647 Lnet/minecraft/class_5483$class_5496;field_26647:Ljava/util/Map;
      named spawners Lnet/minecraft/world/biome/SpawnSettings$Builder;spawners:Ljava/util/Map;
    • spawnCosts

      private final Map<EntityType<?>,SpawnSettings.SpawnDensity> spawnCosts
      Mappings:
      Namespace Name Mixin selector
      official b Lcva$a;b:Ljava/util/Map;
      intermediary field_26648 Lnet/minecraft/class_5483$class_5496;field_26648:Ljava/util/Map;
      named spawnCosts Lnet/minecraft/world/biome/SpawnSettings$Builder;spawnCosts:Ljava/util/Map;
    • creatureSpawnProbability

      private float creatureSpawnProbability
      Mappings:
      Namespace Name Mixin selector
      official c Lcva$a;c:F
      intermediary field_26649 Lnet/minecraft/class_5483$class_5496;field_26649:F
      named creatureSpawnProbability Lnet/minecraft/world/biome/SpawnSettings$Builder;creatureSpawnProbability:F
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • spawn

      public SpawnSettings.Builder spawn(SpawnGroup spawnGroup, SpawnSettings.SpawnEntry spawnEntry)
      Mappings:
      Namespace Name Mixin selector
      official a Lcva$a;a(Lbmo;Lcva$c;)Lcva$a;
      intermediary method_31011 Lnet/minecraft/class_5483$class_5496;method_31011(Lnet/minecraft/class_1311;Lnet/minecraft/class_5483$class_1964;)Lnet/minecraft/class_5483$class_5496;
      named spawn Lnet/minecraft/world/biome/SpawnSettings$Builder;spawn(Lnet/minecraft/entity/SpawnGroup;Lnet/minecraft/world/biome/SpawnSettings$SpawnEntry;)Lnet/minecraft/world/biome/SpawnSettings$Builder;
    • spawnCost

      public SpawnSettings.Builder spawnCost(EntityType<?> entityType, double mass, double gravityLimit)
      Mappings:
      Namespace Name Mixin selector
      official a Lcva$a;a(Lblz;DD)Lcva$a;
      intermediary method_31009 Lnet/minecraft/class_5483$class_5496;method_31009(Lnet/minecraft/class_1299;DD)Lnet/minecraft/class_5483$class_5496;
      named spawnCost Lnet/minecraft/world/biome/SpawnSettings$Builder;spawnCost(Lnet/minecraft/entity/EntityType;DD)Lnet/minecraft/world/biome/SpawnSettings$Builder;
    • creatureSpawnProbability

      public SpawnSettings.Builder creatureSpawnProbability(float probability)
      Mappings:
      Namespace Name Mixin selector
      official a Lcva$a;a(F)Lcva$a;
      intermediary method_31008 Lnet/minecraft/class_5483$class_5496;method_31008(F)Lnet/minecraft/class_5483$class_5496;
      named creatureSpawnProbability Lnet/minecraft/world/biome/SpawnSettings$Builder;creatureSpawnProbability(F)Lnet/minecraft/world/biome/SpawnSettings$Builder;
    • build

      public SpawnSettings build()
      Mappings:
      Namespace Name Mixin selector
      official a Lcva$a;a()Lcva;
      intermediary method_31007 Lnet/minecraft/class_5483$class_5496;method_31007()Lnet/minecraft/class_5483;
      named build Lnet/minecraft/world/biome/SpawnSettings$Builder;build()Lnet/minecraft/world/biome/SpawnSettings;