Class PhantomPreSpawnEvent

All Implemented Interfaces:
Cancellable

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

  • Method Details

    • getSpawningEntity

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