Class BasicBakedModel.Builder

java.lang.Object
net.minecraft.client.render.model.BasicBakedModel.Builder
Enclosing class:
BasicBakedModel

@Environment(CLIENT) public static class BasicBakedModel.Builder extends Object
Mappings:
Namespace Name
official fxb$a
intermediary net/minecraft/class_1093$class_1094
named net/minecraft/client/render/model/BasicBakedModel$Builder
  • Field Details

    • quads

      private final List<BakedQuad> quads
      Mappings:
      Namespace Name Mixin selector
      official a Lfxb$a;a:Ljava/util/List;
      intermediary field_5419 Lnet/minecraft/class_1093$class_1094;field_5419:Ljava/util/List;
      named quads Lnet/minecraft/client/render/model/BasicBakedModel$Builder;quads:Ljava/util/List;
    • faceQuads

      private final Map<Direction,List<BakedQuad>> faceQuads
      Mappings:
      Namespace Name Mixin selector
      official b Lfxb$a;b:Ljava/util/Map;
      intermediary field_5422 Lnet/minecraft/class_1093$class_1094;field_5422:Ljava/util/Map;
      named faceQuads Lnet/minecraft/client/render/model/BasicBakedModel$Builder;faceQuads:Ljava/util/Map;
    • itemPropertyOverrides

      private final ModelOverrideList itemPropertyOverrides
      Mappings:
      Namespace Name Mixin selector
      official c Lfxb$a;c:Lflb;
      intermediary field_5423 Lnet/minecraft/class_1093$class_1094;field_5423:Lnet/minecraft/class_806;
      named itemPropertyOverrides Lnet/minecraft/client/render/model/BasicBakedModel$Builder;itemPropertyOverrides:Lnet/minecraft/client/render/model/json/ModelOverrideList;
    • usesAo

      private final boolean usesAo
      Mappings:
      Namespace Name Mixin selector
      official d Lfxb$a;d:Z
      intermediary field_5421 Lnet/minecraft/class_1093$class_1094;field_5421:Z
      named usesAo Lnet/minecraft/client/render/model/BasicBakedModel$Builder;usesAo:Z
    • particleTexture

      private Sprite particleTexture
      Mappings:
      Namespace Name Mixin selector
      official e Lfxb$a;e:Lfuv;
      intermediary field_5424 Lnet/minecraft/class_1093$class_1094;field_5424:Lnet/minecraft/class_1058;
      named particleTexture Lnet/minecraft/client/render/model/BasicBakedModel$Builder;particleTexture:Lnet/minecraft/client/texture/Sprite;
    • isSideLit

      private final boolean isSideLit
      Mappings:
      Namespace Name Mixin selector
      official f Lfxb$a;f:Z
      intermediary field_5420 Lnet/minecraft/class_1093$class_1094;field_5420:Z
      named isSideLit Lnet/minecraft/client/render/model/BasicBakedModel$Builder;isSideLit:Z
    • hasDepth

      private final boolean hasDepth
      Mappings:
      Namespace Name Mixin selector
      official g Lfxb$a;g:Z
      intermediary field_21865 Lnet/minecraft/class_1093$class_1094;field_21865:Z
      named hasDepth Lnet/minecraft/client/render/model/BasicBakedModel$Builder;hasDepth:Z
    • transformation

      private final ModelTransformation transformation
      Mappings:
      Namespace Name Mixin selector
      official h Lfxb$a;h:Lfld;
      intermediary field_5418 Lnet/minecraft/class_1093$class_1094;field_5418:Lnet/minecraft/class_809;
      named transformation Lnet/minecraft/client/render/model/BasicBakedModel$Builder;transformation:Lnet/minecraft/client/render/model/json/ModelTransformation;
  • Constructor Details

    • Builder

      public Builder(JsonUnbakedModel unbakedModel, ModelOverrideList itemPropertyOverrides, boolean hasDepth)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfxb$a;<init>(Lfkw;Lflb;Z)V
      intermediary <init> Lnet/minecraft/class_1093$class_1094;<init>(Lnet/minecraft/class_793;Lnet/minecraft/class_806;Z)V
      named <init> Lnet/minecraft/client/render/model/BasicBakedModel$Builder;<init>(Lnet/minecraft/client/render/model/json/JsonUnbakedModel;Lnet/minecraft/client/render/model/json/ModelOverrideList;Z)V
    • Builder

      private Builder(boolean usesAo, boolean isSideLit, boolean hasDepth, ModelTransformation transformation, ModelOverrideList itemPropertyOverrides)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfxb$a;<init>(ZZZLfld;Lflb;)V
      intermediary <init> Lnet/minecraft/class_1093$class_1094;<init>(ZZZLnet/minecraft/class_809;Lnet/minecraft/class_806;)V
      named <init> Lnet/minecraft/client/render/model/BasicBakedModel$Builder;<init>(ZZZLnet/minecraft/client/render/model/json/ModelTransformation;Lnet/minecraft/client/render/model/json/ModelOverrideList;)V
  • Method Details

    • addQuad

      public BasicBakedModel.Builder addQuad(Direction side, BakedQuad quad)
      Mappings:
      Namespace Name Mixin selector
      official a Lfxb$a;a(Lha;Lfkr;)Lfxb$a;
      intermediary method_4745 Lnet/minecraft/class_1093$class_1094;method_4745(Lnet/minecraft/class_2350;Lnet/minecraft/class_777;)Lnet/minecraft/class_1093$class_1094;
      named addQuad Lnet/minecraft/client/render/model/BasicBakedModel$Builder;addQuad(Lnet/minecraft/util/math/Direction;Lnet/minecraft/client/render/model/BakedQuad;)Lnet/minecraft/client/render/model/BasicBakedModel$Builder;
    • addQuad

      public BasicBakedModel.Builder addQuad(BakedQuad quad)
      Mappings:
      Namespace Name Mixin selector
      official a Lfxb$a;a(Lfkr;)Lfxb$a;
      intermediary method_4748 Lnet/minecraft/class_1093$class_1094;method_4748(Lnet/minecraft/class_777;)Lnet/minecraft/class_1093$class_1094;
      named addQuad Lnet/minecraft/client/render/model/BasicBakedModel$Builder;addQuad(Lnet/minecraft/client/render/model/BakedQuad;)Lnet/minecraft/client/render/model/BasicBakedModel$Builder;
    • setParticle

      public BasicBakedModel.Builder setParticle(Sprite sprite)
      Mappings:
      Namespace Name Mixin selector
      official a Lfxb$a;a(Lfuv;)Lfxb$a;
      intermediary method_4747 Lnet/minecraft/class_1093$class_1094;method_4747(Lnet/minecraft/class_1058;)Lnet/minecraft/class_1093$class_1094;
      named setParticle Lnet/minecraft/client/render/model/BasicBakedModel$Builder;setParticle(Lnet/minecraft/client/texture/Sprite;)Lnet/minecraft/client/render/model/BasicBakedModel$Builder;
    • method_35809

      public BasicBakedModel.Builder method_35809()
      Mappings:
      Namespace Name Mixin selector
      official a Lfxb$a;a()Lfxb$a;
      intermediary method_35809 Lnet/minecraft/class_1093$class_1094;method_35809()Lnet/minecraft/class_1093$class_1094;
      named method_35809 Lnet/minecraft/client/render/model/BasicBakedModel$Builder;method_35809()Lnet/minecraft/client/render/model/BasicBakedModel$Builder;
    • build

      public BakedModel build()
      Mappings:
      Namespace Name Mixin selector
      official b Lfxb$a;b()Lfwr;
      intermediary method_4746 Lnet/minecraft/class_1093$class_1094;method_4746()Lnet/minecraft/class_1087;
      named build Lnet/minecraft/client/render/model/BasicBakedModel$Builder;build()Lnet/minecraft/client/render/model/BakedModel;