net.minecraft.world.entity.variant

public class VariantUtils

cta
net.minecraft.world.entity.variant.VariantUtils
net.minecraft.class_10704
net.minecraft.class_10704

Field summary

Modifier and TypeField
public static final String
a
TAG_VARIANT
field_56288
field_56288

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static <T> Holder<T>
a(js arg0, ald<T> arg1)
getDefaultOrAny(RegistryAccess arg0, ResourceKey<T> arg1)
method_67175(class_5455 arg0, class_5321<T> arg1)
method_67175(DynamicRegistryManager arg0, RegistryKey<T> arg1)
public static <T> Holder<T>
b(js arg0, ald<? extends jr<T>> arg1)
getAny(RegistryAccess arg0, ResourceKey<? extends Registry<T>> arg1)
method_67179(class_5455 arg0, class_5321<? extends class_2378<T>> arg1)
method_67179(DynamicRegistryManager arg0, RegistryKey<? extends Registry<T>> arg1)
public static <T> void
a(tx arg0, je<T> arg1)
writeVariant(CompoundTag arg0, Holder<T> arg1)
method_67177(class_2487 arg0, class_6880<T> arg1)
method_67177(NbtCompound arg0, RegistryEntry<T> arg1)
public static <T> Optional<Holder<T>>
a(tx arg0, js arg1, ald<? extends jr<T>> arg2)
readVariant(CompoundTag arg0, RegistryAccess arg1, ResourceKey<? extends Registry<T>> arg2)
method_67178(class_2487 arg0, class_5455 arg1, class_5321<? extends class_2378<T>> arg2)
method_67178(NbtCompound arg0, DynamicRegistryManager arg1, RegistryKey<? extends Registry<T>> arg2)