Class MobSpawnSettings.SpawnerData

java.lang.Object
net.minecraft.util.random.WeightedEntry.IntrusiveBase
net.minecraft.world.level.biome.MobSpawnSettings.SpawnerData
All Implemented Interfaces:
WeightedEntry
Enclosing class:
MobSpawnSettings

public static class MobSpawnSettings.SpawnerData extends WeightedEntry.IntrusiveBase
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<MobSpawnSettings.SpawnerData> CODEC
    • type

      public final EntityType<?> type
    • minCount

      public final int minCount
    • maxCount

      public final int maxCount
  • Constructor Details

    • SpawnerData

      public SpawnerData(EntityType<?> p_48409_, int p_48410_, int p_48411_, int p_48412_)
    • SpawnerData

      public SpawnerData(EntityType<?> p_151815_, Weight p_151816_, int p_151817_, int p_151818_)
  • Method Details