Class ItemModelGenerator

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

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

    • field_42086

      public static final Identifier field_42086
      Mappings:
      Namespace Name Mixin selector
      official a Lks;a:Lacs;
      intermediary field_42086 Lnet/minecraft/class_4915;field_42086:Lnet/minecraft/class_2960;
      named field_42086 Lnet/minecraft/data/client/ItemModelGenerator;field_42086:Lnet/minecraft/util/Identifier;
    • field_42087

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

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

    • ItemModelGenerator

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

    • register

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

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

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

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

      private void registerClock(Item clock)
      Mappings:
      Namespace Name Mixin selector
      official b Lks;b(Lcen;)V
      intermediary method_43229 Lnet/minecraft/class_4915;method_43229(Lnet/minecraft/class_1792;)V
      named registerClock Lnet/minecraft/data/client/ItemModelGenerator;registerClock(Lnet/minecraft/item/Item;)V
    • method_48517

      private void method_48517(Identifier identifier, Identifier identifier2, Identifier identifier3)
      Mappings:
      Namespace Name Mixin selector
      official a Lks;a(Lacs;Lacs;Lacs;)V
      intermediary method_48517 Lnet/minecraft/class_4915;method_48517(Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;Lnet/minecraft/class_2960;)V
      named method_48517 Lnet/minecraft/data/client/ItemModelGenerator;method_48517(Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/Identifier;)V
    • method_48518

      private Identifier method_48518(Identifier identifier, String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lks;a(Lacs;Ljava/lang/String;)Lacs;
      intermediary method_48518 Lnet/minecraft/class_4915;method_48518(Lnet/minecraft/class_2960;Ljava/lang/String;)Lnet/minecraft/class_2960;
      named method_48518 Lnet/minecraft/data/client/ItemModelGenerator;method_48518(Lnet/minecraft/util/Identifier;Ljava/lang/String;)Lnet/minecraft/util/Identifier;
    • method_48520

      private List<ItemModelGenerator.class_8072> method_48520(ArmorItem armorItem)
      Mappings:
      Namespace Name Mixin selector
      official a Lks;a(Lccg;)Ljava/util/List;
      intermediary method_48520 Lnet/minecraft/class_4915;method_48520(Lnet/minecraft/class_1738;)Ljava/util/List;
      named method_48520 Lnet/minecraft/data/client/ItemModelGenerator;method_48520(Lnet/minecraft/item/ArmorItem;)Ljava/util/List;
    • method_48519

      private JsonObject method_48519(Identifier identifier, Map<TextureKey,Identifier> map, List<ItemModelGenerator.class_8072> list)
      Mappings:
      Namespace Name Mixin selector
      official a Lks;a(Lacs;Ljava/util/Map;Ljava/util/List;)Lcom/google/gson/JsonObject;
      intermediary method_48519 Lnet/minecraft/class_4915;method_48519(Lnet/minecraft/class_2960;Ljava/util/Map;Ljava/util/List;)Lcom/google/gson/JsonObject;
      named method_48519 Lnet/minecraft/data/client/ItemModelGenerator;method_48519(Lnet/minecraft/util/Identifier;Ljava/util/Map;Ljava/util/List;)Lcom/google/gson/JsonObject;
    • method_48523

      private void method_48523(ArmorItem armorItem)
      Mappings:
      Namespace Name Mixin selector
      official b Lks;b(Lccg;)V
      intermediary method_48523 Lnet/minecraft/class_4915;method_48523(Lnet/minecraft/class_1738;)V
      named method_48523 Lnet/minecraft/data/client/ItemModelGenerator;method_48523(Lnet/minecraft/item/ArmorItem;)V
    • register

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