mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-07 08:47:35 +01:00
Deprecate and add note to regenerateChunk method
By: md_5 <git@md-5.net>
This commit is contained in:
parent
61df111039
commit
1a6f5b7b2c
@ -254,7 +254,11 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
|||||||
* @param x X-coordinate of the chunk
|
* @param x X-coordinate of the chunk
|
||||||
* @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
|
||||||
|
* same chunk as before as terrain decoration may be spread across chunks
|
||||||
*/
|
*/
|
||||||
|
@Deprecated
|
||||||
public boolean regenerateChunk(int x, int z);
|
public boolean regenerateChunk(int x, int z);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user