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 Details

    • 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 Details

    • Spawners

      public Spawners(EntityType<?> p_i241950_1_, int p_i241950_2_, int p_i241950_3_, int p_i241950_4_)
  • Method Details