接口的使用
org.bukkit.entity.LightningStrike
-
org.bukkit中LightningStrike的使用
修饰符和类型方法说明World.Spigot.strikeLightning
(@NotNull Location loc, boolean isSilent) 已过时。sound is now client side and cannot be removedWorld.strikeLightning
(@NotNull Location loc) 在指定的位置
劈下闪电.World.Spigot.strikeLightningEffect
(@NotNull Location loc, boolean isSilent) 已过时。sound is now client side and cannot be removedWorld.strikeLightningEffect
(@NotNull Location loc) 在指定的位置
劈下不会造成伤害的闪电. -
org.bukkit.event.entity中LightningStrike的使用
修饰符和类型方法说明CreeperPowerEvent.getLightning()
返回击中爬行者的闪电PigZapEvent.getLightning()
Gets the bolt which is striking the pig.限定符构造器说明CreeperPowerEvent
(@NotNull Creeper creeper, @NotNull LightningStrike bolt, @NotNull CreeperPowerEvent.PowerCause cause) PigZapEvent
(@NotNull Pig pig, @NotNull LightningStrike bolt, @NotNull PigZombie pigzombie) -
org.bukkit.event.weather中LightningStrike的使用
限定符构造器说明LightningStrikeEvent
(@NotNull World world, @NotNull LightningStrike bolt) 已过时。LightningStrikeEvent
(@NotNull World world, @NotNull LightningStrike bolt, @NotNull LightningStrikeEvent.Cause cause)