Class CamelEntityModel<T extends CamelEntity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
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 official fen
intermediary net/minecraft/class_7751
named net/minecraft/client/render/entity/model/CamelEntityModel
-
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 official a
Lfen;a:F
intermediary field_40459
Lnet/minecraft/class_7751;field_40459:F
named LIMB_ANGLE_SCALE
Lnet/minecraft/client/render/entity/model/CamelEntityModel;LIMB_ANGLE_SCALE:F
-
LIMB_DISTANCE_SCALE
private static final float LIMB_DISTANCE_SCALE- See Also:
- Mappings:
Namespace Name Mixin selector official b
Lfen;b:F
intermediary field_42227
Lnet/minecraft/class_7751;field_42227:F
named LIMB_DISTANCE_SCALE
Lnet/minecraft/client/render/entity/model/CamelEntityModel;LIMB_DISTANCE_SCALE:F
-
field_43083
private static final float field_43083- See Also:
- Mappings:
Namespace Name Mixin selector official f
Lfen;f:F
intermediary field_43083
Lnet/minecraft/class_7751;field_43083:F
named field_43083
Lnet/minecraft/client/render/entity/model/CamelEntityModel;field_43083:F
-
field_43084
private static final float field_43084- See Also:
- Mappings:
Namespace Name Mixin selector official g
Lfen;g:F
intermediary field_43084
Lnet/minecraft/class_7751;field_43084:F
named field_43084
Lnet/minecraft/client/render/entity/model/CamelEntityModel;field_43084:F
-
SADDLE
- See Also:
- Mappings:
Namespace Name Mixin selector official h
Lfen;h:Ljava/lang/String;
intermediary field_40460
Lnet/minecraft/class_7751;field_40460:Ljava/lang/String;
named SADDLE
Lnet/minecraft/client/render/entity/model/CamelEntityModel;SADDLE:Ljava/lang/String;
-
BRIDLE
- See Also:
- Mappings:
Namespace Name Mixin selector official i
Lfen;i:Ljava/lang/String;
intermediary field_40461
Lnet/minecraft/class_7751;field_40461:Ljava/lang/String;
named BRIDLE
Lnet/minecraft/client/render/entity/model/CamelEntityModel;BRIDLE:Ljava/lang/String;
-
REINS
- See Also:
- Mappings:
Namespace Name Mixin selector official j
Lfen;j:Ljava/lang/String;
intermediary field_40462
Lnet/minecraft/class_7751;field_40462:Ljava/lang/String;
named REINS
Lnet/minecraft/client/render/entity/model/CamelEntityModel;REINS:Ljava/lang/String;
-
root
- Mappings:
Namespace Name Mixin selector official k
Lfen;k:Lfic;
intermediary field_40463
Lnet/minecraft/class_7751;field_40463:Lnet/minecraft/class_630;
named root
Lnet/minecraft/client/render/entity/model/CamelEntityModel;root:Lnet/minecraft/client/model/ModelPart;
-
head
- Mappings:
Namespace Name Mixin selector official l
Lfen;l:Lfic;
intermediary field_40464
Lnet/minecraft/class_7751;field_40464:Lnet/minecraft/class_630;
named head
Lnet/minecraft/client/render/entity/model/CamelEntityModel;head:Lnet/minecraft/client/model/ModelPart;
-
saddleAndBridle
- Mappings:
Namespace Name Mixin selector official m
Lfen;m:[Lfic;
intermediary field_40465
Lnet/minecraft/class_7751;field_40465:[Lnet/minecraft/class_630;
named saddleAndBridle
Lnet/minecraft/client/render/entity/model/CamelEntityModel;saddleAndBridle:[Lnet/minecraft/client/model/ModelPart;
-
reins
- Mappings:
Namespace Name Mixin selector official n
Lfen;n:[Lfic;
intermediary field_40466
Lnet/minecraft/class_7751;field_40466:[Lnet/minecraft/class_630;
named reins
Lnet/minecraft/client/render/entity/model/CamelEntityModel;reins:[Lnet/minecraft/client/model/ModelPart;
-
-
Constructor Details
-
CamelEntityModel
- Mappings:
Namespace Name Mixin selector official <init>
Lfen;<init>(Lfic;)V
intermediary <init>
Lnet/minecraft/class_7751;<init>(Lnet/minecraft/class_630;)V
named <init>
Lnet/minecraft/client/render/entity/model/CamelEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
-
-
Method Details
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector official b
Lfen;b()Lfii;
intermediary method_45707
Lnet/minecraft/class_7751;method_45707()Lnet/minecraft/class_5607;
named getTexturedModelData
Lnet/minecraft/client/render/entity/model/CamelEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
-
setAngles
- Specified by:
setAngles
in classEntityModel<T extends CamelEntity>
- Mappings:
Namespace Name Mixin selector official a
Lfen;a(Lbwd;FFFFF)V
intermediary method_45706
Lnet/minecraft/class_7751;method_45706(Lnet/minecraft/class_7689;FFFFF)V
named setAngles
Lnet/minecraft/client/render/entity/model/CamelEntityModel;setAngles(Lnet/minecraft/entity/passive/CamelEntity;FFFFF)V
-
setHeadAngles
- Mappings:
Namespace Name Mixin selector official a
Lfen;a(Lbwd;FFF)V
intermediary method_45705
Lnet/minecraft/class_7751;method_45705(Lnet/minecraft/class_7689;FFF)V
named setHeadAngles
Lnet/minecraft/client/render/entity/model/CamelEntityModel;setHeadAngles(Lnet/minecraft/entity/passive/CamelEntity;FFF)V
-
updateVisibleParts
- Mappings:
Namespace Name Mixin selector official a
Lfen;a(Lbwd;)V
intermediary method_45704
Lnet/minecraft/class_7751;method_45704(Lnet/minecraft/class_7689;)V
named updateVisibleParts
Lnet/minecraft/client/render/entity/model/CamelEntityModel;updateVisibleParts(Lnet/minecraft/entity/passive/CamelEntity;)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 official a
Lffz;a(Lelp;Lelt;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
- Specified by:
getPart
in classSinglePartEntityModel<T extends CamelEntity>
- Mappings:
Namespace Name Mixin selector official a
Lffm;a()Lfic;
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;
-