net.minecraft.util

public record ModelAndTexture<T>

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

Field summary

Modifier and TypeField
private final T
a
model
comp_3572
model
f_nsjqqodp
modelType
f_381143_
private final AssetInfo
b
asset
comp_3573
asset
f_xegmsmzy
texture
f_380531_

Constructor summary

ModifierConstructor
public (T model, Identifier assetId)
public (T modelType, AssetInfo texture)

Method summary

Modifier and TypeMethod
public static <T> com.mojang.serialization.MapCodec<ModelAndTexture<T>>
a(com.mojang.serialization.Codec<T> o, T o)
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_njyubzsq(com.mojang.serialization.Codec<T> arg0, T arg1)
createCodec(com.mojang.serialization.Codec<T> codec, T defaultType)
m_386387_(com.mojang.serialization.Codec<T> p_392423_, T p_395386_)
public static <T> PacketCodec<RegistryByteBuf, ModelAndTexture<T>>
a(ze<? super wp, T> o)
streamCodec(StreamCodec<? super RegistryFriendlyByteBuf, T> arg0)
method_67156(class_9139<? super class_9129, T> arg0)
createPacketCodec(PacketCodec<? super RegistryByteBuf, T> modelPacketCodec)
m_buyxzdxb(C_qsrmwluu<? super C_bngyzsts, T> arg0)
createPacketCodec(PacketCodec<? super RegistryByteBuf, T> modelCodec)
m_388010_(C_313866_<? super C_313350_, T> p_391447_)
public T
a()
model()
comp_3572()
model()
m_xuhnicks()
modelType()
f_381143_()
public AssetInfo
b()
asset()
comp_3573()
asset()
m_xlsjrtbg()
texture()
f_380531_()