Class ItemModelGenerator

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

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

    • writer

      private final BiConsumer<Identifier,Supplier<JsonElement>> writer
      Mappings:
      Namespace Name Mixin selector
      official a Ljx;a: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> Ljx;<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 Ljx;a(Lbzw;Lkl;)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 Ljx;a(Lbzw;Ljava/lang/String;Lkl;)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 Ljx;a(Lbzw;Lbzw;Lkl;)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 Ljx;a(Lbzw;)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 Ljx;b(Lbzw;)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
    • register

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