Class ItemModelGenerator

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

public class ItemModelGenerator extends Object
Mappings:
Namespace Name
official ji
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 Lji;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> Lji;<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 Lji;a(Lbus;Ljw;)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 Lji;a(Lbus;Ljava/lang/String;Ljw;)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 Lji;a(Lbus;Lbus;Ljw;)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
    • register

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