mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-21 15:54:45 +01:00
Further discourage World.regenerateChunk
By: md_5 <git@md-5.net>
This commit is contained in:
parent
e4de4d51ee
commit
45c470ee2a
1 changed files with 3 additions and 2 deletions
|
@ -267,8 +267,9 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
||||||
* @param z Z-coordinate of the chunk
|
* @param z Z-coordinate of the chunk
|
||||||
* @return Whether the chunk was actually regenerated
|
* @return Whether the chunk was actually regenerated
|
||||||
*
|
*
|
||||||
* @deprecated regenerating a single chunk is not guaranteed to produce the
|
* @deprecated regenerating a single chunk is not likely to produce the same
|
||||||
* same chunk as before as terrain decoration may be spread across chunks
|
* chunk as before as terrain decoration may be spread across chunks. Use of
|
||||||
|
* this method should be avoided as it is known to produce buggy results.
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public boolean regenerateChunk(int x, int z);
|
public boolean regenerateChunk(int x, int z);
|
||||||
|
|
Loading…
Add table
Reference in a new issue