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 named net/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer
intermediary net/minecraft/class_3885
official gpg
-
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 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
Lgpg;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
Lgpg;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
Lgpg;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
Lgpg;d:Laue;
-
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
Lgpg;e:Ljava/lang/String;
-
-
Constructor Details
-
VillagerClothingFeatureRenderer
public VillagerClothingFeatureRenderer(FeatureRendererContext<T, 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>
Lgpg;<init>(Lgmf;Laue;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 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
intermediary method_17151
Lnet/minecraft/class_3885;method_17151(Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_1309;FFFFFF)V
official a
Lgpg;a(Lfbi;Lgez;ILbtn;FFFFFF)V
-
findTexture
- Mappings:
Namespace Name Mixin selector named findTexture
Lnet/minecraft/client/render/entity/feature/VillagerClothingFeatureRenderer;findTexture(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
Lgpg;a(Ljava/lang/String;Lakr;)Lakr;
-
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
Lgpg;a(Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;Ljava/lang/String;Ljh;Ljava/lang/Object;)Lgrz$a;
-