public class ParticleTypeSculkChargeMotion extends Object
Class used to represent sculk charge particle type that takes a roll parameter.
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 |
|---|
ParticleTypeSculkChargeMotion() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValid()
Checks if this particle is supported by this Spigot version.
|
ParticleTypeMotion |
roll(double roll)
Selects roll angle this particle should be rotated.
|
public ParticleTypeMotion roll(double roll)
Selects roll angle this particle should be rotated. An angle is in radians and will rotate particle clockwise
Parameters are not validated in any way.
This method is overridden by dynamically generated subclasses.
roll - angle in radians by which to rotate particle clockwise.ParticleTypeMotion object with selected
roll angle.public boolean isValid()
Checks if this particle is supported by this Spigot version.
This method is overridden by dynamically generated subclasses.
Copyright © 2022. All Rights Reserved.