Skip to content

Latest commit

 

History

History
126 lines (126 loc) · 5.97 KB

cn.nukkit.event.entity.CreeperPowerEvent.md

File metadata and controls

126 lines (126 loc) · 5.97 KB
    • Nested Class Summary

      Nested Classes 
      修饰符和类 Class and Description
      static class  CreeperPowerEvent.PowerCause
      An enum to specify the cause of the change in power
  • 成员变量一览

    • 继承自类 cn.nukkit.event.entity.EntityEvent

      entity
    • 继承自类 cn.nukkit.event.Event

      eventName
  • 构造函数一览

    构造函数 
    构造函数描述
    CreeperPowerEvent(EntityCreeper creeper, CreeperPowerEvent.PowerCause cause) 
    CreeperPowerEvent(EntityCreeper creeper, EntityLightningStrike bolt, CreeperPowerEvent.PowerCause cause) 
  • 成员函数一览

    All Methods Static Methods Instance Methods Concrete Methods 
    修饰符和类 成员函数描述
    CreeperPowerEvent.PowerCause getCause()
    Gets the cause of the creeper being (un)powered.
    EntityCreeper getEntity() 
    static HandlerList getHandlers() 
    EntityLightningStrike getLightning()
    Gets the lightning bolt which is striking the Creeper.
    • 继承自类 cn.nukkit.event.Event

      getEventName, isCancelled, setCancelled, setCancelled
    • 继承自类 java.lang.Object

      clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 继承自接口 cn.nukkit.event.Cancellable

      isCancelled, setCancelled, setCancelled