mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-01 12:42:05 -07:00
Replace ConfiguredStructure api with Structure (#8642)
This commit is contained in:
@@ -90,23 +90,3 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ return this.key;
|
||||
+ }
|
||||
+}
|
||||
diff --git a/src/main/java/org/bukkit/UnsafeValues.java b/src/main/java/org/bukkit/UnsafeValues.java
|
||||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/UnsafeValues.java
|
||||
+++ b/src/main/java/org/bukkit/UnsafeValues.java
|
||||
@@ -0,0 +0,0 @@ public interface UnsafeValues {
|
||||
* Use this when sending custom packets, so that there are no collisions on the client or server.
|
||||
*/
|
||||
public int nextEntityId();
|
||||
+
|
||||
+ /**
|
||||
+ * Gets the server-backed registry for a type.
|
||||
+ *
|
||||
+ * @param classOfT type
|
||||
+ * @param <T> type
|
||||
+ * @return the server-backed registry
|
||||
+ * @throws IllegalArgumentException if there isn't a registry for that type
|
||||
+ */
|
||||
+ <T extends Keyed> @org.jetbrains.annotations.NotNull Registry<T> registryFor(Class<T> classOfT);
|
||||
// Paper end
|
||||
}
|
||||
|
Reference in New Issue
Block a user