Class ParticleOptions
java.lang.Object
org.spongepowered.api.effect.particle.ParticleOptions
An enumeration of all possible
ParticleOption
s in vanilla minecraft.-
Field Summary
Modifier and TypeFieldDescriptionstatic final DefaultedRegistryReference<ParticleOption<BlockState>>
This option will affect the appearance of a particle.static final DefaultedRegistryReference<ParticleOption<Color>>
This option will modify the color of a particle.static final DefaultedRegistryReference<ParticleOption<Direction>>
This option will change the direction of a particle.static final DefaultedRegistryReference<ParticleOption<ItemStackSnapshot>>
This option will affect the appearance of a particle.static final DefaultedRegistryReference<ParticleOption<Vector3d>>
This option will affect how all the particles are spread.static final DefaultedRegistryReference<ParticleOption<PotionEffectType>>
This option will change the potion type of a particle.static final DefaultedRegistryReference<ParticleOption<Integer>>
This option will affect the amount of particles that are spawned.static final DefaultedRegistryReference<ParticleOption<Double>>
This option will change the scale of a particle.static final DefaultedRegistryReference<ParticleOption<Vector3d>>
This option will affect how most particles are moving. -
Method Summary
-
Field Details
-
BLOCK_STATE
This option will affect the appearance of a particle. The only vanillaParticleType
s that this option is applicable to are: -
COLOR
This option will modify the color of a particle. The only vanillaParticleType
s this option is applicable to are: -
DIRECTION
This option will change the direction of a particle. -
ITEM_STACK_SNAPSHOT
public static final DefaultedRegistryReference<ParticleOption<ItemStackSnapshot>> ITEM_STACK_SNAPSHOTThis option will affect the appearance of a particle. The only vanillaParticleType
this option is applicable to are: -
OFFSET
This option will affect how all the particles are spread. -
POTION_EFFECT_TYPE
This option will change the potion type of a particle. The only vanillaParticleType
s this option is applicable to is -
QUANTITY
This option will affect the amount of particles that are spawned. The minimum amount of particles is 1. The only vanillaParticleType
s this option isn't applicable to are:The quantity must be at least 1, or a
IllegalArgumentException
will be thrown when applying. -
SCALE
This option will change the scale of a particle. The only vanillaParticleType
s this option is applicable to is:The scale may never be negative, or a
IllegalArgumentException
will be thrown when applying. -
VELOCITY
This option will affect how most particles are moving.
-
-
Method Details
-
registry
-