Code Generation for TypedKeys (#9233)
Currently includes generated key holder classes for types used in the Registry Modification API
This commit is contained in:
parent
e1cd9e59e5
commit
96d5e6ca48
456 changed files with 2073 additions and 17 deletions
21
patches/api/0347-Implement-regenerateChunk.patch
Normal file
21
patches/api/0347-Implement-regenerateChunk.patch
Normal file
|
@ -0,0 +1,21 @@
|
|||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
||||
From: Nassim Jahnke <nassim@njahnke.dev>
|
||||
Date: Sat, 5 Feb 2022 20:25:28 +0100
|
||||
Subject: [PATCH] Implement regenerateChunk
|
||||
|
||||
|
||||
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java
|
||||
index ec46baeeaed183e3e2565f98d6a3fcafd972e0bc..1825b5f08c2a5bb3fd41ecabf60285400ad78c9c 100644
|
||||
--- a/src/main/java/org/bukkit/World.java
|
||||
+++ b/src/main/java/org/bukkit/World.java
|
||||
@@ -484,8 +484,8 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient
|
||||
* @return Whether the chunk was actually regenerated
|
||||
*
|
||||
* @deprecated regenerating a single chunk is not likely to produce the same
|
||||
- * 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.
|
||||
+ * 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
|
||||
public boolean regenerateChunk(int x, int z);
|
Loading…
Add table
Add a link
Reference in a new issue