Class EntitySpawnEvent

All Implemented Interfaces:
Cancellable

@PowerNukkitDifference(since="1.4.0.0-PN", info="Is cancellable only in PowerNukkit") public class EntitySpawnEvent extends EntityEvent implements Cancellable
Author:
MagicDroidX (Nukkit Project)
  • Constructor Details

    • EntitySpawnEvent

      public EntitySpawnEvent(Entity entity)
  • Method Details

    • getHandlers

      public static HandlerList getHandlers()
    • getPosition

      public Position getPosition()
    • getType

      public int getType()
    • isCreature

      public boolean isCreature()
    • isHuman

      public boolean isHuman()
    • isProjectile

      public boolean isProjectile()
    • isVehicle

      public boolean isVehicle()
    • isItem

      public boolean isItem()