Class ItemModelGenerator

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

public class ItemModelGenerator
extends Object
Mappings:
Namespace Name
official iq
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 Liq;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> Liq;<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 Liq;a(Lbnr;Lje;)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/Model;)V
    • register

      private void register​(Item item, String suffix, Model model)
      Mappings:
      Namespace Name Mixin selector
      official a Liq;a(Lbnr;Ljava/lang/String;Lje;)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/Model;)V
    • register

      private void register​(Item item, Item texture, Model model)
      Mappings:
      Namespace Name Mixin selector
      official a Liq;a(Lbnr;Lbnr;Lje;)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/Model;)V
    • register

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