public class ParticleTypeItemMotion
extends java.lang.Object
Class used to represent item particle type that needs an item type.
It provides a non-reflective of method overloads
to construct ParticleTypeMotion with selected item type.
All of methods does not validate parameters in any way.
ParticleTypeMotion| Constructor and Description |
|---|
ParticleTypeItemMotion() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid()
Checks if this particle is supported by this Spigot version.
|
ParticleTypeMotion |
of(org.bukkit.Material item)
Selects an item this particle should represents.
|
public ParticleTypeMotion of(org.bukkit.Material item)
Selects an item this particle should represents.
Parameters are not validated in any way.
This method is overridden by dynamically generated subclasses.
item - a Material object representing
desired item type.ParticleTypeMotion object with selected
item type.public boolean isValid()
Checks if this particle is supported by this Spigot version.
This method is overridden by dynamically generated subclasses.
Copyright © 2020. All Rights Reserved.