Class EquipmentModelLoader

All Implemented Interfaces:
ResourceReloader

@Environment(CLIENT) public class EquipmentModelLoader extends JsonDataLoader<EquipmentModel>
Mappings:
Namespace Name
named net/minecraft/client/render/entity/equipment/EquipmentModelLoader
intermediary net/minecraft/class_10201
official hdr
  • Field Details

    • EMPTY

      public static final EquipmentModel EMPTY
      Mappings:
      Namespace Name Mixin selector
      named EMPTY Lnet/minecraft/client/render/entity/equipment/EquipmentModelLoader;EMPTY:Lnet/minecraft/item/equipment/EquipmentModel;
      intermediary field_54189 Lnet/minecraft/class_10201;field_54189:Lnet/minecraft/class_10186;
      official a Lhdr;a:Ldfr;
    • models

      private Map<Identifier,EquipmentModel> models
      Mappings:
      Namespace Name Mixin selector
      named models Lnet/minecraft/client/render/entity/equipment/EquipmentModelLoader;models:Ljava/util/Map;
      intermediary field_54190 Lnet/minecraft/class_10201;field_54190:Ljava/util/Map;
      official b Lhdr;b:Ljava/util/Map;
  • Constructor Details

    • EquipmentModelLoader

      public EquipmentModelLoader()
  • Method Details

    • apply

      protected void apply(Map<Identifier,EquipmentModel> map, ResourceManager resourceManager, Profiler profiler)
      Description copied from class: SinglePreparationResourceReloader
      Handles the prepared intermediate object.

      This method is called in the apply executor, or the game engine, in a reload.

      Specified by:
      apply in class SinglePreparationResourceReloader<Map<Identifier,EquipmentModel>>
      Parameters:
      map - the prepared object
      resourceManager - the resource manager
      profiler - the apply profiler
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/client/render/entity/equipment/EquipmentModelLoader;apply(Ljava/util/Map;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)V
      intermediary method_64088 Lnet/minecraft/class_10201;method_64088(Ljava/util/Map;Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)V
      official a Lhdr;a(Ljava/util/Map;Lavv;Lbps;)V
    • get

      public EquipmentModel get(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/client/render/entity/equipment/EquipmentModelLoader;get(Lnet/minecraft/util/Identifier;)Lnet/minecraft/item/equipment/EquipmentModel;
      intermediary method_64087 Lnet/minecraft/class_10201;method_64087(Lnet/minecraft/class_2960;)Lnet/minecraft/class_10186;
      official a Lhdr;a(Lalz;)Ldfr;