Add force getter to ParticleBuilder (#6300)

This commit is contained in:
ChristopheG 2021-08-02 09:51:55 +02:00
parent fbc4b4ca6d
commit 73f9a698de

View File

@ -430,6 +430,13 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ }
+
+ /**
+ * @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.