Class SimpleBlockStateModel

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

@Environment(CLIENT) public class SimpleBlockStateModel extends Object implements BlockStateModel
Mappings:
Namespace Name
named net/minecraft/client/render/model/SimpleBlockStateModel
intermediary net/minecraft/class_10893
official gth
  • Field Details Link icon

    • part Link icon

      private final BlockModelPart part
      Mappings:
      Namespace Name Mixin selector
      named part Lnet/minecraft/client/render/model/SimpleBlockStateModel;part:Lnet/minecraft/client/render/model/BlockModelPart;
      intermediary field_57945 Lnet/minecraft/class_10893;field_57945:Lnet/minecraft/class_10889;
      official a Lgth;a:Lgsz;
  • Constructor Details Link icon

    • SimpleBlockStateModel Link icon

      public SimpleBlockStateModel(BlockModelPart part)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/render/model/SimpleBlockStateModel;<init>(Lnet/minecraft/client/render/model/BlockModelPart;)V
      intermediary <init> Lnet/minecraft/class_10893;<init>(Lnet/minecraft/class_10889;)V
      official <init> Lgth;<init>(Lgsz;)V
  • Method Details Link icon

    • addParts Link icon

      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 Lgta;a(Lbai;Ljava/util/List;)V
    • particleSprite Link icon

      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 Lgta;a()Lhkq;