Class TrialSpawnerSpawnEvent

All Implemented Interfaces:
Cancellable

@Experimental public class TrialSpawnerSpawnEvent extends EntitySpawnEvent
Called when an entity is spawned into a world by a trial spawner.

If a Trial Spawner Spawn event is cancelled, the entity will not spawn.

  • Constructor Details

    • TrialSpawnerSpawnEvent

      public TrialSpawnerSpawnEvent(@NotNull Entity spawnee, @NotNull TrialSpawner spawner)
  • Method Details

    • getTrialSpawner

      @NotNull public TrialSpawner getTrialSpawner()