Class MultipartBlockStateModel

java.lang.Object
net.minecraft.client.render.model.MultipartBlockStateModel
All Implemented Interfaces:
BlockStateModel

@Environment(CLIENT) public class MultipartBlockStateModel extends Object implements BlockStateModel
Mappings:
Namespace Name
named net/minecraft/client/render/model/MultipartBlockStateModel
intermediary net/minecraft/class_10895
official gzq
  • Field Details

    • bakedModels

      Mappings:
      Namespace Name Mixin selector
      named bakedModels Lnet/minecraft/client/render/model/MultipartBlockStateModel;bakedModels:Lnet/minecraft/client/render/model/MultipartBlockStateModel$MultipartBakedModel;
      intermediary field_57948 Lnet/minecraft/class_10895;field_57948:Lnet/minecraft/class_10895$class_1095;
      official a Lgzq;a:Lgzq$b;
    • state

      private final BlockState state
      Mappings:
      Namespace Name Mixin selector
      named state Lnet/minecraft/client/render/model/MultipartBlockStateModel;state:Lnet/minecraft/block/BlockState;
      intermediary field_57949 Lnet/minecraft/class_10895;field_57949:Lnet/minecraft/class_2680;
      official b Lgzq;b:Leeb;
    • models

      Mappings:
      Namespace Name Mixin selector
      named models Lnet/minecraft/client/render/model/MultipartBlockStateModel;models:Ljava/util/List;
      intermediary field_57950 Lnet/minecraft/class_10895;field_57950:Ljava/util/List;
      official c Lgzq;c:Ljava/util/List;
  • Constructor Details

    • MultipartBlockStateModel

      MultipartBlockStateModel(MultipartBlockStateModel.MultipartBakedModel bakedModels, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/MultipartBlockStateModel;<init>(Lnet/minecraft/client/render/model/MultipartBlockStateModel$MultipartBakedModel;Lnet/minecraft/block/BlockState;)V
      intermediary <init> Lnet/minecraft/class_10895;<init>(Lnet/minecraft/class_10895$class_1095;Lnet/minecraft/class_2680;)V
      official <init> Lgzq;<init>(Lgzq$b;Leeb;)V
  • Method Details

    • particleSprite

      public Sprite particleSprite()
      Returns a texture that represents the model.

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

      Specified by:
      particleSprite in interface BlockStateModel
      Returns:
      a texture that represents the model
      Mappings:
      Namespace Name Mixin selector
      named particleSprite Lnet/minecraft/client/render/model/BlockStateModel;particleSprite()Lnet/minecraft/client/texture/Sprite;
      intermediary method_68511 Lnet/minecraft/class_1087;method_68511()Lnet/minecraft/class_1058;
      official a Lgzb;a()Lhrr;
    • addParts

      public void addParts(Random random, List<BlockModelPart> parts)
      Specified by:
      addParts in interface BlockStateModel
      Mappings:
      Namespace Name Mixin selector
      named addParts Lnet/minecraft/client/render/model/BlockStateModel;addParts(Lnet/minecraft/util/math/random/Random;Ljava/util/List;)V
      intermediary method_68513 Lnet/minecraft/class_1087;method_68513(Lnet/minecraft/class_5819;Ljava/util/List;)V
      official a Lgzb;a(Lbck;Ljava/util/List;)V