Package net.minecraft.world.biome
Class SpawnSettings.Builder
java.lang.Object
net.minecraft.world.biome.SpawnSettings.Builder
- Enclosing class:
SpawnSettings
- Mappings:
Namespace Name official cnr$a
intermediary net/minecraft/class_5483$class_5496
named net/minecraft/world/biome/SpawnSettings$Builder
-
Field Summary
Modifier and TypeFieldDescriptionprivate float
private final Map<EntityType<?>,
SpawnSettings.SpawnDensity> private final Map<SpawnGroup,
List<SpawnSettings.SpawnEntry>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
creatureSpawnProbability
(float probability) spawn
(SpawnGroup spawnGroup, SpawnSettings.SpawnEntry spawnEntry) spawnCost
(EntityType<?> entityType, double mass, double gravityLimit)
-
Field Details
-
spawners
- Mappings:
Namespace Name Mixin selector official a
Lcnr$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
- Mappings:
Namespace Name Mixin selector official b
Lcnr$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
Lcnr$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
- Mappings:
Namespace Name Mixin selector official a
Lcnr$a;a(Lbga;Lcnr$c;)Lcnr$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
- Mappings:
Namespace Name Mixin selector official a
Lcnr$a;a(Lbfl;DD)Lcnr$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
- Mappings:
Namespace Name Mixin selector official a
Lcnr$a;a(F)Lcnr$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
- Mappings:
Namespace Name Mixin selector official a
Lcnr$a;a()Lcnr;
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;
-