Class WitherEntityModel<T extends WitherEntity>
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.WitherEntityModel<T>
@Environment(CLIENT)
public class WitherEntityModel<T extends WitherEntity>
extends SinglePartEntityModel<T>
Represents the model of a WitherEntity.
Part Name | Parent | Corresponding Field |
---|---|---|
shoulders | Root part | |
"ribcage"<T extends WitherEntity> | Root part | ribcage |
"tail" | Root part | tail |
"center_head"<T extends WitherEntity> | Root part | centerHead |
"right_head"<T extends WitherEntity> | Root part | rightHead |
"left_head"<T extends WitherEntity> | Root part | leftHead |
- Mappings:
Namespace Name named net/minecraft/client/render/entity/model/WitherEntityModel
intermediary net/minecraft/class_621
official fya
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final String
The key of the center head model part, whose value is "center_head".private final ModelPart
private static final String
The key of the left head model part, whose value is "left_head".private final ModelPart
private final ModelPart
private static final String
The key of the ribcage model part, whose value is "ribcage".private static final float
private static final String
The key of the right head model part, whose value is "right_head".private final ModelPart
private final ModelPart
private final ModelPart
private static final float
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 TypeMethodDescriptionvoid
animateModel
(T t, float float2, float float3, float float4) getPart()
static TexturedModelData
getTexturedModelData
(Dilation dilation) private static <T extends WitherEntity>
voidrotateHead
(T entity, ModelPart head, int sigma) void
Methods inherited from class net.minecraft.client.render.entity.model.SinglePartEntityModel
animate, animateMovement, getChild, render, updateAnimation, updateAnimation
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
copyStateTo
-
Field Details
-
RIBCAGE
The key of the ribcage model part, whose value is "ribcage".- See Also:
- Mappings:
Namespace Name Mixin selector named RIBCAGE
Lnet/minecraft/client/render/entity/model/WitherEntityModel;RIBCAGE:Ljava/lang/String;
intermediary field_32571
Lnet/minecraft/class_621;field_32571:Ljava/lang/String;
official a
Lfya;a:Ljava/lang/String;
-
CENTER_HEAD
The key of the center head model part, whose value is "center_head".- See Also:
- Mappings:
Namespace Name Mixin selector named CENTER_HEAD
Lnet/minecraft/client/render/entity/model/WitherEntityModel;CENTER_HEAD:Ljava/lang/String;
intermediary field_32572
Lnet/minecraft/class_621;field_32572:Ljava/lang/String;
official b
Lfya;b:Ljava/lang/String;
-
RIGHT_HEAD
The key of the right head model part, whose value is "right_head".- See Also:
- Mappings:
Namespace Name Mixin selector named RIGHT_HEAD
Lnet/minecraft/client/render/entity/model/WitherEntityModel;RIGHT_HEAD:Ljava/lang/String;
intermediary field_32573
Lnet/minecraft/class_621;field_32573:Ljava/lang/String;
official f
Lfya;f:Ljava/lang/String;
-
LEFT_HEAD
The key of the left head model part, whose value is "left_head".- See Also:
- Mappings:
Namespace Name Mixin selector named LEFT_HEAD
Lnet/minecraft/client/render/entity/model/WitherEntityModel;LEFT_HEAD:Ljava/lang/String;
intermediary field_32574
Lnet/minecraft/class_621;field_32574:Ljava/lang/String;
official g
Lfya;g:Ljava/lang/String;
-
RIBCAGE_PITCH_OFFSET
private static final float RIBCAGE_PITCH_OFFSET- See Also:
- Mappings:
Namespace Name Mixin selector named RIBCAGE_PITCH_OFFSET
Lnet/minecraft/client/render/entity/model/WitherEntityModel;RIBCAGE_PITCH_OFFSET:F
intermediary field_32575
Lnet/minecraft/class_621;field_32575:F
official h
Lfya;h:F
-
TAIL_PITCH_OFFSET
private static final float TAIL_PITCH_OFFSET- See Also:
- Mappings:
Namespace Name Mixin selector named TAIL_PITCH_OFFSET
Lnet/minecraft/client/render/entity/model/WitherEntityModel;TAIL_PITCH_OFFSET:F
intermediary field_32576
Lnet/minecraft/class_621;field_32576:F
official i
Lfya;i:F
-
root
- Mappings:
Namespace Name Mixin selector named root
Lnet/minecraft/client/render/entity/model/WitherEntityModel;root:Lnet/minecraft/client/model/ModelPart;
intermediary field_27532
Lnet/minecraft/class_621;field_27532:Lnet/minecraft/class_630;
official j
Lfya;j:Lfyk;
-
centerHead
- Mappings:
Namespace Name Mixin selector named centerHead
Lnet/minecraft/client/render/entity/model/WitherEntityModel;centerHead:Lnet/minecraft/client/model/ModelPart;
intermediary field_27533
Lnet/minecraft/class_621;field_27533:Lnet/minecraft/class_630;
official k
Lfya;k:Lfyk;
-
rightHead
- Mappings:
Namespace Name Mixin selector named rightHead
Lnet/minecraft/client/render/entity/model/WitherEntityModel;rightHead:Lnet/minecraft/client/model/ModelPart;
intermediary field_27534
Lnet/minecraft/class_621;field_27534:Lnet/minecraft/class_630;
official l
Lfya;l:Lfyk;
-
leftHead
- Mappings:
Namespace Name Mixin selector named leftHead
Lnet/minecraft/client/render/entity/model/WitherEntityModel;leftHead:Lnet/minecraft/client/model/ModelPart;
intermediary field_27535
Lnet/minecraft/class_621;field_27535:Lnet/minecraft/class_630;
official m
Lfya;m:Lfyk;
-
ribcage
- Mappings:
Namespace Name Mixin selector named ribcage
Lnet/minecraft/client/render/entity/model/WitherEntityModel;ribcage:Lnet/minecraft/client/model/ModelPart;
intermediary field_27536
Lnet/minecraft/class_621;field_27536:Lnet/minecraft/class_630;
official n
Lfya;n:Lfyk;
-
tail
- Mappings:
Namespace Name Mixin selector named tail
Lnet/minecraft/client/render/entity/model/WitherEntityModel;tail:Lnet/minecraft/client/model/ModelPart;
intermediary field_27537
Lnet/minecraft/class_621;field_27537:Lnet/minecraft/class_630;
official o
Lfya;o:Lfyk;
-
-
Constructor Details
-
WitherEntityModel
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/render/entity/model/WitherEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
intermediary <init>
Lnet/minecraft/class_621;<init>(Lnet/minecraft/class_630;)V
official <init>
Lfya;<init>(Lfyk;)V
-
-
Method Details
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector named getTexturedModelData
Lnet/minecraft/client/render/entity/model/WitherEntityModel;getTexturedModelData(Lnet/minecraft/client/model/Dilation;)Lnet/minecraft/client/model/TexturedModelData;
intermediary method_32067
Lnet/minecraft/class_621;method_32067(Lnet/minecraft/class_5605;)Lnet/minecraft/class_5607;
official a
Lfya;a(Lfyo;)Lfyq;
-
getPart
- Specified by:
getPart
in classSinglePartEntityModel<T extends WitherEntity>
- 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
Lfvt;a()Lfyk;
-
setAngles
- Specified by:
setAngles
in classEntityModel<T extends WitherEntity>
- Mappings:
Namespace Name Mixin selector named setAngles
Lnet/minecraft/client/render/entity/model/WitherEntityModel;setAngles(Lnet/minecraft/entity/boss/WitherEntity;FFFFF)V
intermediary method_17130
Lnet/minecraft/class_621;method_17130(Lnet/minecraft/class_1528;FFFFF)V
official a
Lfya;a(Lciu;FFFFF)V
-
animateModel
- Overrides:
animateModel
in classEntityModel<T extends WitherEntity>
- Mappings:
Namespace Name Mixin selector named animateModel
Lnet/minecraft/client/render/entity/model/WitherEntityModel;animateModel(Lnet/minecraft/entity/boss/WitherEntity;FFF)V
intermediary method_17128
Lnet/minecraft/class_621;method_17128(Lnet/minecraft/class_1528;FFF)V
official a
Lfya;a(Lciu;FFF)V
-
rotateHead
- Mappings:
Namespace Name Mixin selector named rotateHead
Lnet/minecraft/client/render/entity/model/WitherEntityModel;rotateHead(Lnet/minecraft/entity/boss/WitherEntity;Lnet/minecraft/client/model/ModelPart;I)V
intermediary method_32066
Lnet/minecraft/class_621;method_32066(Lnet/minecraft/class_1528;Lnet/minecraft/class_630;I)V
official a
Lfya;a(Lciu;Lfyk;I)V
-