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