Class SinglePartEntityModel<E extends Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.client.render.entity.model.SinglePartEntityModel<E>
- Direct Known Subclasses:
- AllayEntityModel,- BatEntityModel,- BlazeEntityModel,- CamelEntityModel,- CodEntityModel,- CreeperEntityModel,- DolphinEntityModel,- EndermiteEntityModel,- EvokerFangsEntityModel,- FrogEntityModel,- GhastEntityModel,- GuardianEntityModel,- IllagerEntityModel,- IronGolemEntityModel,- LargePufferfishEntityModel,- LeashKnotEntityModel,- LlamaSpitEntityModel,- MagmaCubeEntityModel,- MediumPufferfishEntityModel,- MinecartEntityModel,- ParrotEntityModel,- PhantomEntityModel,- RavagerEntityModel,- SalmonEntityModel,- ShulkerBulletEntityModel,- SilverfishEntityModel,- SinglePartEntityModelWithChildTransform,- SlimeEntityModel,- SmallPufferfishEntityModel,- SnowGolemEntityModel,- SpiderEntityModel,- SquidEntityModel,- StriderEntityModel,- TintableCompositeModel,- VexEntityModel,- VillagerResemblingModel,- WardenEntityModel,- WitherEntityModel
@Environment(CLIENT)
public abstract class SinglePartEntityModel<E extends Entity>
extends EntityModel<E>
- Mappings:
- Namespace - Name - official - fbo- intermediary - net/minecraft/class_5597- named - net/minecraft/client/render/entity/model/SinglePartEntityModel
- 
Field SummaryFieldsFields inherited from class net.minecraft.client.render.entity.model.EntityModelchild, handSwingProgress, ridingFields inherited from class net.minecraft.client.model.ModellayerFactory
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidprotected voidanimateMovement(Animation animation, float limbAngle, float limbDistance, float limbAngleScale, float limbDistanceScale) abstract ModelPartgetPart()voidrender(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.protected voidupdateAnimation(AnimationState animationState, Animation animation, float animationProgress) protected voidupdateAnimation(AnimationState animationState, Animation animation, float animationProgress, float speedMultiplier) Methods inherited from class net.minecraft.client.render.entity.model.EntityModelanimateModel, copyStateTo, setAngles
- 
Field Details- 
TEMP- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfbo;a:Lorg/joml/Vector3f;- intermediary - field_39195- Lnet/minecraft/class_5597;field_39195:Lorg/joml/Vector3f;- named - TEMP- Lnet/minecraft/client/render/entity/model/SinglePartEntityModel;TEMP:Lorg/joml/Vector3f;
 
 
- 
- 
Constructor Details- 
SinglePartEntityModelpublic SinglePartEntityModel()
- 
SinglePartEntityModel- Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lfcb;<init>(Ljava/util/function/Function;)V- intermediary - <init>- Lnet/minecraft/class_3879;<init>(Ljava/util/function/Function;)V- named - <init>- Lnet/minecraft/client/model/Model;<init>(Ljava/util/function/Function;)V
 
 
- 
- 
Method Details- 
renderpublic void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.- Specified by:
- renderin class- Model
- Parameters:
- light- the lightmap coordinates used for this model rendering
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfcb;a(Leij;Lein;IIFFFF)V- intermediary - method_2828- Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)V- named - render- Lnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
 
- 
getPart- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfbo;a()Lfee;- intermediary - method_32008- Lnet/minecraft/class_5597;method_32008()Lnet/minecraft/class_630;- named - getPart- Lnet/minecraft/client/render/entity/model/SinglePartEntityModel;getPart()Lnet/minecraft/client/model/ModelPart;
 
- 
getChild- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfbo;a(Ljava/lang/String;)Ljava/util/Optional;- intermediary - method_41909- Lnet/minecraft/class_5597;method_41909(Ljava/lang/String;)Ljava/util/Optional;- named - getChild- Lnet/minecraft/client/render/entity/model/SinglePartEntityModel;getChild(Ljava/lang/String;)Ljava/util/Optional;
 
- 
updateAnimationprotected void updateAnimation(AnimationState animationState, Animation animation, float animationProgress) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lfbo;a(Lbff;Leoe;F)V- intermediary - method_43781- Lnet/minecraft/class_5597;method_43781(Lnet/minecraft/class_7094;Lnet/minecraft/class_7184;F)V- named - updateAnimation- Lnet/minecraft/client/render/entity/model/SinglePartEntityModel;updateAnimation(Lnet/minecraft/entity/AnimationState;Lnet/minecraft/client/render/entity/animation/Animation;F)V
 
- 
animateMovementprotected void animateMovement(Animation animation, float limbAngle, float limbDistance, float limbAngleScale, float limbDistanceScale) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lfbo;a(Leoe;FFFF)V- intermediary - method_48741- Lnet/minecraft/class_5597;method_48741(Lnet/minecraft/class_7184;FFFF)V- named - animateMovement- Lnet/minecraft/client/render/entity/model/SinglePartEntityModel;animateMovement(Lnet/minecraft/client/render/entity/animation/Animation;FFFF)V
 
- 
updateAnimationprotected void updateAnimation(AnimationState animationState, Animation animation, float animationProgress, float speedMultiplier) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lfbo;a(Lbff;Leoe;FF)V- intermediary - method_43782- Lnet/minecraft/class_5597;method_43782(Lnet/minecraft/class_7094;Lnet/minecraft/class_7184;FF)V- named - updateAnimation- Lnet/minecraft/client/render/entity/model/SinglePartEntityModel;updateAnimation(Lnet/minecraft/entity/AnimationState;Lnet/minecraft/client/render/entity/animation/Animation;FF)V
 
- 
animate- Mappings:
- Namespace - Name - Mixin selector - official - a- Lfbo;a(Leoe;)V- intermediary - method_52185- Lnet/minecraft/class_5597;method_52185(Lnet/minecraft/class_7184;)V- named - animate- Lnet/minecraft/client/render/entity/model/SinglePartEntityModel;animate(Lnet/minecraft/client/render/entity/animation/Animation;)V
 
 
-