Class ItemModel

java.lang.Object
net.minecraft.client.render.model.ItemModel
All Implemented Interfaces:
UnbakedModel

@Environment(CLIENT) public class ItemModel extends Object implements UnbakedModel
Mappings:
Namespace Name
named net/minecraft/client/render/model/ItemModel
intermediary net/minecraft/class_10202
official hds
  • Field Details

    • id

      private final Identifier id
      Mappings:
      Namespace Name Mixin selector
      named id Lnet/minecraft/client/render/model/ItemModel;id:Lnet/minecraft/util/Identifier;
      intermediary field_54191 Lnet/minecraft/class_10202;field_54191:Lnet/minecraft/class_2960;
      official a Lhds;a:Lalz;
    • overrides

      private List<ModelOverride> overrides
      Mappings:
      Namespace Name Mixin selector
      named overrides Lnet/minecraft/client/render/model/ItemModel;overrides:Ljava/util/List;
      intermediary field_54192 Lnet/minecraft/class_10202;field_54192:Ljava/util/List;
      official b Lhds;b:Ljava/util/List;
  • Constructor Details

    • ItemModel

      public ItemModel(Identifier id)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/ItemModel;<init>(Lnet/minecraft/util/Identifier;)V
      intermediary <init> Lnet/minecraft/class_10202;<init>(Lnet/minecraft/class_2960;)V
      official <init> Lhds;<init>(Lalz;)V
  • Method Details

    • resolve

      public void resolve(UnbakedModel.Resolver resolver)
      Specified by:
      resolve in interface UnbakedModel
      Mappings:
      Namespace Name Mixin selector
      named resolve Lnet/minecraft/client/render/model/UnbakedModel;resolve(Lnet/minecraft/client/render/model/UnbakedModel$Resolver;)V
      intermediary method_62326 Lnet/minecraft/class_1100;method_62326(Lnet/minecraft/class_1100$class_10103;)V
      official a Lhef;a(Lhef$a;)V
    • bake

      public BakedModel bake(Baker baker, Function<SpriteIdentifier,Sprite> textureGetter, ModelBakeSettings rotationContainer)
      Specified by:
      bake in interface UnbakedModel
      Mappings:
      Namespace Name Mixin selector
      named bake Lnet/minecraft/client/render/model/UnbakedModel;bake(Lnet/minecraft/client/render/model/Baker;Ljava/util/function/Function;Lnet/minecraft/client/render/model/ModelBakeSettings;)Lnet/minecraft/client/render/model/BakedModel;
      intermediary method_4753 Lnet/minecraft/class_1100;method_4753(Lnet/minecraft/class_7775;Ljava/util/function/Function;Lnet/minecraft/class_3665;)Lnet/minecraft/class_1087;
      official a Lhef;a(Lhdv;Ljava/util/function/Function;Lheb;)Lhdm;