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,CodEntityModel,CreeperEntityModel,DolphinEntityModel,EndermiteEntityModel,EvokerFangsEntityModel,FrogEntityModel,GhastEntityModel,GuardianEntityModel,IllagerEntityModel,IronGolemEntityModel,LargePufferfishEntityModel,LeashKnotEntityModel,LlamaSpitEntityModel,MagmaCubeEntityModel,MediumPufferfishEntityModel,MinecartEntityModel,ParrotEntityModel,PhantomEntityModel,RavagerEntityModel,SalmonEntityModel,ShulkerBulletEntityModel,SilverfishEntityModel,SlimeEntityModel,SmallPufferfishEntityModel,SnowGolemEntityModel,SpiderEntityModel,SquidEntityModel,StriderEntityModel,TintableCompositeModel,VillagerResemblingModel,WardenEntityModel,WitherEntityModel
@Environment(CLIENT)
public abstract class SinglePartEntityModel<E extends Entity>
extends EntityModel<E>
- Mappings:
Namespace Name official epcintermediary net/minecraft/class_5597named net/minecraft/client/render/entity/model/SinglePartEntityModel
-
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 TypeMethodDescriptionabstract 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) protected voidupdateAnimation(AnimationState animationState, Animation animation, float float2) Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo, setAngles
-
Field Details
-
field_39195
- Mappings:
Namespace Name Mixin selector official aLepc;a:Lk;intermediary field_39195Lnet/minecraft/class_5597;field_39195:Lnet/minecraft/class_1160;named field_39195Lnet/minecraft/client/render/entity/model/SinglePartEntityModel;field_39195:Lnet/minecraft/util/math/Vec3f;
-
-
Constructor Details
-
SinglePartEntityModel
public SinglePartEntityModel() -
SinglePartEntityModel
- Mappings:
Namespace Name Mixin selector official <init>Lepo;<init>(Ljava/util/function/Function;)Vintermediary <init>Lnet/minecraft/class_3879;<init>(Ljava/util/function/Function;)Vnamed <init>Lnet/minecraft/client/model/Model;<init>(Ljava/util/function/Function;)V
-
-
Method Details
-
render
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.- Specified by:
renderin classModel- Parameters:
light- the lightmap coordinates used for this model rendering- Mappings:
Namespace Name Mixin selector official aLepo;a(Ldyp;Ldyt;IIFFFF)Vintermediary method_2828Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)Vnamed renderLnet/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 aLepc;a()Lern;intermediary method_32008Lnet/minecraft/class_5597;method_32008()Lnet/minecraft/class_630;named getPartLnet/minecraft/client/render/entity/model/SinglePartEntityModel;getPart()Lnet/minecraft/client/model/ModelPart;
-
getChild
- Mappings:
Namespace Name Mixin selector official aLepc;a(Ljava/lang/String;)Ljava/util/Optional;intermediary method_41909Lnet/minecraft/class_5597;method_41909(Ljava/lang/String;)Ljava/util/Optional;named getChildLnet/minecraft/client/render/entity/model/SinglePartEntityModel;getChild(Ljava/lang/String;)Ljava/util/Optional;
-
updateAnimation
- Mappings:
Namespace Name Mixin selector official aLepc;a(Lazq;Leei;)Vintermediary method_43781Lnet/minecraft/class_5597;method_43781(Lnet/minecraft/class_7094;Lnet/minecraft/class_7184;)Vnamed updateAnimationLnet/minecraft/client/render/entity/model/SinglePartEntityModel;updateAnimation(Lnet/minecraft/entity/AnimationState;Lnet/minecraft/client/render/entity/animation/Animation;)V
-
updateAnimation
- Mappings:
Namespace Name Mixin selector official aLepc;a(Lazq;Leei;F)Vintermediary method_43782Lnet/minecraft/class_5597;method_43782(Lnet/minecraft/class_7094;Lnet/minecraft/class_7184;F)Vnamed updateAnimationLnet/minecraft/client/render/entity/model/SinglePartEntityModel;updateAnimation(Lnet/minecraft/entity/AnimationState;Lnet/minecraft/client/render/entity/animation/Animation;F)V
-