net.minecraft.tags

public record TagKey<T>

axf
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
registryRef
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>> registryRef, ResourceLocation id)

Method summary

Modifier and TypeMethod
public static <T> com.mojang.serialization.Codec<TagKey<T>>
a(aku<? extends ke<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>> registryRef)
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(aku<? extends ke<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>> registryRef)
createHashedCodec(RegistryKey<? extends Registry<T>> registry)
m_203886_(C_5264_<? extends C_4705_<T>> p_203887_)
public static <T> StreamCodec<io.netty.buffer.ByteBuf, TagKey<T>>
c(aku<? extends ke<T>> arg0)
streamCodec(ResourceKey<? extends Registry<T>> arg0)
method_64143(class_5321<? extends class_2378<T>> arg0)
m_amzyqent(C_xhhleach<? extends C_tqxyjqsk<T>> arg0)
packetCodec(RegistryKey<? extends Registry<T>> registryRef)
createPacketCodec(RegistryKey<? extends Registry<T>> registry)
m_355434_(C_5264_<? extends C_4705_<T>> p_368582_)
public static <T> TagKey<T>
a(aku<? extends ke<T>> arg0, akv 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>> registryRef, 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
d(aku<? extends ke<?>> 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>>
e(aku<? extends ke<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()
registryRef()
registry()
f_203867_()
public ResourceLocation
b()
location()
comp_327()
m_nimfilyc()
id()
id()
f_203868_()