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
official ggs$d
intermediary net/minecraft/class_1088$class_7778
named net/minecraft/client/render/model/ModelLoader$BakerImpl
  • Field Details

    • textureGetter

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

    • BakerImpl

      BakerImpl(BiFunction<Identifier,SpriteIdentifier,Sprite> spriteLoader, Identifier modelId)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lggs$d;<init>(Lggs;Ljava/util/function/BiFunction;Lahg;)V
      intermediary <init> Lnet/minecraft/class_1088$class_7778;<init>(Lnet/minecraft/class_1088;Ljava/util/function/BiFunction;Lnet/minecraft/class_2960;)V
      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
  • Method Details

    • getOrLoadModel

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

      public BakedModel bake(Identifier id, ModelBakeSettings settings)
      Specified by:
      bake in interface Baker
      Mappings:
      Namespace Name Mixin selector
      official a Lggr;a(Lahg;Lggv;)Lggn;
      intermediary method_45873 Lnet/minecraft/class_7775;method_45873(Lnet/minecraft/class_2960;Lnet/minecraft/class_3665;)Lnet/minecraft/class_1087;
      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;