public static class SpawnSettings.SpawnEntry extends WeightedPicker.Entry
Modifier and Type | Field and Description |
---|---|
static com.mojang.serialization.Codec<SpawnSettings.SpawnEntry> |
CODEC |
int |
maxGroupSize |
int |
minGroupSize |
EntityType<?> |
type |
weight
Constructor and Description |
---|
SpawnEntry(EntityType<?> type,
int weight,
int minGroupSize,
int maxGroupSize) |
public static final com.mojang.serialization.Codec<SpawnSettings.SpawnEntry> CODEC
public final EntityType<?> type
public final int minGroupSize
public final int maxGroupSize
public SpawnEntry(EntityType<?> type, int weight, int minGroupSize, int maxGroupSize)