Package net.minecraft.world.biome
Class MobSpawnInfo.Spawners
- java.lang.Object
-
- net.minecraft.util.WeightedRandom.Item
-
- net.minecraft.world.biome.MobSpawnInfo.Spawners
-
- Enclosing class:
- MobSpawnInfo
public static class MobSpawnInfo.Spawners extends WeightedRandom.Item
-
-
Field Summary
Fields Modifier and Type Field Description static com.mojang.serialization.Codec<MobSpawnInfo.Spawners>
CODEC
int
maxCount
int
minCount
EntityType<?>
type
-
Fields inherited from class net.minecraft.util.WeightedRandom.Item
weight
-
-
Constructor Summary
Constructors Constructor Description Spawners(EntityType<?> p_i241950_1_, int p_i241950_2_, int p_i241950_3_, int p_i241950_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
-
-
-
Field Detail
-
CODEC
public static final com.mojang.serialization.Codec<MobSpawnInfo.Spawners> CODEC
-
type
public final EntityType<?> type
-
minCount
public final int minCount
-
maxCount
public final int maxCount
-
-
Constructor Detail
-
Spawners
public Spawners(EntityType<?> p_i241950_1_, int p_i241950_2_, int p_i241950_3_, int p_i241950_4_)
-
-