public final class ParticleOptions extends Object
ParticleOptions in vanilla minecraft.| Modifier and Type | Field and Description |
|---|---|
static ParticleOption<BlockState> |
BLOCK_STATE
This option will affect the appearance of a particle.
|
static ParticleOption<Color> |
COLOR
This option will modify the color of a particle.
|
static ParticleOption<Direction> |
DIRECTION
This option will change the direction of a particle.
|
static ParticleOption<List<FireworkEffect>> |
FIREWORK_EFFECTS
This option will modify the color of a particle.
|
static ParticleOption<ItemStackSnapshot> |
ITEM_STACK_SNAPSHOT
This option will affect the appearance of a particle.
|
static ParticleOption<NotePitch> |
NOTE
This option will affect the appearance of a particle.
|
static ParticleOption<com.flowpowered.math.vector.Vector3d> |
OFFSET
This option will affect how all the particles are spread.
|
static ParticleOption<PotionEffectType> |
POTION_EFFECT_TYPE
This option will change the potion type of a particle.
|
static ParticleOption<Integer> |
QUANTITY
This option will affect the amount of particles that are spawned.
|
static ParticleOption<Double> |
SCALE
This option will change the scale of a particle.
|
static ParticleOption<Boolean> |
SLOW_HORIZONTAL_VELOCITY
This option will affect whether a particle type will have a lower
velocity in the horizontal plane.
|
static ParticleOption<com.flowpowered.math.vector.Vector3d> |
VELOCITY
This option will affect how all the particles are moving.
|
public static final ParticleOption<BlockState> BLOCK_STATE
ParticleTypes that this option is applicable to are:
public static final ParticleOption<Color> COLOR
ParticleTypes this option is applicable to are:
public static final ParticleOption<Direction> DIRECTION
public static final ParticleOption<List<FireworkEffect>> FIREWORK_EFFECTS
ParticleTypes this option is applicable to is
ParticleTypes.FIREWORKS.
The List may never be empty. Or a IllegalArgumentException
will be thrown when applying.
public static final ParticleOption<ItemStackSnapshot> ITEM_STACK_SNAPSHOT
ParticleType this option is applicable to are:
public static final ParticleOption<NotePitch> NOTE
ParticleType this option is applicable to is
ParticleTypes.NOTE.public static final ParticleOption<com.flowpowered.math.vector.Vector3d> OFFSET
public static final ParticleOption<PotionEffectType> POTION_EFFECT_TYPE
ParticleTypes this option is applicable to is
ParticleTypes.SPLASH_POTION.public static final ParticleOption<Integer> QUANTITY
ParticleTypes
this option isn't applicable to are:
ParticleTypes.BREAK_BLOCKParticleTypes.ENDER_TELEPORTParticleTypes.FIRE_SMOKEParticleTypes.FIREWORKSParticleTypes.MOBSPAWNER_FLAMESParticleTypes.SPLASH_POTIONThe quantity must be at least 1, or a IllegalArgumentException
will be thrown when applying.
public static final ParticleOption<Double> SCALE
ParticleTypes this option is applicable to are:
The scale may never be negative, or a IllegalArgumentException
will be thrown when applying.
public static final ParticleOption<Boolean> SLOW_HORIZONTAL_VELOCITY
ParticleTypes
that this option will affect are:
These particle types don't have a configurable velocity (through
VELOCITY) in the horizontal plane.
public static final ParticleOption<com.flowpowered.math.vector.Vector3d> VELOCITY