mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 04:02:06 -07:00
[ci-skip] Mention missing World#regenerateChunk implementation in jd (#12109)
* Mention missing impl * Clean the implementation out of years old code * Change the jd comment * Move to default method --------- Co-authored-by: Bjarne Koll <lynxplay101@gmail.com>
This commit is contained in:
@@ -476,12 +476,15 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
|
||||
* @param z Z-coordinate of the chunk
|
||||
* @return Whether the chunk was actually regenerated
|
||||
*
|
||||
* @throws UnsupportedOperationException not implemented
|
||||
* @deprecated regenerating a single chunk is not likely to produce the same
|
||||
* chunk as before as terrain decoration may be spread across chunks. It may
|
||||
* or may not change blocks in the adjacent chunks as well.
|
||||
*/
|
||||
@Deprecated(since = "1.13")
|
||||
public boolean regenerateChunk(int x, int z);
|
||||
@Deprecated(since = "1.13", forRemoval = true)
|
||||
default boolean regenerateChunk(int x, int z) {
|
||||
throw new UnsupportedOperationException("Not supported in this Minecraft version! This is not a bug.");
|
||||
}
|
||||
|
||||
/**
|
||||
* Resends the {@link Chunk} to all clients
|
||||
|
Reference in New Issue
Block a user