接口 Firework

所有超级接口:
CommandSender, Entity, Metadatable, Nameable, Permissible, ServerOperator

public interface Firework extends Entity
  • 方法详细资料

    • getFireworkMeta

      FireworkMeta getFireworkMeta()
      Get a copy of the fireworks meta
      返回:
      A copy of the current Firework meta
    • setFireworkMeta

      void setFireworkMeta(FireworkMeta meta)
      Apply the provided meta to the fireworks
      参数:
      meta - The FireworkMeta to apply
    • detonate

      void detonate()
      Cause this firework to explode at earliest opportunity, as if it has no remaining fuse.