Class EquipmentRenderer

java.lang.Object
net.minecraft.client.render.entity.equipment.EquipmentRenderer

@Environment(CLIENT) public class EquipmentRenderer extends Object
Mappings:
Namespace Name
named net/minecraft/client/render/entity/equipment/EquipmentRenderer
intermediary net/minecraft/class_10197
official gvo
  • Field Details

    • field_54178

      private static final int field_54178
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_54178 Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;field_54178:I
      intermediary field_54178 Lnet/minecraft/class_10197;field_54178:I
      official a Lgvo;a:I
    • equipmentModelLoader

      private final EquipmentModelLoader equipmentModelLoader
      Mappings:
      Namespace Name Mixin selector
      named equipmentModelLoader Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;equipmentModelLoader:Lnet/minecraft/client/render/entity/equipment/EquipmentModelLoader;
      intermediary field_54179 Lnet/minecraft/class_10197;field_54179:Lnet/minecraft/class_10201;
      official b Lgvo;b:Lhdr;
    • layerTextures

      Mappings:
      Namespace Name Mixin selector
      named layerTextures Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;layerTextures:Ljava/util/function/Function;
      intermediary field_54180 Lnet/minecraft/class_10197;field_54180:Ljava/util/function/Function;
      official c Lgvo;c:Ljava/util/function/Function;
    • trimSprites

      private final Function<EquipmentRenderer.TrimSpriteKey,Sprite> trimSprites
      Mappings:
      Namespace Name Mixin selector
      named trimSprites Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;trimSprites:Ljava/util/function/Function;
      intermediary field_54181 Lnet/minecraft/class_10197;field_54181:Ljava/util/function/Function;
      official d Lgvo;d:Ljava/util/function/Function;
  • Constructor Details

    • EquipmentRenderer

      public EquipmentRenderer(EquipmentModelLoader equipmentModelLoader, SpriteAtlasTexture armorTrimsAtlas)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;<init>(Lnet/minecraft/client/render/entity/equipment/EquipmentModelLoader;Lnet/minecraft/client/texture/SpriteAtlasTexture;)V
      intermediary <init> Lnet/minecraft/class_10197;<init>(Lnet/minecraft/class_10201;Lnet/minecraft/class_1059;)V
      official <init> Lgvo;<init>(Lhdr;Lhbj;)V
  • Method Details

    • render

      public void render(EquipmentModel.LayerType layerType, Identifier modelId, Model model, ItemStack stack, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;render(Lnet/minecraft/item/equipment/EquipmentModel$LayerType;Lnet/minecraft/util/Identifier;Lnet/minecraft/client/model/Model;Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;I)V
      intermediary method_64077 Lnet/minecraft/class_10197;method_64077(Lnet/minecraft/class_10186$class_10190;Lnet/minecraft/class_2960;Lnet/minecraft/class_3879;Lnet/minecraft/class_1799;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;I)V
      official a Lgvo;a(Ldfr$d;Lalz;Lgcg;Lcxo;Lfgr;Lglk;I)V
    • render

      public void render(EquipmentModel.LayerType layerType, Identifier modelId, Model model, ItemStack stack, MatrixStack matrices, VertexConsumerProvider vertexConsumers, int light, @Nullable @Nullable Identifier texture)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;render(Lnet/minecraft/item/equipment/EquipmentModel$LayerType;Lnet/minecraft/util/Identifier;Lnet/minecraft/client/model/Model;Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumerProvider;ILnet/minecraft/util/Identifier;)V
      intermediary method_64078 Lnet/minecraft/class_10197;method_64078(Lnet/minecraft/class_10186$class_10190;Lnet/minecraft/class_2960;Lnet/minecraft/class_3879;Lnet/minecraft/class_1799;Lnet/minecraft/class_4587;Lnet/minecraft/class_4597;ILnet/minecraft/class_2960;)V
      official a Lgvo;a(Ldfr$d;Lalz;Lgcg;Lcxo;Lfgr;Lglk;ILalz;)V
    • getDyeColor

      private static int getDyeColor(EquipmentModel.Layer layer, int dyeColor)
      Mappings:
      Namespace Name Mixin selector
      named getDyeColor Lnet/minecraft/client/render/entity/equipment/EquipmentRenderer;getDyeColor(Lnet/minecraft/item/equipment/EquipmentModel$Layer;I)I
      intermediary method_64076 Lnet/minecraft/class_10197;method_64076(Lnet/minecraft/class_10186$class_10189;I)I
      official a Lgvo;a(Ldfr$c;I)I