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 hed$a
  • Field Details

    • quads

      private final ImmutableList.Builder<BakedQuad> quads
      Mappings:
      Namespace Name Mixin selector
      named quads Lnet/minecraft/client/render/model/BasicBakedModel$Builder;quads:Lcom/google/common/collect/ImmutableList$Builder;
      intermediary field_5419 Lnet/minecraft/class_1093$class_1094;field_5419:Lcom/google/common/collect/ImmutableList$Builder;
      official a Lhed$a;a:Lcom/google/common/collect/ImmutableList$Builder;
    • faceQuads

      private final EnumMap<Direction,ImmutableList.Builder<BakedQuad>> faceQuads
      Mappings:
      Namespace Name Mixin selector
      named faceQuads Lnet/minecraft/client/render/model/BasicBakedModel$Builder;faceQuads:Ljava/util/EnumMap;
      intermediary field_5422 Lnet/minecraft/class_1093$class_1094;field_5422:Ljava/util/EnumMap;
      official b Lhed$a;b:Ljava/util/EnumMap;
    • 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 c Lhed$a;c:Z
    • particleTexture

      @Nullable private @Nullable 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 d Lhed$a;d:Lhbk;
    • 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 e Lhed$a;e: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 f Lhed$a;f: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 g Lhed$a;g:Lgnc;
  • Constructor Details

    • Builder

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

      private Builder(boolean usesAo, boolean isSideLit, boolean hasDepth, ModelTransformation transformation)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/BasicBakedModel$Builder;<init>(ZZZLnet/minecraft/client/render/model/json/ModelTransformation;)V
      intermediary <init> Lnet/minecraft/class_1093$class_1094;<init>(ZZZLnet/minecraft/class_809;)V
      official <init> Lhed$a;<init>(ZZZLgnc;)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 Lhed$a;a(Ljm;Lgmr;)Lhed$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 Lhed$a;a(Lgmr;)Lhed$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 Lhed$a;a(Lhbk;)Lhed$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 Lhed$a;a()Lhed$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 Lhed$a;b()Lhdm;