Class VillagerClothingFeatureRenderer<S extends LivingEntityRenderState & VillagerDataRenderState,M extends EntityModel<S> & ModelWithHat>
java.lang.Object
net.minecraft.client.render.entity.feature.FeatureRenderer<S,M>
net.minecraft.client.render.entity.feature.VillagerClothingFeatureRenderer<S,M>
@Environment(CLIENT)
public class VillagerClothingFeatureRenderer<S extends LivingEntityRenderState & VillagerDataRenderState,M extends EntityModel<S> & ModelWithHat>
extends FeatureRenderer<S,M>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer
intermediary net/minecraft/class_3885
official gwo
-
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<S, M> context, ResourceManager resourceManager, String entityType) -
Method Summary
Modifier and TypeMethodDescriptiongetHatType
(Object2ObjectMap<K, VillagerResourceMetadata.HatType> hatLookUp, String keyType, DefaultedRegistry<K> registry, K key) private Identifier
getTexture
(String keyType, Identifier keyId) void
render
(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, S s, float float2, float float3) Methods inherited from class net.minecraft.client.render.entity.feature.FeatureRenderer
getContextModel, render, renderModel
-
Field Details
-
LEVEL_TO_ID
- Mappings:
Namespace Name Mixin selector named LEVEL_TO_ID
Lnet/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer;LEVEL_TO_ID:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
intermediary field_17148
Lnet/minecraft/class_3885;field_17148:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
official a
Lgwo;a:Lit/unimi/dsi/fastutil/ints/Int2ObjectMap;
-
villagerTypeToHat
- Mappings:
Namespace Name Mixin selector named villagerTypeToHat
Lnet/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer;villagerTypeToHat:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
intermediary field_17149
Lnet/minecraft/class_3885;field_17149:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
official b
Lgwo;b:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
-
professionToHat
- Mappings:
Namespace Name Mixin selector named professionToHat
Lnet/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer;professionToHat:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
intermediary field_17150
Lnet/minecraft/class_3885;field_17150:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
official c
Lgwo;c:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
-
resourceManager
- Mappings:
Namespace Name Mixin selector named resourceManager
Lnet/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer;resourceManager:Lnet/minecraft/resource/ResourceManager;
intermediary field_17151
Lnet/minecraft/class_3885;field_17151:Lnet/minecraft/class_3300;
official d
Lgwo;d:Lavv;
-
entityType
- Mappings:
Namespace Name Mixin selector named entityType
Lnet/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer;entityType:Ljava/lang/String;
intermediary field_17152
Lnet/minecraft/class_3885;field_17152:Ljava/lang/String;
official e
Lgwo;e:Ljava/lang/String;
-
-
Constructor Details
-
VillagerClothingFeatureRenderer
public VillagerClothingFeatureRenderer(FeatureRendererContext<S, M> context, ResourceManager resourceManager, String entityType) - Mappings:
Namespace Name Mixin selector 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
intermediary <init>
Lnet/minecraft/class_3885;<init>(Lnet/minecraft/class_3883;Lnet/minecraft/class_3300;Ljava/lang/String;)V
official <init>
Lgwo;<init>(Lgtm;Lavv;Ljava/lang/String;)V
-
-
Method Details
-
render
public void render(MatrixStack matrixStack, VertexConsumerProvider vertexConsumerProvider, int int2, S s, float float2, float float3) - Specified by:
render
in classFeatureRenderer<S extends LivingEntityRenderState & VillagerDataRenderState,
M extends EntityModel<S> & ModelWithHat> - Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/client/render/entity/state/LivingEntityRenderState;FF)V
intermediary method_17151
Lnet/minecraft/class_3885;method_17151(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_10042;FF)V
official a
Lgwo;a(Lfgr;Lglk;ILgys;FF)V
-
getTexture
- Mappings:
Namespace Name Mixin selector named getTexture
Lnet/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer;getTexture(Ljava/lang/String;Lnet/minecraft/util/Identifier;)Lnet/minecraft/util/Identifier;
intermediary method_17155
Lnet/minecraft/class_3885;method_17155(Ljava/lang/String;Lnet/minecraft/class_2960;)Lnet/minecraft/class_2960;
official a
Lgwo;a(Ljava/lang/String;Lalz;)Lalz;
-
getHatType
public <K> VillagerResourceMetadata.HatType getHatType(Object2ObjectMap<K, VillagerResourceMetadata.HatType> hatLookUp, String keyType, DefaultedRegistry<K> registry, K key) - Mappings:
Namespace Name Mixin selector named getHatType
Lnet/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer;getHatType(Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;Ljava/lang/String;Lnet/minecraft/registry/DefaultedRegistry;Ljava/lang/Object;)Lnet/minecraft/client/render/entity/feature/VillagerResourceMetadata$HatType;
intermediary method_17153
Lnet/minecraft/class_3885;method_17153(Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;Ljava/lang/String;Lnet/minecraft/class_7922;Ljava/lang/Object;)Lnet/minecraft/class_3888$class_3889;
official a
Lgwo;a(Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;Ljava/lang/String;Ljl;Ljava/lang/Object;)Lhcz$a;
-