Interface TrialSpawner

All Superinterfaces:
BlockEntity, CopyableDataHolder, DataHolder, DataHolder.Mutable, DataSerializable, Locatable, SerializableDataHolder, SerializableDataHolder.Mutable, ValueContainer

public interface TrialSpawner extends BlockEntity
Represents a Trial Spawner.
  • Method Details

    • spawnImmediately

      void spawnImmediately(boolean force)
      Trigger an immediate spawn of the next entity

      This will obey the restrictions of maximum simultaneous entities (Keys.SPAWN_COUNT) unless the force flag is set.

      Parameters:
      force - Whether to ignore spawning restrictions