EntityCreatePortalEvent
EntityCreatePortalEvent
=> org.bukkit.event.Event
=> org.bukkit.event.entity.EntityEvent
=> org.bukkit.event.entity.EntityCreatePortalEvent
Thrown when a Living Entity creates a portal in a world.@deprecated Use {@link PortalCreateEvent}当某生物创建传送门时触发。@deprecated 本事件已过时,请监听PortalCreateEvent
。
方法声明: public LivingEntity getEntity()
方法签名: ()Lorg/bukkit/entity/LivingEntity;
译注:请使用PortalCreateEvent
。本事件已经过时。
方法声明: public List getBlocks()
方法签名: ()Ljava/util/List;
Gets a list of all blocks associated with the portal.@return List of blocks that will be changed.译注:请使用PortalCreateEvent
。本事件已经过时。
方法声明: public boolean isCancelled()
方法签名: ()Z
方法声明: public void setCancelled(boolean cancel)
方法签名: (Z)V
方法声明: public PortalType getPortalType()
方法签名: ()Lorg/bukkit/PortalType;
Gets the type of portal that is trying to be created.@return Type of portal.译注:请使用PortalCreateEvent
。本事件已经过时。
方法声明: public HandlerList getHandlers()
方法签名: ()Lorg/bukkit/event/HandlerList;
方法声明: public static HandlerList getHandlerList()
方法签名: ()Lorg/bukkit/event/HandlerList;
Last modified 1mo ago