Class CamelEntityModel<T extends CamelEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<T>
net.minecraft.client.render.entity.model.SinglePartEntityModel<T>
net.minecraft.client.render.entity.model.CamelEntityModel<T>
@Environment(CLIENT)
public class CamelEntityModel<T extends CamelEntity>
extends SinglePartEntityModel<T>
- Mappings:
Namespace Name named net/minecraft/client/render/entity/model/CamelEntityModel
intermediary net/minecraft/class_7751
official ftl
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
private static final float
private static final float
private final ModelPart
private static final float
private static final float
private final ModelPart[]
private static final String
private final ModelPart
private static final String
private final ModelPart[]
Fields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, riding
Fields inherited from class net.minecraft.client.model.Model
layerFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetPart()
static TexturedModelData
void
render
(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.void
private void
setHeadAngles
(T entity, float headYaw, float headPitch, float animationProgress) private void
updateVisibleParts
(T camel) Methods inherited from class net.minecraft.client.render.entity.model.SinglePartEntityModel
animate, animateMovement, getChild, updateAnimation, updateAnimation
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo
-
Field Details
-
LIMB_ANGLE_SCALE
private static final float LIMB_ANGLE_SCALE- See Also:
- Mappings:
Namespace Name Mixin selector named LIMB_ANGLE_SCALE
Lnet/minecraft/client/render/entity/model/CamelEntityModel;LIMB_ANGLE_SCALE:F
intermediary field_40459
Lnet/minecraft/class_7751;field_40459:F
official a
Lftl;a:F
-
LIMB_DISTANCE_SCALE
private static final float LIMB_DISTANCE_SCALE- See Also:
- Mappings:
Namespace Name Mixin selector named LIMB_DISTANCE_SCALE
Lnet/minecraft/client/render/entity/model/CamelEntityModel;LIMB_DISTANCE_SCALE:F
intermediary field_42227
Lnet/minecraft/class_7751;field_42227:F
official b
Lftl;b:F
-
field_43083
private static final float field_43083- See Also:
- Mappings:
Namespace Name Mixin selector named field_43083
Lnet/minecraft/client/render/entity/model/CamelEntityModel;field_43083:F
intermediary field_43083
Lnet/minecraft/class_7751;field_43083:F
official f
Lftl;f:F
-
field_43084
private static final float field_43084- See Also:
- Mappings:
Namespace Name Mixin selector named field_43084
Lnet/minecraft/client/render/entity/model/CamelEntityModel;field_43084:F
intermediary field_43084
Lnet/minecraft/class_7751;field_43084:F
official g
Lftl;g:F
-
SADDLE
- See Also:
- Mappings:
Namespace Name Mixin selector named SADDLE
Lnet/minecraft/client/render/entity/model/CamelEntityModel;SADDLE:Ljava/lang/String;
intermediary field_40460
Lnet/minecraft/class_7751;field_40460:Ljava/lang/String;
official h
Lftl;h:Ljava/lang/String;
-
BRIDLE
- See Also:
- Mappings:
Namespace Name Mixin selector named BRIDLE
Lnet/minecraft/client/render/entity/model/CamelEntityModel;BRIDLE:Ljava/lang/String;
intermediary field_40461
Lnet/minecraft/class_7751;field_40461:Ljava/lang/String;
official i
Lftl;i:Ljava/lang/String;
-
REINS
- See Also:
- Mappings:
Namespace Name Mixin selector named REINS
Lnet/minecraft/client/render/entity/model/CamelEntityModel;REINS:Ljava/lang/String;
intermediary field_40462
Lnet/minecraft/class_7751;field_40462:Ljava/lang/String;
official j
Lftl;j:Ljava/lang/String;
-
root
- Mappings:
Namespace Name Mixin selector named root
Lnet/minecraft/client/render/entity/model/CamelEntityModel;root:Lnet/minecraft/client/model/ModelPart;
intermediary field_40463
Lnet/minecraft/class_7751;field_40463:Lnet/minecraft/class_630;
official k
Lftl;k:Lfxb;
-
head
- Mappings:
Namespace Name Mixin selector named head
Lnet/minecraft/client/render/entity/model/CamelEntityModel;head:Lnet/minecraft/client/model/ModelPart;
intermediary field_40464
Lnet/minecraft/class_7751;field_40464:Lnet/minecraft/class_630;
official l
Lftl;l:Lfxb;
-
saddleAndBridle
- Mappings:
Namespace Name Mixin selector named saddleAndBridle
Lnet/minecraft/client/render/entity/model/CamelEntityModel;saddleAndBridle:[Lnet/minecraft/client/model/ModelPart;
intermediary field_40465
Lnet/minecraft/class_7751;field_40465:[Lnet/minecraft/class_630;
official m
Lftl;m:[Lfxb;
-
reins
- Mappings:
Namespace Name Mixin selector named reins
Lnet/minecraft/client/render/entity/model/CamelEntityModel;reins:[Lnet/minecraft/client/model/ModelPart;
intermediary field_40466
Lnet/minecraft/class_7751;field_40466:[Lnet/minecraft/class_630;
official n
Lftl;n:[Lfxb;
-
-
Constructor Details
-
CamelEntityModel
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/model/CamelEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
intermediary <init>
Lnet/minecraft/class_7751;<init>(Lnet/minecraft/class_630;)V
official <init>
Lftl;<init>(Lfxb;)V
-
-
Method Details
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector named getTexturedModelData
Lnet/minecraft/client/render/entity/model/CamelEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
intermediary method_45707
Lnet/minecraft/class_7751;method_45707()Lnet/minecraft/class_5607;
official b
Lftl;b()Lfxh;
-
setAngles
- Specified by:
setAngles
in classEntityModel<T extends CamelEntity>
- Mappings:
Namespace Name Mixin selector named setAngles
Lnet/minecraft/client/render/entity/model/CamelEntityModel;setAngles(Lnet/minecraft/entity/passive/CamelEntity;FFFFF)V
intermediary method_45706
Lnet/minecraft/class_7751;method_45706(Lnet/minecraft/class_7689;FFFFF)V
official a
Lftl;a(Lcgx;FFFFF)V
-
setHeadAngles
- Mappings:
Namespace Name Mixin selector named setHeadAngles
Lnet/minecraft/client/render/entity/model/CamelEntityModel;setHeadAngles(Lnet/minecraft/entity/passive/CamelEntity;FFF)V
intermediary method_45705
Lnet/minecraft/class_7751;method_45705(Lnet/minecraft/class_7689;FFF)V
official a
Lftl;a(Lcgx;FFF)V
-
updateVisibleParts
- Mappings:
Namespace Name Mixin selector named updateVisibleParts
Lnet/minecraft/client/render/entity/model/CamelEntityModel;updateVisibleParts(Lnet/minecraft/entity/passive/CamelEntity;)V
intermediary method_45704
Lnet/minecraft/class_7751;method_45704(Lnet/minecraft/class_7689;)V
official a
Lftl;a(Lcgx;)V
-
render
public void render(MatrixStack matrices, VertexConsumer vertices, int light, int overlay, float red, float green, float blue, float alpha) Renders the model.- Overrides:
render
in classSinglePartEntityModel<T extends CamelEntity>
- Parameters:
light
- the lightmap coordinates used for this model rendering- Mappings:
Namespace Name Mixin selector named render
Lnet/minecraft/client/model/Model;render(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/render/VertexConsumer;IIFFFF)V
intermediary method_2828
Lnet/minecraft/class_3879;method_2828(Lnet/minecraft/class_4587;Lnet/minecraft/class_4588;IIFFFF)V
official a
Lfux;a(Lezz;Lfad;IIFFFF)V
-
getPart
- Specified by:
getPart
in classSinglePartEntityModel<T extends CamelEntity>
- Mappings:
Namespace Name Mixin selector named getPart
Lnet/minecraft/client/render/entity/model/SinglePartEntityModel;getPart()Lnet/minecraft/client/model/ModelPart;
intermediary method_32008
Lnet/minecraft/class_5597;method_32008()Lnet/minecraft/class_630;
official a
Lfuk;a()Lfxb;
-