Interface BakedModel

All Known Implementing Classes:
GeometryBakedModel, MultipartBakedModel, WeightedBakedModel

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

    • getQuads

      List<BakedQuad> getQuads(BlockState state, @Nullable @Nullable Direction face, Random random)
      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 Lgry;a(Leao;Ljb;Lazv;)Ljava/util/List;
    • useAmbientOcclusion

      boolean useAmbientOcclusion()
      Mappings:
      Namespace Name Mixin selector
      named useAmbientOcclusion Lnet/minecraft/client/render/model/BakedModel;useAmbientOcclusion()Z
      intermediary comp_3751 Lnet/minecraft/class_1087;comp_3751()Z
      official a Lgry;a()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 comp_3752 Lnet/minecraft/class_1087;comp_3752()Lnet/minecraft/class_1058;
      official b Lgry;b()Lhjk;