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
named net/minecraft/world/biome/SpawnSettings$Builder
intermediary net/minecraft/class_5483$class_5496
official deg$a
  • Field Details

    • spawners

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

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

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

    • Builder

      public Builder()
  • Method Details

    • spawn

      public SpawnSettings.Builder spawn(SpawnGroup spawnGroup, SpawnSettings.SpawnEntry spawnEntry)
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official a Ldeg$a;a(Lbto;Ldeg$c;)Ldeg$a;
    • spawnCost

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

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

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