Class ModelLoader.BakerImpl

java.lang.Object
net.minecraft.client.render.model.ModelLoader.BakerImpl
All Implemented Interfaces:
Baker
Enclosing class:
ModelLoader

@Environment(CLIENT) private class ModelLoader.BakerImpl extends Object implements Baker
Mappings:
Namespace Name
named net/minecraft/client/render/model/ModelLoader$BakerImpl
intermediary net/minecraft/class_1088$class_7778
official grg$d
  • Field Details

    • textureGetter

      private final Function<SpriteIdentifier,Sprite> textureGetter
      Mappings:
      Namespace Name Mixin selector
      named textureGetter Lnet/minecraft/client/render/model/ModelLoader$BakerImpl;textureGetter:Ljava/util/function/Function;
      intermediary field_40572 Lnet/minecraft/class_1088$class_7778;field_40572:Ljava/util/function/Function;
      official b Lgrg$d;b:Ljava/util/function/Function;
  • Constructor Details

    • BakerImpl

      BakerImpl(BiFunction<Identifier,SpriteIdentifier,Sprite> spriteLoader, Identifier modelId)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/ModelLoader$BakerImpl;<init>(Lnet/minecraft/client/render/model/ModelLoader;Ljava/util/function/BiFunction;Lnet/minecraft/util/Identifier;)V
      intermediary <init> Lnet/minecraft/class_1088$class_7778;<init>(Lnet/minecraft/class_1088;Ljava/util/function/BiFunction;Lnet/minecraft/class_2960;)V
      official <init> Lgrg$d;<init>(Lgrg;Ljava/util/function/BiFunction;Lalf;)V
  • Method Details

    • getOrLoadModel

      public UnbakedModel getOrLoadModel(Identifier id)
      Specified by:
      getOrLoadModel in interface Baker
      Mappings:
      Namespace Name Mixin selector
      named getOrLoadModel Lnet/minecraft/client/render/model/Baker;getOrLoadModel(Lnet/minecraft/util/Identifier;)Lnet/minecraft/client/render/model/UnbakedModel;
      intermediary method_45872 Lnet/minecraft/class_7775;method_45872(Lnet/minecraft/class_2960;)Lnet/minecraft/class_1100;
      official a Lgrf;a(Lalf;)Lgrm;
    • bake

      public BakedModel bake(Identifier id, ModelBakeSettings settings)
      Specified by:
      bake in interface Baker
      Mappings:
      Namespace Name Mixin selector
      named bake Lnet/minecraft/client/render/model/Baker;bake(Lnet/minecraft/util/Identifier;Lnet/minecraft/client/render/model/ModelBakeSettings;)Lnet/minecraft/client/render/model/BakedModel;
      intermediary method_45873 Lnet/minecraft/class_7775;method_45873(Lnet/minecraft/class_2960;Lnet/minecraft/class_3665;)Lnet/minecraft/class_1087;
      official a Lgrf;a(Lalf;Lgrj;)Lgrb;