Class BasicBakedModel

java.lang.Object
net.minecraft.client.render.model.BasicBakedModel
All Implemented Interfaces:
BakedModel

@Environment(CLIENT)
public class BasicBakedModel
extends Object
implements BakedModel
Mappings:
Namespace Name
official bow
intermediary net/minecraft/class_1294
named net/minecraft/client/render/model/BasicBakedModel
  • Field Details

    • quads

      protected final List<BakedQuad> quads
      Mappings:
      Namespace Name Mixin selector
      official a Lbow;a:Ljava/util/List;
      intermediary field_5382 Lnet/minecraft/class_1294;field_5382:Ljava/util/List;
      named quads Lnet/minecraft/client/render/model/BasicBakedModel;quads:Ljava/util/List;
    • field_5383

      protected final List<List<BakedQuad>> field_5383
      Mappings:
      Namespace Name Mixin selector
      official b Lbow;b:Ljava/util/List;
      intermediary field_5383 Lnet/minecraft/class_1294;field_5383:Ljava/util/List;
      named field_5383 Lnet/minecraft/client/render/model/BasicBakedModel;field_5383:Ljava/util/List;
    • usesAo

      protected final boolean usesAo
      Mappings:
      Namespace Name Mixin selector
      official c Lbow;c:Z
      intermediary field_5384 Lnet/minecraft/class_1294;field_5384:Z
      named usesAo Lnet/minecraft/client/render/model/BasicBakedModel;usesAo:Z
    • hasDepth

      protected final boolean hasDepth
      Mappings:
      Namespace Name Mixin selector
      official d Lbow;d:Z
      intermediary field_5385 Lnet/minecraft/class_1294;field_5385:Z
      named hasDepth Lnet/minecraft/client/render/model/BasicBakedModel;hasDepth:Z
    • sprite

      protected final Sprite sprite
      Mappings:
      Namespace Name Mixin selector
      official e Lbow;e:Lbmi;
      intermediary field_5386 Lnet/minecraft/class_1294;field_5386:Lnet/minecraft/class_1231;
      named sprite Lnet/minecraft/client/render/model/BasicBakedModel;sprite:Lnet/minecraft/client/texture/Sprite;
    • transformation

      protected final ModelTransformation transformation
      Mappings:
      Namespace Name Mixin selector
      official f Lbow;f:Lbgr;
      intermediary field_5387 Lnet/minecraft/class_1294;field_5387:Lnet/minecraft/class_1080;
      named transformation Lnet/minecraft/client/render/model/BasicBakedModel;transformation:Lnet/minecraft/client/render/model/json/ModelTransformation;
  • Constructor Details

    • BasicBakedModel

      public BasicBakedModel​(List<BakedQuad> quads, List<List<BakedQuad>> list, boolean usesAo, boolean hasDepth, Sprite sprite, ModelTransformation modelTransformation)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbow;<init>(Ljava/util/List;Ljava/util/List;ZZLbmi;Lbgr;)V
      intermediary <init> Lnet/minecraft/class_1294;<init>(Ljava/util/List;Ljava/util/List;ZZLnet/minecraft/class_1231;Lnet/minecraft/class_1080;)V
      named <init> Lnet/minecraft/client/render/model/BasicBakedModel;<init>(Ljava/util/List;Ljava/util/List;ZZLnet/minecraft/client/texture/Sprite;Lnet/minecraft/client/render/model/json/ModelTransformation;)V
  • Method Details

    • getByDirection

      public List<BakedQuad> getByDirection​(Direction direction)
      Specified by:
      getByDirection in interface BakedModel
      Mappings:
      Namespace Name Mixin selector
      official a Lboq;a(Lcq;)Ljava/util/List;
      intermediary method_4453 Lnet/minecraft/class_1288;method_4453(Lnet/minecraft/class_1383;)Ljava/util/List;
      named getByDirection Lnet/minecraft/client/render/model/BakedModel;getByDirection(Lnet/minecraft/util/math/Direction;)Ljava/util/List;
    • getQuads

      public List<BakedQuad> getQuads()
      Specified by:
      getQuads in interface BakedModel
      Mappings:
      Namespace Name Mixin selector
      official a Lboq;a()Ljava/util/List;
      intermediary method_4452 Lnet/minecraft/class_1288;method_4452()Ljava/util/List;
      named getQuads Lnet/minecraft/client/render/model/BakedModel;getQuads()Ljava/util/List;
    • useAmbientOcclusion

      public boolean useAmbientOcclusion()
      Specified by:
      useAmbientOcclusion in interface BakedModel
      Mappings:
      Namespace Name Mixin selector
      official b Lboq;b()Z
      intermediary method_4454 Lnet/minecraft/class_1288;method_4454()Z
      named useAmbientOcclusion Lnet/minecraft/client/render/model/BakedModel;useAmbientOcclusion()Z
    • hasDepth

      public boolean hasDepth()
      Specified by:
      hasDepth in interface BakedModel
      Mappings:
      Namespace Name Mixin selector
      official c Lboq;c()Z
      intermediary method_4455 Lnet/minecraft/class_1288;method_4455()Z
      named hasDepth Lnet/minecraft/client/render/model/BakedModel;hasDepth()Z
    • isBuiltin

      public boolean isBuiltin()
      Specified by:
      isBuiltin in interface BakedModel
      Mappings:
      Namespace Name Mixin selector
      official d Lboq;d()Z
      intermediary method_4456 Lnet/minecraft/class_1288;method_4456()Z
      named isBuiltin Lnet/minecraft/client/render/model/BakedModel;isBuiltin()Z
    • getSprite

      public Sprite getSprite()
      Specified by:
      getSprite in interface BakedModel
      Mappings:
      Namespace Name Mixin selector
      official e Lboq;e()Lbmi;
      intermediary method_4457 Lnet/minecraft/class_1288;method_4457()Lnet/minecraft/class_1231;
      named getSprite Lnet/minecraft/client/render/model/BakedModel;getSprite()Lnet/minecraft/client/texture/Sprite;
    • getTransformation

      public ModelTransformation getTransformation()
      Specified by:
      getTransformation in interface BakedModel
      Mappings:
      Namespace Name Mixin selector
      official f Lboq;f()Lbgr;
      intermediary method_4458 Lnet/minecraft/class_1288;method_4458()Lnet/minecraft/class_1080;
      named getTransformation Lnet/minecraft/client/render/model/BakedModel;getTransformation()Lnet/minecraft/client/render/model/json/ModelTransformation;