Class WitherEntityModel<T extends WitherEntity>
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.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" | Root part | ribcage |
"tail" | Root part | tail |
"center_head" | Root part | centerHead |
"right_head" | Root part | rightHead |
"left_head" | Root part | leftHead |
- Mappings:
Namespace Name official esk
intermediary net/minecraft/class_621
named net/minecraft/client/render/entity/model/WitherEntityModel
-
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
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 official a
Lesk;a:Ljava/lang/String;
intermediary field_32571
Lnet/minecraft/class_621;field_32571:Ljava/lang/String;
named RIBCAGE
Lnet/minecraft/client/render/entity/model/WitherEntityModel;RIBCAGE: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 official b
Lesk;b:Ljava/lang/String;
intermediary field_32572
Lnet/minecraft/class_621;field_32572:Ljava/lang/String;
named CENTER_HEAD
Lnet/minecraft/client/render/entity/model/WitherEntityModel;CENTER_HEAD: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 official f
Lesk;f:Ljava/lang/String;
intermediary field_32573
Lnet/minecraft/class_621;field_32573:Ljava/lang/String;
named RIGHT_HEAD
Lnet/minecraft/client/render/entity/model/WitherEntityModel;RIGHT_HEAD: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 official g
Lesk;g:Ljava/lang/String;
intermediary field_32574
Lnet/minecraft/class_621;field_32574:Ljava/lang/String;
named LEFT_HEAD
Lnet/minecraft/client/render/entity/model/WitherEntityModel;LEFT_HEAD:Ljava/lang/String;
-
RIBCAGE_PITCH_OFFSET
private static final float RIBCAGE_PITCH_OFFSET- See Also:
- Mappings:
Namespace Name Mixin selector official h
Lesk;h:F
intermediary field_32575
Lnet/minecraft/class_621;field_32575:F
named RIBCAGE_PITCH_OFFSET
Lnet/minecraft/client/render/entity/model/WitherEntityModel;RIBCAGE_PITCH_OFFSET:F
-
TAIL_PITCH_OFFSET
private static final float TAIL_PITCH_OFFSET- See Also:
- Mappings:
Namespace Name Mixin selector official i
Lesk;i:F
intermediary field_32576
Lnet/minecraft/class_621;field_32576:F
named TAIL_PITCH_OFFSET
Lnet/minecraft/client/render/entity/model/WitherEntityModel;TAIL_PITCH_OFFSET:F
-
root
- Mappings:
Namespace Name Mixin selector official j
Lesk;j:Lesu;
intermediary field_27532
Lnet/minecraft/class_621;field_27532:Lnet/minecraft/class_630;
named root
Lnet/minecraft/client/render/entity/model/WitherEntityModel;root:Lnet/minecraft/client/model/ModelPart;
-
centerHead
- Mappings:
Namespace Name Mixin selector official k
Lesk;k:Lesu;
intermediary field_27533
Lnet/minecraft/class_621;field_27533:Lnet/minecraft/class_630;
named centerHead
Lnet/minecraft/client/render/entity/model/WitherEntityModel;centerHead:Lnet/minecraft/client/model/ModelPart;
-
rightHead
- Mappings:
Namespace Name Mixin selector official l
Lesk;l:Lesu;
intermediary field_27534
Lnet/minecraft/class_621;field_27534:Lnet/minecraft/class_630;
named rightHead
Lnet/minecraft/client/render/entity/model/WitherEntityModel;rightHead:Lnet/minecraft/client/model/ModelPart;
-
leftHead
- Mappings:
Namespace Name Mixin selector official m
Lesk;m:Lesu;
intermediary field_27535
Lnet/minecraft/class_621;field_27535:Lnet/minecraft/class_630;
named leftHead
Lnet/minecraft/client/render/entity/model/WitherEntityModel;leftHead:Lnet/minecraft/client/model/ModelPart;
-
ribcage
- Mappings:
Namespace Name Mixin selector official n
Lesk;n:Lesu;
intermediary field_27536
Lnet/minecraft/class_621;field_27536:Lnet/minecraft/class_630;
named ribcage
Lnet/minecraft/client/render/entity/model/WitherEntityModel;ribcage:Lnet/minecraft/client/model/ModelPart;
-
tail
- Mappings:
Namespace Name Mixin selector official o
Lesk;o:Lesu;
intermediary field_27537
Lnet/minecraft/class_621;field_27537:Lnet/minecraft/class_630;
named tail
Lnet/minecraft/client/render/entity/model/WitherEntityModel;tail:Lnet/minecraft/client/model/ModelPart;
-
-
Constructor Details
-
WitherEntityModel
- Mappings:
Namespace Name Mixin selector official <init>
Lesk;<init>(Lesu;)V
intermediary <init>
Lnet/minecraft/class_621;<init>(Lnet/minecraft/class_630;)V
named <init>
Lnet/minecraft/client/render/entity/model/WitherEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
-
-
Method Details
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector official a
Lesk;a(Lesy;)Leta;
intermediary method_32067
Lnet/minecraft/class_621;method_32067(Lnet/minecraft/class_5605;)Lnet/minecraft/class_5607;
named getTexturedModelData
Lnet/minecraft/client/render/entity/model/WitherEntityModel;getTexturedModelData(Lnet/minecraft/client/model/Dilation;)Lnet/minecraft/client/model/TexturedModelData;
-
getPart
- Specified by:
getPart
in classSinglePartEntityModel<T extends WitherEntity>
- Mappings:
Namespace Name Mixin selector official a
Leqj;a()Lesu;
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;
-
setAngles
- Specified by:
setAngles
in classEntityModel<T extends WitherEntity>
- Mappings:
Namespace Name Mixin selector official a
Lesk;a(Lbpm;FFFFF)V
intermediary method_17130
Lnet/minecraft/class_621;method_17130(Lnet/minecraft/class_1528;FFFFF)V
named setAngles
Lnet/minecraft/client/render/entity/model/WitherEntityModel;setAngles(Lnet/minecraft/entity/boss/WitherEntity;FFFFF)V
-
animateModel
- Overrides:
animateModel
in classEntityModel<T extends WitherEntity>
- Mappings:
Namespace Name Mixin selector official a
Lesk;a(Lbpm;FFF)V
intermediary method_17128
Lnet/minecraft/class_621;method_17128(Lnet/minecraft/class_1528;FFF)V
named animateModel
Lnet/minecraft/client/render/entity/model/WitherEntityModel;animateModel(Lnet/minecraft/entity/boss/WitherEntity;FFF)V
-
rotateHead
- Mappings:
Namespace Name Mixin selector official a
Lesk;a(Lbpm;Lesu;I)V
intermediary method_32066
Lnet/minecraft/class_621;method_32066(Lnet/minecraft/class_1528;Lnet/minecraft/class_630;I)V
named rotateHead
Lnet/minecraft/client/render/entity/model/WitherEntityModel;rotateHead(Lnet/minecraft/entity/boss/WitherEntity;Lnet/minecraft/client/model/ModelPart;I)V
-