Class ItemModels

java.lang.Object
net.minecraft.client.render.item.ItemModels

@Environment(CLIENT) public class ItemModels extends Object
Mappings:
Namespace Name
named net/minecraft/client/render/item/ItemModels
intermediary net/minecraft/class_763
official gle
  • Field Details

    • models

      private final Map<Identifier,BakedModel> models
      Mappings:
      Namespace Name Mixin selector
      named models Lnet/minecraft/client/render/item/ItemModels;models:Ljava/util/Map;
      intermediary field_54157 Lnet/minecraft/class_763;field_54157:Ljava/util/Map;
      official a Lgle;a:Ljava/util/Map;
    • missingModelSupplier

      private final Supplier<BakedModel> missingModelSupplier
      Mappings:
      Namespace Name Mixin selector
      named missingModelSupplier Lnet/minecraft/client/render/item/ItemModels;missingModelSupplier:Ljava/util/function/Supplier;
      intermediary field_54158 Lnet/minecraft/class_763;field_54158:Ljava/util/function/Supplier;
      official b Lgle;b:Ljava/util/function/Supplier;
    • idToModel

      private final Function<Identifier,BakedModel> idToModel
      Mappings:
      Namespace Name Mixin selector
      named idToModel Lnet/minecraft/client/render/item/ItemModels;idToModel:Ljava/util/function/Function;
      intermediary field_54159 Lnet/minecraft/class_763;field_54159:Ljava/util/function/Function;
      official c Lgle;c:Ljava/util/function/Function;
  • Constructor Details

    • ItemModels

      public ItemModels(BakedModelManager modelManager)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/item/ItemModels;<init>(Lnet/minecraft/client/render/model/BakedModelManager;)V
      intermediary <init> Lnet/minecraft/class_763;<init>(Lnet/minecraft/class_1092;)V
      official <init> Lgle;<init>(Lhdz;)V
  • Method Details

    • getModel

      public BakedModel getModel(ItemStack stack)
      Mappings:
      Namespace Name Mixin selector
      named getModel Lnet/minecraft/client/render/item/ItemModels;getModel(Lnet/minecraft/item/ItemStack;)Lnet/minecraft/client/render/model/BakedModel;
      intermediary method_3308 Lnet/minecraft/class_763;method_3308(Lnet/minecraft/class_1799;)Lnet/minecraft/class_1087;
      official a Lgle;a(Lcxo;)Lhdm;
    • getModel

      public BakedModel getModel(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      named getModel Lnet/minecraft/client/render/item/ItemModels;getModel(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/render/model/BakedModel;
      intermediary method_64057 Lnet/minecraft/class_763;method_64057(Lnet/minecraft/class_2960;)Lnet/minecraft/class_1087;
      official a Lgle;a(Lalz;)Lhdm;
    • clearModels

      public void clearModels()
      Mappings:
      Namespace Name Mixin selector
      named clearModels Lnet/minecraft/client/render/item/ItemModels;clearModels()V
      intermediary method_64056 Lnet/minecraft/class_763;method_64056()V
      official a Lgle;a()V