net.minecraft.client.renderer.entity.layers

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

extends RenderLayer<S, M>

hai
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<ResourceKey<VillagerType>, VillagerMetadataSection$Hat>
b
typeHatCache
field_17149
villagerTypeToHat
private final it.unimi.dsi.fastutil.objects.Object2ObjectMap<ResourceKey<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(fiq arg0, gpd 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, ale arg1)
getResourceLocation(String arg0, ResourceLocation arg1)
method_17155(String arg0, class_2960 arg1)
getTexture(String keyType, Identifier keyId)
private ResourceLocation
a(String arg0, je<?> arg1)
getResourceLocation(String arg0, Holder<?> arg1)
method_66858(String arg0, class_6880<?> arg1)
getTexture(String keyType, RegistryEntry<?> entry)
public <K> VillagerMetadataSection$Hat
a(it.unimi.dsi.fastutil.objects.Object2ObjectMap<ald<K>, hjn$a> arg0, String arg1, je<K> arg2)
getHatData(it.unimi.dsi.fastutil.objects.Object2ObjectMap<ResourceKey<K>, VillagerMetadataSection$Hat> arg0, String arg1, Holder<K> arg2)
method_17153(it.unimi.dsi.fastutil.objects.Object2ObjectMap<class_5321<K>, class_3888$class_3889> arg0, String arg1, class_6880<K> arg2)
getHatType(it.unimi.dsi.fastutil.objects.Object2ObjectMap<RegistryKey<K>, VillagerResourceMetadata$HatType> metadataMap, String keyType, RegistryEntry<K> entry)