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 gpa
  • Field Details

    • LEVEL_TO_ID

      private static final Int2ObjectMap<Identifier> 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 Lgpa;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 Lgpa;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 Lgpa;c:Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;
    • resourceManager

      private final ResourceManager 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 Lgpa;d:Laud;
    • entityType

      private final String 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 Lgpa;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> Lgpa;<init>(Lglz;Laud;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 class FeatureRenderer<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 Lgpa;a(Lfbc;Lget;ILbtl;FFFFFF)V
    • findTexture

      private Identifier findTexture(String keyType, Identifier keyId)
      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 Lgpa;a(Ljava/lang/String;Lakq;)Lakq;
    • 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 Lgpa;a(Lit/unimi/dsi/fastutil/objects/Object2ObjectMap;Ljava/lang/String;Ljh;Ljava/lang/Object;)Lgrt$a;