public class EntitySpawnEvent extends EntityEvent
entity| Constructor and Description |
|---|
EntitySpawnEvent(Entity entity) |
| Modifier and Type | Method and Description |
|---|---|
static HandlerList |
getHandlers() |
Location |
getLocation() |
EntityType<?> |
getType() |
boolean |
isCreature() |
boolean |
isHuman() |
boolean |
isItem() |
boolean |
isProjectile() |
boolean |
isVehicle() |
getEntitygetEventName, isCancelled, setCancelled, setCancelledpublic EntitySpawnEvent(Entity entity)
public static HandlerList getHandlers()
public Location getLocation()
public EntityType<?> getType()
public boolean isCreature()
public boolean isHuman()
public boolean isProjectile()
public boolean isVehicle()
public boolean isItem()
Copyright © 2020. All rights reserved.