Interface BakedModel

All Known Implementing Classes:
BasicBakedModel, BuiltinBakedModel, MultipartBakedModel, WeightedBakedModel

@Environment(CLIENT) public interface BakedModel
Mappings:
Namespace Name
named net/minecraft/client/render/model/BakedModel
intermediary net/minecraft/class_1087
official gsg
  • Method Details

    • getQuads

      Mappings:
      Namespace Name Mixin selector
      named getQuads Lnet/minecraft/client/render/model/BakedModel;getQuads(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/random/Random;)Ljava/util/List;
      intermediary method_4707 Lnet/minecraft/class_1087;method_4707(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_5819;)Ljava/util/List;
      official a Lgsg;a(Ldta;Lji;Layv;)Ljava/util/List;
    • useAmbientOcclusion

      boolean useAmbientOcclusion()
      Mappings:
      Namespace Name Mixin selector
      named useAmbientOcclusion Lnet/minecraft/client/render/model/BakedModel;useAmbientOcclusion()Z
      intermediary method_4708 Lnet/minecraft/class_1087;method_4708()Z
      official a Lgsg;a()Z
    • hasDepth

      boolean hasDepth()
      Mappings:
      Namespace Name Mixin selector
      named hasDepth Lnet/minecraft/client/render/model/BakedModel;hasDepth()Z
      intermediary method_4712 Lnet/minecraft/class_1087;method_4712()Z
      official b Lgsg;b()Z
    • isSideLit

      boolean isSideLit()
      Allows control of the lighting when rendering a model in a GUI.

      True, the model will be lit from the side, like a block.

      False, the model will be lit from the front, like an item.

      Mappings:
      Namespace Name Mixin selector
      named isSideLit Lnet/minecraft/client/render/model/BakedModel;isSideLit()Z
      intermediary method_24304 Lnet/minecraft/class_1087;method_24304()Z
      official c Lgsg;c()Z
    • isBuiltin

      boolean isBuiltin()
      Mappings:
      Namespace Name Mixin selector
      named isBuiltin Lnet/minecraft/client/render/model/BakedModel;isBuiltin()Z
      intermediary method_4713 Lnet/minecraft/class_1087;method_4713()Z
      official d Lgsg;d()Z
    • getParticleSprite

      Sprite getParticleSprite()
      Returns a texture that represents the model.

      This is primarily used in particles. For example, block break particles use this sprite.

      Returns:
      a texture that represents the model
      Mappings:
      Namespace Name Mixin selector
      named getParticleSprite Lnet/minecraft/client/render/model/BakedModel;getParticleSprite()Lnet/minecraft/client/texture/Sprite;
      intermediary method_4711 Lnet/minecraft/class_1087;method_4711()Lnet/minecraft/class_1058;
      official e Lgsg;e()Lgqf;
    • getTransformation

      ModelTransformation getTransformation()
      Mappings:
      Namespace Name Mixin selector
      named getTransformation Lnet/minecraft/client/render/model/BakedModel;getTransformation()Lnet/minecraft/client/render/model/json/ModelTransformation;
      intermediary method_4709 Lnet/minecraft/class_1087;method_4709()Lnet/minecraft/class_809;
      official f Lgsg;f()Lggc;
    • getOverrides

      ModelOverrideList getOverrides()
      Mappings:
      Namespace Name Mixin selector
      named getOverrides Lnet/minecraft/client/render/model/BakedModel;getOverrides()Lnet/minecraft/client/render/model/json/ModelOverrideList;
      intermediary method_4710 Lnet/minecraft/class_1087;method_4710()Lnet/minecraft/class_806;
      official g Lgsg;g()Lgga;