Commits

DerFrZocker authored be9826c6e78
Add commodore for particle
No tags
experimental

src/main/java/org/bukkit/entity/Player.java

Modified
2127 2127 * @param extra the extra data for this particle, depends on the
2128 2128 * particle used (normally speed)
2129 2129 * @param data the data to use for the particle or null,
2130 2130 * the type of this depends on {@link Particle#getDataType()}
2131 2131 * @param force whether to send the particle to the player in an extended
2132 2132 * range and encourage their client to render it regardless of
2133 2133 * settings
2134 2134 */
2135 2135 public <T> void spawnParticle(@NotNull Particle.Typed<T> particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double extra, @Nullable T data, boolean force);
2136 2136
2137 + /**
2138 + * Spawns the particle (the number of times specified by count)
2139 + * at the target location. The position of each particle will be
2140 + * randomized positively and negatively by the offset parameters
2141 + * on each axis.
2142 + *
2143 + * @param particle the particle to spawn
2144 + * @param location the location to spawn at
2145 + * @param count the number of particles
2146 + * @param offsetX the maximum random offset on the X axis
2147 + * @param offsetY the maximum random offset on the Y axis
2148 + * @param offsetZ the maximum random offset on the Z axis
2149 + * @param extra the extra data for this particle, depends on the
2150 + * particle used (normally speed)
2151 + * @param force whether to send the particle to the player in an extended
2152 + * range and encourage their client to render it regardless of
2153 + * settings
2154 + */
2155 + public void spawnParticle(@NotNull Particle particle, @NotNull Location location, int count, double offsetX, double offsetY, double offsetZ, double extra, boolean force);
2156 +
2157 + /**
2158 + * Spawns the particle (the number of times specified by count)
2159 + * at the target location. The position of each particle will be
2160 + * randomized positively and negatively by the offset parameters
2161 + * on each axis.
2162 + *
2163 + * @param particle the particle to spawn
2164 + * @param x the position on the x axis to spawn at
2165 + * @param y the position on the y axis to spawn at
2166 + * @param z the position on the z axis to spawn at
2167 + * @param count the number of particles
2168 + * @param offsetX the maximum random offset on the X axis
2169 + * @param offsetY the maximum random offset on the Y axis
2170 + * @param offsetZ the maximum random offset on the Z axis
2171 + * @param extra the extra data for this particle, depends on the
2172 + * particle used (normally speed)
2173 + * @param force whether to send the particle to the player in an extended
2174 + * range and encourage their client to render it regardless of
2175 + * settings
2176 + */
2177 + public void spawnParticle(@NotNull Particle particle, double x, double y, double z, int count, double offsetX, double offsetY, double offsetZ, double extra, boolean force);
2178 +
2137 2179 /**
2138 2180 * Return the player's progression on the specified advancement.
2139 2181 *
2140 2182 * @param advancement advancement
2141 2183 * @return object detailing the player's progress
2142 2184 */
2143 2185 @NotNull
2144 2186 public AdvancementProgress getAdvancementProgress(@NotNull Advancement advancement);
2145 2187
2146 2188 /**

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut