net.minecraft.world.entity.variant

public record ModelAndTexture<T>

cuj
net.minecraft.world.entity.variant.ModelAndTexture
net.minecraft.class_10693
net.minecraft.util.ModelAndTexture
net.minecraft.src.C_379080_

Field summary

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

Constructor summary

ModifierConstructor
public (T model, ResourceLocation assetId)
public (T asset, 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)
createMapCodec(com.mojang.serialization.Codec<T> modelCodec, T model)
m_386387_(com.mojang.serialization.Codec<T> p_392423_, T p_395386_)
public static <T> StreamCodec<RegistryFriendlyByteBuf, ModelAndTexture<T>>
a(ze<? super wp, T> arg0)
streamCodec(StreamCodec<? super RegistryFriendlyByteBuf, T> arg0)
method_67156(class_9139<? super class_9129, T> arg0)
createPacketCodec(PacketCodec<? super RegistryByteBuf, T> modelPacketCodec)
m_388010_(C_313866_<? super C_313350_, T> p_391447_)
public T
a()
model()
comp_3572()
model()
f_381143_()
public ClientAsset
b()
asset()
comp_3573()
asset()
f_380531_()