net.minecraft.tags

public record TagKey<T>

akz
net.minecraft.tags.TagKey
net.minecraft.class_6862
net.minecraft.unmapped.C_ednuhnnn
net.minecraft.tag.TagKey
net.minecraft.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(aba<? extends hm<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(aba<? extends hm<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(aba<? extends hm<T>> arg0, abb 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(aba<? extends hm<?>> 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(aba<? extends hm<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_()