Commits
md_5 authored 5bfe821f3d5
276 276 | * @return Whether the chunk was actually regenerated |
277 277 | */ |
278 278 | public boolean regenerateChunk(int x, int z); |
279 279 | |
280 280 | /** |
281 281 | * Resends the {@link Chunk} to all clients |
282 282 | * |
283 283 | * @param x X-coordinate of the chunk |
284 284 | * @param z Z-coordinate of the chunk |
285 285 | * @return Whether the chunk was actually refreshed |
286 + | * |
287 + | * @deprecated This method is not guaranteed to work suitably across all client implementations. |
286 288 | */ |
289 + | |
287 290 | public boolean refreshChunk(int x, int z); |
288 291 | |
289 292 | /** |
290 293 | * Drops an item at the specified {@link Location} |
291 294 | * |
292 295 | * @param location Location to drop the item |
293 296 | * @param item ItemStack to drop |
294 297 | * @return ItemDrop entity created as a result of this method |
295 298 | */ |
296 299 | public Item dropItem(Location location, ItemStack item); |