Package net.minecraft.world.biome
Class SpawnSettings.SpawnEntry
java.lang.Object
net.minecraft.util.collection.Weighted.Absent
net.minecraft.world.biome.SpawnSettings.SpawnEntry
- All Implemented Interfaces:
Weighted
- Enclosing class:
SpawnSettings
- Mappings:
Namespace Name official cnp$c
intermediary net/minecraft/class_5483$class_1964
named net/minecraft/world/biome/SpawnSettings$SpawnEntry
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.util.collection.Weighted
Weighted.Absent, Weighted.Present<T>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<SpawnSettings.SpawnEntry>
final int
final int
final EntityType<?>
-
Constructor Summary
ConstructorDescriptionSpawnEntry
(EntityType<?> type, int weight, int minGroupSize, int maxGroupSize) SpawnEntry
(EntityType<?> type, Weight weight, int minGroupSize, int maxGroupSize) -
Method Summary
Methods inherited from class net.minecraft.util.collection.Weighted.Absent
getWeight
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lcnp$c;a:Lcom/mojang/serialization/Codec;
intermediary field_24681
Lnet/minecraft/class_5483$class_1964;field_24681:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/biome/SpawnSettings$SpawnEntry;CODEC:Lcom/mojang/serialization/Codec;
-
type
- Mappings:
Namespace Name Mixin selector official b
Lcnp$c;b:Lbfh;
intermediary field_9389
Lnet/minecraft/class_5483$class_1964;field_9389:Lnet/minecraft/class_1299;
named type
Lnet/minecraft/world/biome/SpawnSettings$SpawnEntry;type:Lnet/minecraft/entity/EntityType;
-
minGroupSize
public final int minGroupSize- Mappings:
Namespace Name Mixin selector official c
Lcnp$c;c:I
intermediary field_9388
Lnet/minecraft/class_5483$class_1964;field_9388:I
named minGroupSize
Lnet/minecraft/world/biome/SpawnSettings$SpawnEntry;minGroupSize:I
-
maxGroupSize
public final int maxGroupSize- Mappings:
Namespace Name Mixin selector official d
Lcnp$c;d:I
intermediary field_9387
Lnet/minecraft/class_5483$class_1964;field_9387:I
named maxGroupSize
Lnet/minecraft/world/biome/SpawnSettings$SpawnEntry;maxGroupSize:I
-
-
Constructor Details
-
SpawnEntry
- Mappings:
Namespace Name Mixin selector official <init>
Lcnp$c;<init>(Lbfh;III)V
intermediary <init>
Lnet/minecraft/class_5483$class_1964;<init>(Lnet/minecraft/class_1299;III)V
named <init>
Lnet/minecraft/world/biome/SpawnSettings$SpawnEntry;<init>(Lnet/minecraft/entity/EntityType;III)V
-
SpawnEntry
- Mappings:
Namespace Name Mixin selector official <init>
Lcnp$c;<init>(Lbfh;Lbcf;II)V
intermediary <init>
Lnet/minecraft/class_5483$class_1964;<init>(Lnet/minecraft/class_1299;Lnet/minecraft/class_6007;II)V
named <init>
Lnet/minecraft/world/biome/SpawnSettings$SpawnEntry;<init>(Lnet/minecraft/entity/EntityType;Lnet/minecraft/util/collection/Weight;II)V
-
-
Method Details