mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-14 11:45:52 -07:00
Deprecate and add note to regenerateChunk method
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -254,7 +254,11 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
||||
* @param x X-coordinate of the chunk
|
||||
* @param z Z-coordinate of the chunk
|
||||
* @return Whether the chunk was actually regenerated
|
||||
*
|
||||
* @deprecated regenerating a single chunk is not guaranteed to produce the
|
||||
* same chunk as before as terrain decoration may be spread across chunks
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean regenerateChunk(int x, int z);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user