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 gtp
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static final class
static class
static final record
Nested classes/interfaces inherited from interface net.minecraft.client.render.model.BlockStateModel
BlockStateModel.CachedUnbaked, BlockStateModel.Unbaked, BlockStateModel.UnbakedGrouped
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final MultipartBlockStateModel.MultipartBakedModel
private @Nullable List
<BlockStateModel> private final BlockState
-
Constructor Summary
ConstructorsConstructorDescriptionMultipartBlockStateModel
(MultipartBlockStateModel.MultipartBakedModel bakedModels, BlockState state) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addParts
(Random random, List<BlockModelPart> parts) Returns a texture that represents the model.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.client.render.model.BlockStateModel
getParts
-
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
Lgtp;a:Lgtp$b;
-
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
Lgtp;b:Lebq;
-
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
Lgtp;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>
Lgtp;<init>(Lgtp$b;Lebq;)V
-
-
Method Details
-
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 interfaceBlockStateModel
- 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;
-
addParts
- Specified by:
addParts
in interfaceBlockStateModel
- 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
-