Interface Firework

All Superinterfaces:
CommandSender, Entity, Metadatable, Permissible, ServerOperator

public interface Firework
extends Entity
  • Method Details

    • getFireworkMeta

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

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

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