net.minecraft.world.entity.variant

public record ModelAndTexture<T>

css
net.minecraft.world.entity.variant.ModelAndTexture
net.minecraft.class_10693
net.minecraft.class_10693

Field summary

Modifier and TypeField
private final T
a
model
comp_3572
model
private final ClientAsset
b
asset
comp_3573
asset

Constructor summary

ModifierConstructor
public (T arg0, ResourceLocation arg1)
public (T arg0, ClientAsset arg1)

Method summary

Modifier and TypeMethod
public static <T> com.mojang.serialization.MapCodec<ModelAndTexture<T>>
a(com.mojang.serialization.Codec<T> arg0, T arg1)
codec(com.mojang.serialization.Codec<T> arg0, T arg1)
method_67154(com.mojang.serialization.Codec<T> arg0, T arg1)
method_67154(com.mojang.serialization.Codec<T> arg0, T arg1)
public static <T> StreamCodec<RegistryFriendlyByteBuf, ModelAndTexture<T>>
a(yu<? super wh, T> arg0)
streamCodec(StreamCodec<? super RegistryFriendlyByteBuf, T> arg0)
method_67156(class_9139<? super class_9129, T> arg0)
method_67156(PacketCodec<? super RegistryByteBuf, T> arg0)
public T
a()
model()
comp_3572()
model()
public ClientAsset
b()
asset()
comp_3573()
asset()