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<Integer>> This option will affect the delay of particles that are spawned.static final DefaultedRegistryReference
<ParticleOption<PositionSource>> This option will affect the destination 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<Double>> This option will affect the opacity 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 roll of a particle.static final DefaultedRegistryReference
<ParticleOption<Double>> This option will change the scale of a particle.static final DefaultedRegistryReference
<ParticleOption<Color>> This option will change the color the transition particle will change to.static final DefaultedRegistryReference
<ParticleOption<Ticks>> This option will change the travel time 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: -
DELAY
This option will affect the delay of particles that are spawned. The only vanillaParticleType
this option is applicable to is: -
DESTINATION
This option will affect the destination of a particle. The only vanillaParticleType
this option is applicable to is: -
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 is:The item stack snapshot may never be empty, or a
IllegalArgumentException
will be thrown when applying -
OFFSET
This option will affect how all the particles are spread. -
OPACITY
This option will affect the opacity of a particle. The only vanillaParticleType
this option is applicable to is:The opacity must be between 0 and 1, or a
IllegalArgumentException
will be thrown when applying. -
QUANTITY
This option will affect the amount of particles that are spawned.The quantity must be at least 1, or a
IllegalArgumentException
will be thrown when applying. -
ROLL
This option will change the roll of a particle. The only vanillaParticleType
this option is applicable to is: -
SCALE
This option will change the scale of a particle. The only vanillaParticleType
s this option is applicable to are:The scale may never be negative, or a
IllegalArgumentException
will be thrown when applying. -
TO_COLOR
This option will change the color the transition particle will change to. The only vanillaParticleType
this option is applicable to is: -
TRAVEL_TIME
This option will change the travel time of a particle. The only vanillaParticleType
this option is applicable to is: -
VELOCITY
This option will affect how most particles are moving.
-
-
Method Details
-
registry
-