diff --git a/patches/api/0099-Expand-World.spawnParticle-API-and-add-Builder.patch b/patches/api/0099-Expand-World.spawnParticle-API-and-add-Builder.patch index da01d6d5c3..7c8d3e22c2 100644 --- a/patches/api/0099-Expand-World.spawnParticle-API-and-add-Builder.patch +++ b/patches/api/0099-Expand-World.spawnParticle-API-and-add-Builder.patch @@ -10,10 +10,10 @@ This adds a new Builder API which is much friendlier to use. diff --git a/src/main/java/com/destroystokyo/paper/ParticleBuilder.java b/src/main/java/com/destroystokyo/paper/ParticleBuilder.java new file mode 100644 -index 0000000000000000000000000000000000000000..06f1602f5b327705f726d0a99dd6b95e1554d382 +index 0000000000000000000000000000000000000000..f45b8cfd1611345e8d81ecb8297a586f05eb5dc6 --- /dev/null +++ b/src/main/java/com/destroystokyo/paper/ParticleBuilder.java -@@ -0,0 +1,478 @@ +@@ -0,0 +1,485 @@ +package com.destroystokyo.paper; + +import com.google.common.collect.Lists; @@ -430,6 +430,13 @@ index 0000000000000000000000000000000000000000..06f1602f5b327705f726d0a99dd6b95e + } + + /** ++ * @return whether the particle is forcefully shown to players. ++ */ ++ public boolean force() { ++ return force; ++ } ++ ++ /** + * Sets whether the particle is forcefully shown to the player. If forced, the particle will show + * faraway, as far as the player's view distance allows. If false, the particle will show + * according to the client's particle settings.