Class BaseSpawner

java.lang.Object
net.minecraft.world.level.BaseSpawner
All Implemented Interfaces:
IOwnedSpawner

public abstract class BaseSpawner extends Object implements IOwnedSpawner
  • Field Details

    • SPAWN_DATA_TAG

      public static final String SPAWN_DATA_TAG
      See Also:
    • LOGGER

      private static final org.slf4j.Logger LOGGER
    • EVENT_SPAWN

      private static final int EVENT_SPAWN
      See Also:
    • spawnDelay

      private int spawnDelay
    • spawnPotentials

      private SimpleWeightedRandomList<SpawnData> spawnPotentials
    • nextSpawnData

      @Nullable private SpawnData nextSpawnData
    • spin

      private double spin
    • oSpin

      private double oSpin
    • minSpawnDelay

      private int minSpawnDelay
    • maxSpawnDelay

      private int maxSpawnDelay
    • spawnCount

      private int spawnCount
    • displayEntity

      @Nullable private Entity displayEntity
    • maxNearbyEntities

      private int maxNearbyEntities
    • requiredPlayerRange

      private int requiredPlayerRange
    • spawnRange

      private int spawnRange
  • Constructor Details

    • BaseSpawner

      public BaseSpawner()
  • Method Details