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
named net/minecraft/client/render/model/BasicBakedModel$Builder
intermediary net/minecraft/class_1093$class_1094
official gsx$a
  • Field Details

    • quads

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

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

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

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

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

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

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

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

    • Builder

      public Builder(JsonUnbakedModel unbakedModel, ModelOverrideList itemPropertyOverrides, boolean hasDepth)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary <init> Lnet/minecraft/class_1093$class_1094;<init>(Lnet/minecraft/class_793;Lnet/minecraft/class_806;Z)V
      official <init> Lgsx$a;<init>(Lggb;Lggg;Z)V
    • Builder

      private Builder(boolean usesAo, boolean isSideLit, boolean hasDepth, ModelTransformation transformation, ModelOverrideList itemPropertyOverrides)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary <init> Lnet/minecraft/class_1093$class_1094;<init>(ZZZLnet/minecraft/class_809;Lnet/minecraft/class_806;)V
      official <init> Lgsx$a;<init>(ZZZLggi;Lggg;)V
  • Method Details

    • addQuad

      public BasicBakedModel.Builder addQuad(Direction side, BakedQuad quad)
      Mappings:
      Namespace Name Mixin selector
      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;
      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;
      official a Lgsx$a;a(Lji;Lgfw;)Lgsx$a;
    • addQuad

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

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

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

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