Interface BakedModel
- All Known Implementing Classes:
BasicBakedModel,BuiltinBakedModel,MultipartBakedModel,WeightedBakedModel
- Mappings:
Namespace Name named net/minecraft/client/render/model/BakedModelintermediary net/minecraft/class_1087official grb
-
Method Summary
Modifier and TypeMethodDescriptionReturns a texture that represents the model.getQuads(@Nullable BlockState state, @Nullable Direction face, Random random) booleanhasDepth()booleanbooleanAllows control of the lighting when rendering a model in a GUI.boolean
-
Method Details
-
getQuads
List<BakedQuad> getQuads(@Nullable @Nullable BlockState state, @Nullable @Nullable Direction face, Random random) - Mappings:
Namespace Name Mixin selector named getQuadsLnet/minecraft/client/render/model/BakedModel;getQuads(Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/Direction;Lnet/minecraft/util/math/random/Random;)Ljava/util/List;intermediary method_4707Lnet/minecraft/class_1087;method_4707(Lnet/minecraft/class_2680;Lnet/minecraft/class_2350;Lnet/minecraft/class_5819;)Ljava/util/List;official aLgrb;a(Ldsd;Lje;Lazh;)Ljava/util/List;
-
useAmbientOcclusion
boolean useAmbientOcclusion()- Mappings:
Namespace Name Mixin selector named useAmbientOcclusionLnet/minecraft/client/render/model/BakedModel;useAmbientOcclusion()Zintermediary method_4708Lnet/minecraft/class_1087;method_4708()Zofficial aLgrb;a()Z
-
hasDepth
boolean hasDepth()- Mappings:
Namespace Name Mixin selector named hasDepthLnet/minecraft/client/render/model/BakedModel;hasDepth()Zintermediary method_4712Lnet/minecraft/class_1087;method_4712()Zofficial bLgrb;b()Z
-
isSideLit
boolean isSideLit()Allows control of the lighting when rendering a model in a GUI.True, the model will be lit from the side, like a block.
False, the model will be lit from the front, like an item.
- Mappings:
Namespace Name Mixin selector named isSideLitLnet/minecraft/client/render/model/BakedModel;isSideLit()Zintermediary method_24304Lnet/minecraft/class_1087;method_24304()Zofficial cLgrb;c()Z
-
isBuiltin
boolean isBuiltin()- Mappings:
Namespace Name Mixin selector named isBuiltinLnet/minecraft/client/render/model/BakedModel;isBuiltin()Zintermediary method_4713Lnet/minecraft/class_1087;method_4713()Zofficial dLgrb;d()Z
-
getParticleSprite
Sprite getParticleSprite()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 getParticleSpriteLnet/minecraft/client/render/model/BakedModel;getParticleSprite()Lnet/minecraft/client/texture/Sprite;intermediary method_4711Lnet/minecraft/class_1087;method_4711()Lnet/minecraft/class_1058;official eLgrb;e()Lgpa;
-
getTransformation
ModelTransformation getTransformation()- Mappings:
Namespace Name Mixin selector named getTransformationLnet/minecraft/client/render/model/BakedModel;getTransformation()Lnet/minecraft/client/render/model/json/ModelTransformation;intermediary method_4709Lnet/minecraft/class_1087;method_4709()Lnet/minecraft/class_809;official fLgrb;f()Lgey;
-
getOverrides
ModelOverrideList getOverrides()- Mappings:
Namespace Name Mixin selector named getOverridesLnet/minecraft/client/render/model/BakedModel;getOverrides()Lnet/minecraft/client/render/model/json/ModelOverrideList;intermediary method_4710Lnet/minecraft/class_1087;method_4710()Lnet/minecraft/class_806;official gLgrb;g()Lgew;
-