Skip to content

Commit bc8706f

Browse files
committed
add missing Particle options
ParticleTypes.BLOCK_CRUMBLE/TRAIL
1 parent 28bf8f1 commit bc8706f

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/main/java/org/spongepowered/api/effect/particle/ParticleOptions.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public final class ParticleOptions {
5959
* <li>{@link ParticleTypes#BLOCK_MARKER}</li>
6060
* <li>{@link ParticleTypes#DUST_PILLAR}</li>
6161
* <li>{@link ParticleTypes#FALLING_DUST}</li>
62+
* <li>{@link ParticleTypes#BLOCK_CRUMBLE}</li>
6263
* </ul>
6364
*/
6465
public static final DefaultedRegistryReference<ParticleOption<BlockState>> BLOCK_STATE = ParticleOptions.key(ResourceKey.sponge("block_state"));
@@ -71,6 +72,7 @@ public final class ParticleOptions {
7172
* <li>{@link ParticleTypes#ENTITY_EFFECT}</li>
7273
* <li>{@link ParticleTypes#DUST}</li>
7374
* <li>{@link ParticleTypes#DUST_COLOR_TRANSITION}</li>
75+
* <li>{@link ParticleTypes#TRAIL}</li>
7476
* </ul>
7577
*/
7678
public static final DefaultedRegistryReference<ParticleOption<Color>> COLOR = ParticleOptions.key(ResourceKey.sponge("color"));
@@ -158,6 +160,16 @@ public final class ParticleOptions {
158160
*/
159161
public static final DefaultedRegistryReference<ParticleOption<Double>> SCALE = ParticleOptions.key(ResourceKey.sponge("scale"));
160162

163+
/**
164+
* This option will affect the target of a particle
165+
* The only vanilla {@link ParticleType} this option is applicable to is:
166+
*
167+
* <ul>
168+
* <li>{@link ParticleTypes#TRAIL}</li>
169+
* </ul>
170+
*/
171+
public static final DefaultedRegistryReference<ParticleOption<Vector3d>> TARGET = ParticleOptions.key(ResourceKey.sponge("target"));
172+
161173
/**
162174
* This option will change the color the transition particle will change to.
163175
* The only vanilla {@link ParticleType} this option is applicable to is:
@@ -174,6 +186,7 @@ public final class ParticleOptions {
174186
*
175187
* <ul>
176188
* <li>{@link ParticleTypes#VIBRATION}</li>
189+
* <li>{@link ParticleTypes#TRAIL}</li>
177190
* </ul>
178191
*/
179192
public static final DefaultedRegistryReference<ParticleOption<Ticks>> TRAVEL_TIME = ParticleOptions.key(ResourceKey.sponge("travel_time"));

0 commit comments

Comments
 (0)