SlimeSplitEvent
SlimeSplitEvent
=> org.bukkit.event.Event
=> org.bukkit.event.entity.EntityEvent
=> org.bukkit.event.entity.SlimeSplitEvent
Called when a Slime splits into smaller Slimes upon death当史莱姆死亡,分裂出体型较小的史莱姆时触发。
方法声明: public boolean isCancelled()
方法签名: ()Z
方法声明: public void setCancelled(boolean cancel)
方法签名: (Z)V
方法声明: public Slime getEntity()
方法签名: ()Lorg/bukkit/entity/Slime;
译注:无文档。该方法用于获取死亡的史莱姆。
方法声明: public int getCount()
方法签名: ()I
Gets the amount of smaller slimes to spawn@return the amount of slimes to spawn该方法用于获取将要生成的体型较小的史莱姆的数量。@return 将要生成的体型较小的史莱姆的数量。
方法声明: public void setCount(int count)
方法签 名: (I)V
Sets how many smaller slimes will spawn on the split@param count the amount of slimes to spawn该方法用于设置将要生成的体型较小的史莱姆的数量。@param count 将要生成的体型较小的史莱姆的数量。
方法声明: public HandlerList getHandlers()
方法签名: ()Lorg/bukkit/event/HandlerList;
方法声明: public static HandlerList getHandlerList()
方法签名: ()Lorg/bukkit/event/HandlerList;
Last modified 1mo ago