net.minecraft.tags

public record TagKey<T>

awu
net.minecraft.tags.TagKey
net.minecraft.class_6862
net.minecraft.unmapped.C_ednuhnnn
net.minecraft.registry.tag.TagKey
net.minecraft.registry.tag.TagKey
net.minecraft.src.C_203208_
net.minecraft.tags.TagKey

Field summary

Modifier and TypeField
private final ResourceKey<? extends Registry<T>>
a
registry
comp_326
f_rhygxpit
registry
registry
f_203867_
private final ResourceLocation
b
location
comp_327
f_wbefqdhh
id
id
f_203868_
private static final com.google.common.collect.Interner<TagKey<?>>
c
VALUES
field_36394
f_fngkjvvp
INTERNER
INTERNER
f_203869_

Constructor summary

ModifierConstructor
public (ResourceKey<? extends Registry<T>> registry, ResourceLocation id)

Method summary

Modifier and TypeMethod
public static <T> com.mojang.serialization.Codec<TagKey<T>>
a(akq<? extends jz<T>> arg0)
codec(ResourceKey<? extends Registry<T>> arg0)
method_40090(class_5321<? extends class_2378<T>> arg0)
m_kdwcbfsq(C_xhhleach<? extends C_tqxyjqsk<T>> arg0)
unprefixedCodec(RegistryKey<? extends Registry<T>> registry)
createCodec(RegistryKey<? extends Registry<T>> registry)
m_203877_(C_5264_<? extends C_4705_<T>> p_203878_)
public static <T> com.mojang.serialization.Codec<TagKey<T>>
b(akq<? extends jz<T>> arg0)
hashedCodec(ResourceKey<? extends Registry<T>> arg0)
method_40093(class_5321<? extends class_2378<T>> arg0)
m_dfjqzijw(C_xhhleach<? extends C_tqxyjqsk<T>> arg0)
codec(RegistryKey<? extends Registry<T>> registry)
createHashedCodec(RegistryKey<? extends Registry<T>> registry)
m_203886_(C_5264_<? extends C_4705_<T>> p_203887_)
public static <T> TagKey<T>
a(akq<? extends jz<T>> arg0, akr arg1)
create(ResourceKey<? extends Registry<T>> arg0, ResourceLocation arg1)
method_40092(class_5321<? extends class_2378<T>> arg0, class_2960 arg1)
m_fhvidlta(C_xhhleach<? extends C_tqxyjqsk<T>> arg0, C_ncpywfca arg1)
of(RegistryKey<? extends Registry<T>> registry, Identifier id)
of(RegistryKey<? extends Registry<T>> registry, Identifier id)
m_203882_(C_5264_<? extends C_4705_<T>> p_203883_, C_5265_ p_203884_)
public boolean
c(akq<? extends jz<?>> arg0)
isFor(ResourceKey<? extends Registry<?>> arg0)
method_41007(class_5321<? extends class_2378<?>> arg0)
m_shpovedp(C_xhhleach<? extends C_tqxyjqsk<?>> arg0)
isOf(RegistryKey<? extends Registry<?>> registryRef)
isOfRegistry(RegistryKey<? extends Registry<?>> registry)
m_207645_(C_5264_<? extends C_4705_<?>> arg0)
public <E> Optional<TagKey<E>>
d(akq<? extends jz<E>> arg0)
cast(ResourceKey<? extends Registry<E>> arg0)
method_41008(class_5321<? extends class_2378<E>> arg0)
m_cpofnwfv(C_xhhleach<? extends C_tqxyjqsk<E>> arg0)
tryCast(RegistryKey<? extends Registry<E>> registryRef)
cast(RegistryKey<? extends Registry<E>> registry)
m_207647_(C_5264_<? extends C_4705_<E>> arg0)
public ResourceKey<? extends Registry<T>>
a()
registry()
comp_326()
m_ahscublx()
registry()
registry()
f_203867_()
public ResourceLocation
b()
location()
comp_327()
m_nimfilyc()
id()
id()
f_203868_()