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 gzi
  • Field Details

    • part

      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 Lgzi;a:Lgza;
  • Constructor Details

    • SimpleBlockStateModel

      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> Lgzi;<init>(Lgza;)V
  • Method Details

    • 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
    • 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;