Class WeightedBlockStateModel
java.lang.Object
net.minecraft.client.render.model.WeightedBlockStateModel
- All Implemented Interfaces:
BlockStateModel
- Mappings:
Namespace Name named net/minecraft/client/render/model/WeightedBlockStateModelintermediary net/minecraft/class_1097official 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 TypeMethodDescriptionvoidaddParts(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, waitMethods inherited from interface net.minecraft.client.render.model.BlockStateModel
getParts
-
Field Details
-
models
- Mappings:
Namespace Name Mixin selector named modelsLnet/minecraft/client/render/model/WeightedBlockStateModel;models:Lnet/minecraft/util/collection/Pool;intermediary field_5434Lnet/minecraft/class_1097;field_5434:Lnet/minecraft/class_6012;official aLhnm;a:Lbtm;
-
particleSprite
- Mappings:
Namespace Name Mixin selector named particleSpriteLnet/minecraft/client/render/model/WeightedBlockStateModel;particleSprite:Lnet/minecraft/client/texture/Sprite;intermediary field_57028Lnet/minecraft/class_1097;field_57028:Lnet/minecraft/class_1058;official bLhnm;b:Lhkq;
-
-
Constructor Details
-
WeightedBlockStateModel
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/render/model/WeightedBlockStateModel;<init>(Lnet/minecraft/util/collection/Pool;)Vintermediary <init>Lnet/minecraft/class_1097;<init>(Lnet/minecraft/class_6012;)Vofficial <init>Lhnm;<init>(Lbtm;)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:
particleSpritein interfaceBlockStateModel- 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;
-
addParts
- Specified by:
addPartsin interfaceBlockStateModel- 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
-