Class ClientTagKey<T>
java.lang.Object
dev.dhyces.trimmed.api.client.tag.ClientTagKey<T>
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T> com.mojang.serialization.Codec<ClientTagKey<T>> codec(KeyResolver<T> keyResolver) booleannet.minecraft.resources.ResourceLocationgetTagId()inthashCode()static <T> ClientTagKey<T> of(KeyResolver<T> keyResolver, net.minecraft.resources.ResourceLocation tagId) static <T> com.mojang.serialization.Codec<ClientTagKey<T>> tagCodec(KeyResolver<T> keyResolver) toString()
-
Method Details
-
codec
-
tagCodec
public static <T> com.mojang.serialization.Codec<ClientTagKey<T>> tagCodec(KeyResolver<T> keyResolver) -
of
public static <T> ClientTagKey<T> of(KeyResolver<T> keyResolver, net.minecraft.resources.ResourceLocation tagId) -
getKeyResolver
-
getTagId
public net.minecraft.resources.ResourceLocation getTagId() -
toString
-
equals
-
hashCode
public int hashCode()
-