Class VillagerClothingFeatureRenderer<T extends LivingEntity & VillagerDataContainer,M extends EntityModel<T> & ModelWithHat>
java.lang.Object
net.minecraft.client.render.entity.feature.FeatureRenderer<T,M>
net.minecraft.client.render.entity.feature.VillagerClothingFeatureRenderer<T,M>
@Environment(CLIENT)
public class VillagerClothingFeatureRenderer<T extends LivingEntity & VillagerDataContainer,M extends EntityModel<T> & ModelWithHat>
extends FeatureRenderer<T,M>
- Mappings:
Namespace Name official ewm
intermediary net/minecraft/class_3885
named net/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer
-
Field Summary
Modifier and TypeFieldDescriptionprivate final String
private static final Int2ObjectMap<Identifier>
private final Object2ObjectMap<VillagerProfession,
VillagerResourceMetadata.HatType> private final ResourceManager
private final Object2ObjectMap<VillagerType,
VillagerResourceMetadata.HatType> -
Constructor Summary
ConstructorDescriptionVillagerClothingFeatureRenderer
(FeatureRendererContext<T, M> context, ResourceManager resourceManager, String entityType) -
Method Summary
Modifier and TypeMethodDescriptionprivate Identifier
findTexture
(String keyType, Identifier keyId) getHatType
(Object2ObjectMap<K, VillagerResourceMetadata.HatType> hatLookUp, String keyType, DefaultedRegistry<K> registry, K key) void
render
(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, T t, float float2, float float3, float float4, float float5, float float6, float float7) Methods inherited from class net.minecraft.client.render.entity.feature.FeatureRenderer
getContextModel, getTexture, render, renderModel
-
Field Details
-
LEVEL_TO_ID
- Mappings:
Namespace Name Mixin selector official a
Lewm;a:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
intermediary field_17148
Lnet/minecraft/class_3885;field_17148:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
named LEVEL_TO_ID
Lnet/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer;LEVEL_TO_ID:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
villagerTypeToHat
- Mappings:
Namespace Name Mixin selector official b
Lewm;b:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
intermediary field_17149
Lnet/minecraft/class_3885;field_17149:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
named villagerTypeToHat
Lnet/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer;villagerTypeToHat:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
-
professionToHat
- Mappings:
Namespace Name Mixin selector official c
Lewm;c:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
intermediary field_17150
Lnet/minecraft/class_3885;field_17150:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
named professionToHat
Lnet/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer;professionToHat:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
-
resourceManager
- Mappings:
Namespace Name Mixin selector official d
Lewm;d:Ladt;
intermediary field_17151
Lnet/minecraft/class_3885;field_17151:Lnet/minecraft/class_3300;
named resourceManager
Lnet/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer;resourceManager:Lnet/minecraft/resource/ResourceManager;
-
entityType
- Mappings:
Namespace Name Mixin selector official e
Lewm;e:Ljava/lang/String;
intermediary field_17152
Lnet/minecraft/class_3885;field_17152:Ljava/lang/String;
named entityType
Lnet/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer;entityType:Ljava/lang/String;
-
-
Constructor Details
-
VillagerClothingFeatureRenderer
public VillagerClothingFeatureRenderer(FeatureRendererContext<T, M> context, ResourceManager resourceManager, String entityType) - Mappings:
Namespace Name Mixin selector official <init>
Lewm;<init>(Letr;Ladt;Ljava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_3885;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_3300;Ljava/lang/String;)V
named <init>
Lnet/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer;<init>(Lnet/minecraft/client/render/entity/feature/FeatureRendererContext;Lnet/minecraft/resource/ResourceManager;Ljava/lang/String;)V
-
-
Method Details
-
render
public void render(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, T t, float float2, float float3, float float4, float float5, float float6, float float7) - Specified by:
render
in classFeatureRenderer<T extends LivingEntity & VillagerDataContainer,
M extends EntityModel<T> & ModelWithHat> - Mappings:
Namespace Name Mixin selector official a
Lewm;a(Ldqk;Lenh;ILatt;FFFFFF)V
intermediary method_17151
Lnet/minecraft/class_3885;method_17151(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1309;FFFFFF)V
named render
Lnet/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/entity/LivingEntity;FFFFFF)V
-
findTexture
- Mappings:
Namespace Name Mixin selector official a
Lewm;a(Ljava/lang/String;Lww;)Lww;
intermediary method_17155
Lnet/minecraft/class_3885;method_17155(Ljava/lang/String;Lnet/minecraft/class_2960;)Lnet/minecraft/class_2960;
named findTexture
Lnet/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer;findTexture(Ljava/lang/String;Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/Identifier;
-
getHatType
public <K> VillagerResourceMetadata.HatType getHatType(Object2ObjectMap<K, VillagerResourceMetadata.HatType> hatLookUp, String keyType, DefaultedRegistry<K> registry, K key) - Mappings:
Namespace Name Mixin selector official a
Lewm;a(Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;Ljava/lang/String;Lgk;Ljava/lang/Object;)Leyn$a;
intermediary method_17153
Lnet/minecraft/class_3885;method_17153(Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;Ljava/lang/String;Lnet/minecraft/class_2348;Ljava/lang/Object;)Lnet/minecraft/class_3888$class_3889;
named getHatType
Lnet/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer;getHatType(Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;Ljava/lang/String;Lnet/minecraft/util/registry/DefaultedRegistry;Ljava/lang/Object;)Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;
-