public class RegistryHelper
extends java.lang.Object
| Constructor and Description |
|---|
RegistryHelper() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
compareKeys(net.minecraft.util.RegistryKey<?> a,
net.minecraft.util.RegistryKey<?> b) |
static <T> net.minecraft.util.RegistryKey<T> |
getKey(net.minecraft.util.RegistryKey<net.minecraft.util.registry.Registry<T>> registry,
net.minecraft.util.ResourceLocation resourceLocation) |
static <T> net.minecraft.util.RegistryKey<T> |
getKey(net.minecraft.util.RegistryKey<net.minecraft.util.registry.Registry<T>> registry,
java.lang.String resourceLocation) |
public static boolean compareKeys(net.minecraft.util.RegistryKey<?> a,
net.minecraft.util.RegistryKey<?> b)
public static <T> net.minecraft.util.RegistryKey<T> getKey(net.minecraft.util.RegistryKey<net.minecraft.util.registry.Registry<T>> registry,
java.lang.String resourceLocation)
public static <T> net.minecraft.util.RegistryKey<T> getKey(net.minecraft.util.RegistryKey<net.minecraft.util.registry.Registry<T>> registry,
net.minecraft.util.ResourceLocation resourceLocation)