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 this event is cancelled, the entity will not spawn.

  • Constructor Details

    • TrialSpawnerSpawnEvent

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

    • getTrialSpawner

      @NotNull public @NotNull TrialSpawner getTrialSpawner()