public class EntityPortalEnterEvent extends EntityEvent
Event.Result
entity
构造器和说明 |
---|
EntityPortalEnterEvent(Entity entity,
Location location) |
限定符和类型 | 方法和说明 |
---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
Location |
getLocation()
获取实体接触的传送门方块.
|
getEntity, getEntityType
getEventName, isAsynchronous
public Location getLocation()
原文:Gets the portal block the entity is touching
public HandlerList getHandlers()
getHandlers
在类中 Event
public static HandlerList getHandlerList()