net.minecraft.client.renderer.entity.layers

public class VillagerProfessionLayer<S extends LivingEntityRenderState extends VillagerDataHolderRenderState, M extends EntityModel<S> extends VillagerHeadModel>

extends RenderLayer<S, M>

gwp
net.minecraft.client.renderer.entity.layers.VillagerProfessionLayer
net.minecraft.class_3885
net.minecraft.client.render.entity.feature.VillagerClothingFeatureRenderer

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(fgs arg0, gll arg1, int arg2, S arg3, float arg4, float arg5)
render(PoseStack arg0, MultiBufferSource arg1, int arg2, S arg3, float arg4, float arg5)
method_17151(class_4587 arg0, class_4597 arg1, int arg2, S arg3, float arg4, float arg5)
render(MatrixStack arg0, VertexConsumerProvider arg1, int arg2, S arg3, float arg4, float arg5)
private ResourceLocation
a(String arg0, alz arg1)
getResourceLocation(String arg0, ResourceLocation arg1)
method_17155(String arg0, class_2960 arg1)
getTexture(String keyType, Identifier keyId)
public <K> VillagerMetaDataSection$Hat
a(it.unimi.dsi.fastutil.objects.Object2ObjectMap<K, hda$a> arg0, String arg1, jl<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_7922<K> arg2, K arg3)
getHatType(it.unimi.dsi.fastutil.objects.Object2ObjectMap<K, VillagerResourceMetadata$HatType> hatLookUp, String keyType, DefaultedRegistry<K> registry, K key)