Package net.minecraft.world.biome
Class SpawnSettings
java.lang.Object
net.minecraft.world.biome.SpawnSettings
- Mappings:
Namespace Name official cif
intermediary net/minecraft/class_5483
named net/minecraft/world/biome/SpawnSettings
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
Embodies the density limit information of a type of entity in entity spawning logic.static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<SpawnSettings>
private final float
static final Pool<SpawnSettings.SpawnEntry>
private static final float
static final SpawnSettings
private static final org.slf4j.Logger
private final Map<EntityType<?>,
SpawnSettings.SpawnDensity> private final Map<SpawnGroup,
Pool<SpawnSettings.SpawnEntry>> -
Constructor Summary
ConstructorDescriptionSpawnSettings
(float creatureSpawnProbability, Map<SpawnGroup, Pool<SpawnSettings.SpawnEntry>> spawners, Map<EntityType<?>, SpawnSettings.SpawnDensity> spawnCosts) -
Method Summary
Modifier and TypeMethodDescriptionfloat
getSpawnDensity
(EntityType<?> entityType) getSpawnEntries
(SpawnGroup spawnGroup)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER- Mappings:
Namespace Name Mixin selector official d
Lcif;d:Lorg/slf4j/Logger;
intermediary field_26645
Lnet/minecraft/class_5483;field_26645:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/world/biome/SpawnSettings;LOGGER:Lorg/slf4j/Logger;
-
field_30983
private static final float field_30983- See Also:
- Mappings:
Namespace Name Mixin selector official e
Lcif;e:F
intermediary field_30983
Lnet/minecraft/class_5483;field_30983:F
named field_30983
Lnet/minecraft/world/biome/SpawnSettings;field_30983:F
-
EMPTY_ENTRY_POOL
- Mappings:
Namespace Name Mixin selector official a
Lcif;a:Layx;
intermediary field_30982
Lnet/minecraft/class_5483;field_30982:Lnet/minecraft/class_6012;
named EMPTY_ENTRY_POOL
Lnet/minecraft/world/biome/SpawnSettings;EMPTY_ENTRY_POOL:Lnet/minecraft/util/collection/Pool;
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official b
Lcif;b:Lcif;
intermediary field_26646
Lnet/minecraft/class_5483;field_26646:Lnet/minecraft/class_5483;
named INSTANCE
Lnet/minecraft/world/biome/SpawnSettings;INSTANCE:Lnet/minecraft/world/biome/SpawnSettings;
-
CODEC
- Mappings:
Namespace Name Mixin selector official c
Lcif;c:Lcom/mojang/serialization/MapCodec;
intermediary field_26403
Lnet/minecraft/class_5483;field_26403:Lcom/mojang/serialization/MapCodec;
named CODEC
Lnet/minecraft/world/biome/SpawnSettings;CODEC:Lcom/mojang/serialization/MapCodec;
-
creatureSpawnProbability
private final float creatureSpawnProbability- Mappings:
Namespace Name Mixin selector official f
Lcif;f:F
intermediary field_26404
Lnet/minecraft/class_5483;field_26404:F
named creatureSpawnProbability
Lnet/minecraft/world/biome/SpawnSettings;creatureSpawnProbability:F
-
spawners
- Mappings:
Namespace Name Mixin selector official g
Lcif;g:Ljava/util/Map;
intermediary field_26405
Lnet/minecraft/class_5483;field_26405:Ljava/util/Map;
named spawners
Lnet/minecraft/world/biome/SpawnSettings;spawners:Ljava/util/Map;
-
spawnCosts
- Mappings:
Namespace Name Mixin selector official h
Lcif;h:Ljava/util/Map;
intermediary field_26406
Lnet/minecraft/class_5483;field_26406:Ljava/util/Map;
named spawnCosts
Lnet/minecraft/world/biome/SpawnSettings;spawnCosts:Ljava/util/Map;
-
-
Constructor Details
-
SpawnSettings
SpawnSettings(float creatureSpawnProbability, Map<SpawnGroup, Pool<SpawnSettings.SpawnEntry>> spawners, Map<EntityType<?>, SpawnSettings.SpawnDensity> spawnCosts) - Mappings:
Namespace Name Mixin selector official <init>
Lcif;<init>(FLjava/util/Map;Ljava/util/Map;)V
intermediary <init>
Lnet/minecraft/class_5483;<init>(FLjava/util/Map;Ljava/util/Map;)V
named <init>
Lnet/minecraft/world/biome/SpawnSettings;<init>(FLjava/util/Map;Ljava/util/Map;)V
-
-
Method Details
-
getSpawnEntries
- Mappings:
Namespace Name Mixin selector official a
Lcif;a(Lbcf;)Layx;
intermediary method_31004
Lnet/minecraft/class_5483;method_31004(Lnet/minecraft/class_1311;)Lnet/minecraft/class_6012;
named getSpawnEntries
Lnet/minecraft/world/biome/SpawnSettings;getSpawnEntries(Lnet/minecraft/entity/SpawnGroup;)Lnet/minecraft/util/collection/Pool;
-
getSpawnDensity
- Mappings:
Namespace Name Mixin selector official a
Lcif;a(Lbbr;)Lcif$b;
intermediary method_31003
Lnet/minecraft/class_5483;method_31003(Lnet/minecraft/class_1299;)Lnet/minecraft/class_5483$class_5265;
named getSpawnDensity
Lnet/minecraft/world/biome/SpawnSettings;getSpawnDensity(Lnet/minecraft/entity/EntityType;)Lnet/minecraft/world/biome/SpawnSettings$SpawnDensity;
-
getCreatureSpawnProbability
public float getCreatureSpawnProbability()- Mappings:
Namespace Name Mixin selector official a
Lcif;a()F
intermediary method_31002
Lnet/minecraft/class_5483;method_31002()F
named getCreatureSpawnProbability
Lnet/minecraft/world/biome/SpawnSettings;getCreatureSpawnProbability()F
-