mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 21:33:49 -07:00
@@ -1,6 +1,6 @@
|
||||
--- a/net/minecraft/resources/ResourceKey.java
|
||||
+++ b/net/minecraft/resources/ResourceKey.java
|
||||
@@ -10,7 +10,7 @@
|
||||
@@ -9,7 +9,7 @@
|
||||
|
||||
public class ResourceKey<T> {
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
private final MinecraftKey registryName;
|
||||
private final MinecraftKey location;
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
@@ -28,7 +28,7 @@
|
||||
}
|
||||
|
||||
private static <T> ResourceKey<T> create(MinecraftKey minecraftkey, MinecraftKey minecraftkey1) {
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
return (ResourceKey) ResourceKey.VALUES.computeIfAbsent(s, (s1) -> {
|
||||
return new ResourceKey<>(minecraftkey, minecraftkey1);
|
||||
@@ -50,7 +50,7 @@
|
||||
@@ -49,7 +49,7 @@
|
||||
}
|
||||
|
||||
public <E> Optional<ResourceKey<E>> cast(ResourceKey<? extends IRegistry<E>> resourcekey) {
|
||||
|
Reference in New Issue
Block a user