Class WeightedBlockStateModel
java.lang.Object
net.minecraft.client.render.model.WeightedBlockStateModel
- All Implemented Interfaces:
BlockStateModel
- Mappings:
Namespace Name named net/minecraft/client/render/model/WeightedBlockStateModel
intermediary net/minecraft/class_1097
official hnm
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.client.render.model.BlockStateModel
BlockStateModel.CachedUnbaked, BlockStateModel.UnbakedGrouped
-
Field Summary
Fields -
Constructor Summary
Constructors -
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
-
models
- Mappings:
Namespace Name Mixin selector named models
Lnet/minecraft/client/render/model/WeightedBlockStateModel;models:Lnet/minecraft/util/collection/Pool;
intermediary field_5434
Lnet/minecraft/class_1097;field_5434:Lnet/minecraft/class_6012;
official a
Lhnm;a:Lbtm;
-
particleSprite
- Mappings:
Namespace Name Mixin selector named particleSprite
Lnet/minecraft/client/render/model/WeightedBlockStateModel;particleSprite:Lnet/minecraft/client/texture/Sprite;
intermediary field_57028
Lnet/minecraft/class_1097;field_57028:Lnet/minecraft/class_1058;
official b
Lhnm;b:Lhkq;
-
-
Constructor Details
-
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
-