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,BreezeEntityModel,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,WindChargeEntityModel,WitherEntityModel
@Environment(CLIENT)
public abstract class SinglePartEntityModel<E extends Entity>
extends EntityModel<E>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/model/SinglePartEntityModelintermediary net/minecraft/class_5597official fvn
-
Field Summary
FieldsFields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, ridingFields inherited from class net.minecraft.client.model.Model
layerFactory -
Constructor Summary
Constructors -
Method Summary
Modifier 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, int int2) 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.EntityModel
animateModel, copyStateTo, setAnglesMethods inherited from class net.minecraft.client.model.Model
getLayer, method_60879
-
Field Details
-
TEMP
- Mappings:
Namespace Name Mixin selector named TEMPLnet/minecraft/client/render/entity/model/SinglePartEntityModel;TEMP:Lorg/joml/Vector3f;intermediary field_39195Lnet/minecraft/class_5597;field_39195:Lorg/joml/Vector3f;official aLfvn;a:Lorg/joml/Vector3f;
-
-
Constructor Details
-
SinglePartEntityModel
public SinglePartEntityModel() -
SinglePartEntityModel
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/model/Model;<init>(Ljava/util/function/Function;)Vintermediary <init>Lnet/minecraft/class_3879;<init>(Ljava/util/function/Function;)Vofficial <init>Lfwa;<init>(Ljava/util/function/Function;)V
-
-
Method Details
-
render
Renders the model.- Specified by:
renderin classModel- Parameters:
light- the lightmap coordinates used for this model rendering- Mappings:
Namespace Name Mixin selector named renderLnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;III)Vintermediary method_2828Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;III)Vofficial aLfwa;a(Lfbc;Lfbg;III)V
-
getPart
- Mappings:
Namespace Name Mixin selector named getPartLnet/minecraft/client/render/entity/model/SinglePartEntityModel;getPart()Lnet/minecraft/client/model/ModelPart;intermediary method_32008Lnet/minecraft/class_5597;method_32008()Lnet/minecraft/class_630;official aLfvn;a()Lfye;
-
getChild
- Mappings:
Namespace Name Mixin selector named getChildLnet/minecraft/client/render/entity/model/SinglePartEntityModel;getChild(Ljava/lang/String;)Ljava/util/Optional;intermediary method_41909Lnet/minecraft/class_5597;method_41909(Ljava/lang/String;)Ljava/util/Optional;official aLfvn;a(Ljava/lang/String;)Ljava/util/Optional;
-
updateAnimation
protected void updateAnimation(AnimationState animationState, Animation animation, float animationProgress) - Mappings:
Namespace Name Mixin selector named updateAnimationLnet/minecraft/client/render/entity/model/SinglePartEntityModel;updateAnimation(Lnet/minecraft/entity/AnimationState;Lnet/minecraft/client/render/entity/animation/Animation;F)Vintermediary method_43781Lnet/minecraft/class_5597;method_43781(Lnet/minecraft/class_7094;Lnet/minecraft/class_7184;F)Vofficial aLfvn;a(Lbsl;Lfgx;F)V
-
animateMovement
protected void animateMovement(Animation animation, float limbAngle, float limbDistance, float limbAngleScale, float limbDistanceScale) - Mappings:
Namespace Name Mixin selector named animateMovementLnet/minecraft/client/render/entity/model/SinglePartEntityModel;animateMovement(Lnet/minecraft/client/render/entity/animation/Animation;FFFF)Vintermediary method_48741Lnet/minecraft/class_5597;method_48741(Lnet/minecraft/class_7184;FFFF)Vofficial aLfvn;a(Lfgx;FFFF)V
-
updateAnimation
protected void updateAnimation(AnimationState animationState, Animation animation, float animationProgress, float speedMultiplier) - Mappings:
Namespace Name Mixin selector named updateAnimationLnet/minecraft/client/render/entity/model/SinglePartEntityModel;updateAnimation(Lnet/minecraft/entity/AnimationState;Lnet/minecraft/client/render/entity/animation/Animation;FF)Vintermediary method_43782Lnet/minecraft/class_5597;method_43782(Lnet/minecraft/class_7094;Lnet/minecraft/class_7184;FF)Vofficial aLfvn;a(Lbsl;Lfgx;FF)V
-
animate
- Mappings:
Namespace Name Mixin selector named animateLnet/minecraft/client/render/entity/model/SinglePartEntityModel;animate(Lnet/minecraft/client/render/entity/animation/Animation;)Vintermediary method_52185Lnet/minecraft/class_5597;method_52185(Lnet/minecraft/class_7184;)Vofficial aLfvn;a(Lfgx;)V
-