Interface ParticleTypeShriek


public interface ParticleTypeShriek

Class used to represent shriek particle type that takes a delay in ticks.

It provides a non-reflective of method overloads to construct ParticleType with selected item type.

All of methods does not validate parameters in any way.

IMPORTANT NOTE: All methods annotated with Shared annotation caches and returns exactly one and the same instance with changed state between method calls. For an independent copy of returned instances, check detachCopy methods on them.

See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    delay(int delay)
    Selects a delay in ticks after which this particle should be displayed.
    boolean
    Checks if this particle is supported by this Spigot version.
  • Method Details

    • delay

      ParticleType delay(int delay)

      Selects a delay in ticks after which this particle should be displayed.

      Parameters are not validated in any way.

      This method is overridden by dynamically generated subclasses.

      Parameters:
      delay - a delay in ticks of this particle's display.
      Returns:
      a valid ParticleType object with selected delay.
    • isPresent

      boolean isPresent()

      Checks if this particle is supported by this Spigot version.

      This method is overridden by dynamically generated subclasses.

      Returns:
      true if this particle is supported by this Spigot version, false otherwise.