net.minecraft.client.renderer.entity.layers

public class VillagerProfessionLayer<T extends LivingEntity extends VillagerDataHolder, M extends EntityModel<T> extends VillagerHeadModel>

extends RenderLayer<T, M>

ewn
net.minecraft.client.renderer.entity.layers.VillagerProfessionLayer
net.minecraft.class_3885
net.minecraft.client.render.entity.feature.VillagerClothingFeatureRenderer
net.minecraft.src.C_4458_

Field summary

Modifier and TypeField
private static final it.unimi.dsi.fastutil.ints.Int2ObjectMap<ResourceLocation>
a
LEVEL_LOCATIONS
field_17148
LEVEL_TO_ID
f_117622_
private final it.unimi.dsi.fastutil.objects.Object2ObjectMap<VillagerType, VillagerMetaDataSection$Hat>
b
typeHatCache
field_17149
villagerTypeToHat
f_117623_
private final it.unimi.dsi.fastutil.objects.Object2ObjectMap<VillagerProfession, VillagerMetaDataSection$Hat>
c
professionHatCache
field_17150
professionToHat
f_117624_
private final ResourceManager
d
resourceManager
field_17151
resourceManager
f_117625_
private final String
e
path
field_17152
entityType
f_117626_

Constructor summary

ModifierConstructor
public (RenderLayerParent<T, M> context, ResourceManager resourceManager, String entityType)

Method summary

Modifier and TypeMethod
public void
a(dql arg0, eni arg1, int arg2, T arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9)
render(PoseStack arg0, MultiBufferSource arg1, int arg2, T arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9)
method_17151(class_4587 arg0, class_4597 arg1, int arg2, T arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9)
render(MatrixStack arg0, VertexConsumerProvider arg1, int arg2, T arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9)
m_6494_(C_3181_ p_117647_, C_4139_ p_117648_, int p_117649_, T p_117650_, float p_117651_, float p_117652_, float p_117653_, float p_117654_, float p_117655_, float arg9)
private ResourceLocation
a(String arg0, ww arg1)
getResourceLocation(String arg0, ResourceLocation arg1)
method_17155(String arg0, class_2960 arg1)
findTexture(String keyType, Identifier keyId)
m_117668_(String p_117670_, C_5265_ arg1)
public <K> VillagerMetaDataSection$Hat
a(it.unimi.dsi.fastutil.objects.Object2ObjectMap<K, eyo$a> arg0, String arg1, gk<K> arg2, K arg3)
getHatData(it.unimi.dsi.fastutil.objects.Object2ObjectMap<K, VillagerMetaDataSection$Hat> arg0, String arg1, DefaultedRegistry<K> arg2, K arg3)
method_17153(it.unimi.dsi.fastutil.objects.Object2ObjectMap<K, class_3888$class_3889> arg0, String arg1, class_2348<K> arg2, K arg3)
getHatType(it.unimi.dsi.fastutil.objects.Object2ObjectMap<K, VillagerResourceMetadata$HatType> hatLookUp, String keyType, DefaultedRegistry<K> registry, K key)
m_117658_(it.unimi.dsi.fastutil.objects.Object2ObjectMap<K, C_4521_$C_4522_> p_117660_, String p_117661_, C_4686_<K> p_117662_, K arg3)