net.minecraft.client.renderer.entity.layers

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

extends RenderLayer<T, M> implements ResourceManagerReloadListener

All mapped superinterfaces:

ResourceManagerReloadListener, PreparableReloadListener

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

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public void
a(dfm arg0, eag 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)
func_225628_a_(MatrixStack arg0, IRenderTypeBuffer arg1, int arg2, T arg3, float arg4, float arg5, float arg6, float arg7, float arg8, float arg9)
private ResourceLocation
a(String arg0, vk arg1)
getResourceLocation(String arg0, ResourceLocation arg1)
method_17155(String arg0, class_2960 arg1)
findTexture(String keyType, Identifier keyId)
func_215351_a(String arg0, ResourceLocation arg1)
public <K> VillagerMetaDataSection$Hat
a(it.unimi.dsi.fastutil.objects.Object2ObjectMap<K, ele$a> arg0, String arg1, gb<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)
func_215350_a(it.unimi.dsi.fastutil.objects.Object2ObjectMap<K, VillagerMetadataSection$HatType> arg0, String arg1, DefaultedRegistry<K> arg2, K arg3)
public void
a(ach arg0)
onResourceManagerReload(ResourceManager arg0)
method_14491(class_3300 arg0)
apply(ResourceManager arg0)
func_195410_a(IResourceManager arg0)