Class PhantomPreSpawnEvent

All Implemented Interfaces:
Cancellable

@NullMarked public class PhantomPreSpawnEvent extends PreCreatureSpawnEvent
Called when a phantom is spawned for an exhausted player
Since:
1.13.1
  • Constructor Details

  • Method Details

    • getSpawningEntity

      public Entity getSpawningEntity()
      Get the entity this phantom is spawning for
      Returns:
      the Entity
      Since:
      1.13.1