net.minecraft.resources

public class ResourceKey<T>

vj
net.minecraft.resources.ResourceKey
net.minecraft.class_5321
net.minecraft.unmapped.C_xhhleach
net.minecraft.util.registry.RegistryKey
net.minecraft.util.RegistryKey
net.minecraft.server.v1_16_R3.ResourceKey

Field summary

Modifier and TypeField
private static final Map<String, ResourceKey<?>>
a
VALUES
field_25136
f_nlfborlo
INSTANCES
field_240898_a_
private final ResourceLocation
b
registryName
field_25137
f_olufpthr
registry
field_240899_b_
private final ResourceLocation
c
location
field_25138
f_jevzsdmx
value
field_240900_c_

Constructor summary

ModifierConstructor
private (ResourceLocation registry, ResourceLocation value)

Method summary

Modifier and TypeMethod
public static <T> ResourceKey<T>
a(vj<? extends gm<T>> arg0, vk arg1)
create(ResourceKey<? extends Registry<T>> arg0, ResourceLocation arg1)
method_29179(class_5321<? extends class_2378<T>> arg0, class_2960 arg1)
m_fvrtwzrl(C_xhhleach<? extends C_tqxyjqsk<T>> arg0, C_ncpywfca arg1)
of(RegistryKey<? extends Registry<T>> registry, Identifier value)
func_240903_a_(RegistryKey<? extends Registry<T>> arg0, ResourceLocation arg1)
public static <T> ResourceKey<Registry<T>>
a(vk arg0)
createRegistryKey(ResourceLocation arg0)
method_29180(class_2960 arg0)
m_puwkoaeq(C_ncpywfca arg0)
ofRegistry(Identifier registry)
func_240904_a_(ResourceLocation arg0)
private static <T> ResourceKey<T>
a(vk arg0, vk arg1)
create(ResourceLocation arg0, ResourceLocation arg1)
method_29181(class_2960 arg0, class_2960 arg1)
m_gzfvlawi(C_ncpywfca arg0, C_ncpywfca arg1)
of(Identifier registry, Identifier value)
func_240905_a_(ResourceLocation arg0, ResourceLocation arg1)
public boolean
a(vj<? extends gm<?>> arg0)
isFor(ResourceKey<? extends Registry<?>> arg0)
method_31163(class_5321<? extends class_2378<?>> arg0)
m_odeqnmwq(C_xhhleach<? extends C_tqxyjqsk<?>> arg0)
isOf(RegistryKey<? extends Registry<?>> registry)
func_244356_a(RegistryKey<? extends Registry<?>> arg0)
public ResourceLocation
a()
location()
method_29177()
m_jjvdnjyc()
getValue()
func_240901_a_()
public static <T> Function<ResourceLocation, ResourceKey<T>>
b(vj<? extends gm<T>> arg0)
elementKey(ResourceKey<? extends Registry<T>> arg0)
method_29178(class_5321<? extends class_2378<T>> arg0)
m_lvytbcjv(C_xhhleach<? extends C_tqxyjqsk<T>> arg0)
createKeyFactory(RegistryKey<? extends Registry<T>> registry)
func_240902_a_(RegistryKey<? extends Registry<T>> arg0)