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 bvf$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 Lbvf$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 Lbvf$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 Lbvf$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
    • playerSpawnFriendly

      private boolean playerSpawnFriendly
      Mappings:
      Namespace Name Mixin selector
      official d Lbvf$a;d:Z
      intermediary field_26693 Lnet/minecraft/class_5483$class_5496;field_26693:Z
      named playerSpawnFriendly Lnet/minecraft/world/biome/SpawnSettings$Builder;playerSpawnFriendly:Z
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • spawn

      public SpawnSettings.Builder spawn​(SpawnGroup spawnGroup, SpawnSettings.SpawnEntry spawnEntry)
      Mappings:
      Namespace Name Mixin selector
      official a Lbvf$a;a(Lark;Lbvf$c;)Lbvf$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 Lbvf$a;a(Laqz;DD)Lbvf$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 Lbvf$a;a(F)Lbvf$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;
    • playerSpawnFriendly

      public SpawnSettings.Builder playerSpawnFriendly()
      Mappings:
      Namespace Name Mixin selector
      official a Lbvf$a;a()Lbvf$a;
      intermediary method_31083 Lnet/minecraft/class_5483$class_5496;method_31083()Lnet/minecraft/class_5483$class_5496;
      named playerSpawnFriendly Lnet/minecraft/world/biome/SpawnSettings$Builder;playerSpawnFriendly()Lnet/minecraft/world/biome/SpawnSettings$Builder;
    • build

      public SpawnSettings build()
      Mappings:
      Namespace Name Mixin selector
      official b Lbvf$a;b()Lbvf;
      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;