Interface BlockStateModel
- All Known Implementing Classes:
MultipartBlockStateModel,SimpleBlockStateModel,WeightedBlockStateModel
- Mappings:
Namespace Name named net/minecraft/client/render/model/BlockStateModelintermediary net/minecraft/class_1087official gta
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classstatic interfacestatic interface -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParts(Random random, List<BlockModelPart> parts) default List<BlockModelPart> Returns a texture that represents the model.
-
Method Details
-
addParts
- Mappings:
Namespace Name Mixin selector named addPartsLnet/minecraft/client/render/model/BlockStateModel;addParts(Lnet/minecraft/util/math/random/Random;Ljava/util/List;)Vintermediary method_68513Lnet/minecraft/class_1087;method_68513(Lnet/minecraft/class_5819;Ljava/util/List;)Vofficial aLgta;a(Lbai;Ljava/util/List;)V
-
getParts
- Mappings:
Namespace Name Mixin selector named getPartsLnet/minecraft/client/render/model/BlockStateModel;getParts(Lnet/minecraft/util/math/random/Random;)Ljava/util/List;intermediary method_68512Lnet/minecraft/class_1087;method_68512(Lnet/minecraft/class_5819;)Ljava/util/List;official aLgta;a(Lbai;)Ljava/util/List;
-
particleSprite
Sprite particleSprite()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 particleSpriteLnet/minecraft/client/render/model/BlockStateModel;particleSprite()Lnet/minecraft/client/texture/Sprite;intermediary method_68511Lnet/minecraft/class_1087;method_68511()Lnet/minecraft/class_1058;official aLgta;a()Lhkq;
-