Interface FireworkEffectMeta

    • Method Detail

      • setEffect

        void setEffect​(@Nullable
                       @Nullable FireworkEffect effect)
        Sets the firework effect for this meta.
        Parameters:
        effect - the effect to set, or null to indicate none.
      • hasEffect

        boolean hasEffect()
        Checks if this meta has an effect.
        Returns:
        true if this meta has an effect, false otherwise
      • getEffect

        @Nullable
        @Nullable FireworkEffect getEffect()
        Gets the firework effect for this meta.
        Returns:
        the current effect, or null if none