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 delay.
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 TypeMethodDescriptiondelay(int delay) Selects a delay in ticks after which this particle should be displayed.booleanChecks if this particle is supported by this Spigot version.
-
Method Details
-
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
ParticleTypeobject 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.
-