Class ItemModelGenerator

java.lang.Object
net.minecraft.data.client.ItemModelGenerator

public class ItemModelGenerator extends Object
Mappings:
Namespace Name
named net/minecraft/data/client/ItemModelGenerator
intermediary net/minecraft/class_4915
official od
  • Field Details

    • TRIM_TYPE

      public static final Identifier TRIM_TYPE
      Mappings:
      Namespace Name Mixin selector
      named TRIM_TYPE Lnet/minecraft/data/client/ItemModelGenerator;TRIM_TYPE:Lnet/minecraft/util/Identifier;
      intermediary field_42086 Lnet/minecraft/class_4915;field_42086:Lnet/minecraft/class_2960;
      official a Lod;a:Lalz;
    • TRIM_MATERIALS

      private static final List<ItemModelGenerator.TrimMaterial> TRIM_MATERIALS
      Mappings:
      Namespace Name Mixin selector
      named TRIM_MATERIALS Lnet/minecraft/data/client/ItemModelGenerator;TRIM_MATERIALS:Ljava/util/List;
      intermediary field_42087 Lnet/minecraft/class_4915;field_42087:Ljava/util/List;
      official b Lod;b:Ljava/util/List;
    • writer

      private final BiConsumer<Identifier,Supplier<JsonElement>> writer
      Mappings:
      Namespace Name Mixin selector
      named writer Lnet/minecraft/data/client/ItemModelGenerator;writer:Ljava/util/function/BiConsumer;
      intermediary field_22844 Lnet/minecraft/class_4915;field_22844:Ljava/util/function/BiConsumer;
      official c Lod;c:Ljava/util/function/BiConsumer;
  • Constructor Details

    • ItemModelGenerator

      public ItemModelGenerator(BiConsumer<Identifier,Supplier<JsonElement>> writer)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/data/client/ItemModelGenerator;<init>(Ljava/util/function/BiConsumer;)V
      intermediary <init> Lnet/minecraft/class_4915;<init>(Ljava/util/function/BiConsumer;)V
      official <init> Lod;<init>(Ljava/util/function/BiConsumer;)V
  • Method Details

    • register

      private void register(Item item, Model model)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/data/client/ItemModelGenerator;register(Lnet/minecraft/item/Item;Lnet/minecraft/data/client/Model;)V
      intermediary method_25733 Lnet/minecraft/class_4915;method_25733(Lnet/minecraft/class_1792;Lnet/minecraft/class_4942;)V
      official a Lod;a(Lcxk;Lor;)V
    • register

      private void register(Item item, String suffix, Model model)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/data/client/ItemModelGenerator;register(Lnet/minecraft/item/Item;Ljava/lang/String;Lnet/minecraft/data/client/Model;)V
      intermediary method_25734 Lnet/minecraft/class_4915;method_25734(Lnet/minecraft/class_1792;Ljava/lang/String;Lnet/minecraft/class_4942;)V
      official a Lod;a(Lcxk;Ljava/lang/String;Lor;)V
    • register

      private void register(Item item, Item texture, Model model)
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/data/client/ItemModelGenerator;register(Lnet/minecraft/item/Item;Lnet/minecraft/item/Item;Lnet/minecraft/data/client/Model;)V
      intermediary method_25732 Lnet/minecraft/class_4915;method_25732(Lnet/minecraft/class_1792;Lnet/minecraft/class_1792;Lnet/minecraft/class_4942;)V
      official a Lod;a(Lcxk;Lcxk;Lor;)V
    • registerWolfArmor

      private void registerWolfArmor(Item armor)
      Mappings:
      Namespace Name Mixin selector
      named registerWolfArmor Lnet/minecraft/data/client/ItemModelGenerator;registerWolfArmor(Lnet/minecraft/item/Item;)V
      intermediary method_57960 Lnet/minecraft/class_4915;method_57960(Lnet/minecraft/class_1792;)V
      official a Lod;a(Lcxk;)V
    • registerCompass

      private void registerCompass(Item compass)
      Mappings:
      Namespace Name Mixin selector
      named registerCompass Lnet/minecraft/data/client/ItemModelGenerator;registerCompass(Lnet/minecraft/item/Item;)V
      intermediary method_43228 Lnet/minecraft/class_4915;method_43228(Lnet/minecraft/class_1792;)V
      official b Lod;b(Lcxk;)V
    • registerClock

      private void registerClock(Item clock)
      Mappings:
      Namespace Name Mixin selector
      named registerClock Lnet/minecraft/data/client/ItemModelGenerator;registerClock(Lnet/minecraft/item/Item;)V
      intermediary method_43229 Lnet/minecraft/class_4915;method_43229(Lnet/minecraft/class_1792;)V
      official c Lod;c(Lcxk;)V
    • uploadArmor

      private void uploadArmor(Identifier id, Identifier layer0, Identifier layer1)
      Mappings:
      Namespace Name Mixin selector
      named uploadArmor Lnet/minecraft/data/client/ItemModelGenerator;uploadArmor(Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;)V
      intermediary method_48517 Lnet/minecraft/class_4915;method_48517(Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;)V
      official a Lod;a(Lalz;Lalz;Lalz;)V
    • uploadArmor

      private void uploadArmor(Identifier id, Identifier layer0, Identifier layer1, Identifier layer2)
      Mappings:
      Namespace Name Mixin selector
      named uploadArmor Lnet/minecraft/data/client/ItemModelGenerator;uploadArmor(Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;)V
      intermediary method_48742 Lnet/minecraft/class_4915;method_48742(Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;)V
      official a Lod;a(Lalz;Lalz;Lalz;Lalz;)V
    • suffixTrim

      private Identifier suffixTrim(Identifier id, String trimMaterialName)
      Mappings:
      Namespace Name Mixin selector
      named suffixTrim Lnet/minecraft/data/client/ItemModelGenerator;suffixTrim(Lnet/minecraft/util/Identifier;Ljava/lang/String;)Lnet/minecraft/util/Identifier;
      intermediary method_48518 Lnet/minecraft/class_4915;method_48518(Lnet/minecraft/class_2960;Ljava/lang/String;)Lnet/minecraft/class_2960;
      official a Lod;a(Lalz;Ljava/lang/String;)Lalz;
    • createArmorJson

      private JsonObject createArmorJson(Identifier id, Map<TextureKey,Identifier> textures, Identifier modelId)
      Mappings:
      Namespace Name Mixin selector
      named createArmorJson Lnet/minecraft/data/client/ItemModelGenerator;createArmorJson(Lnet/minecraft/util/Identifier;Ljava/util/Map;Lnet/minecraft/util/Identifier;)Lcom/google/gson/JsonObject;
      intermediary method_48519 Lnet/minecraft/class_4915;method_48519(Lnet/minecraft/class_2960;Ljava/util/Map;Lnet/minecraft/class_2960;)Lcom/google/gson/JsonObject;
      official a Lod;a(Lalz;Ljava/util/Map;Lalz;)Lcom/google/gson/JsonObject;
    • registerArmor

      private void registerArmor(Item item, Identifier modelId, EquipmentModel model, EquipmentSlot slot)
      Mappings:
      Namespace Name Mixin selector
      named registerArmor Lnet/minecraft/data/client/ItemModelGenerator;registerArmor(Lnet/minecraft/item/Item;Lnet/minecraft/util/Identifier;Lnet/minecraft/item/equipment/EquipmentModel;Lnet/minecraft/entity/EquipmentSlot;)V
      intermediary method_48523 Lnet/minecraft/class_4915;method_48523(Lnet/minecraft/class_1792;Lnet/minecraft/class_2960;Lnet/minecraft/class_10186;Lnet/minecraft/class_1304;)V
      official a Lod;a(Lcxk;Lalz;Ldfr;Lbvr;)V
    • register

      public void register()
      Mappings:
      Namespace Name Mixin selector
      named register Lnet/minecraft/data/client/ItemModelGenerator;register()V
      intermediary method_25731 Lnet/minecraft/class_4915;method_25731()V
      official a Lod;a()V