Class GuardianEntityModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.client.render.entity.model.SinglePartEntityModel<GuardianEntity>
net.minecraft.client.render.entity.model.GuardianEntityModel
@Environment(CLIENT) public class GuardianEntityModel extends SinglePartEntityModel<GuardianEntity>
- Mappings:
Namespace Name official eaw
intermediary net/minecraft/class_570
named net/minecraft/client/render/entity/model/GuardianEntityModel
-
Field Summary
Fields Modifier and Type Field Description private ModelPart
eye
private ModelPart
head
private ModelPart
root
private static float[]
SPIKE_PITCHES
private static float[]
SPIKE_PIVOTS_X
private static float[]
SPIKE_PIVOTS_Y
private static float[]
SPIKE_PIVOTS_Z
private static float[]
SPIKE_ROLLS
private static float[]
SPIKE_YAWS
private ModelPart[]
spikes
private ModelPart[]
tail
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
Constructors Constructor Description GuardianEntityModel(ModelPart root)
-
Method Summary
Modifier and Type Method Description private static float
getAngle(int index, float animationProgress, float magnitude)
ModelPart
getPart()
private static String
getSpikeName(int index)
private static float
getSpikePivotX(int index, float animationProgress, float extension)
private static float
getSpikePivotY(int index, float animationProgress, float extension)
private static float
getSpikePivotZ(int index, float animationProgress, float extension)
static TexturedModelData
getTexturedModelData()
void
setAngles(GuardianEntity guardianEntity, float float2, float float3, float float4, float float5, float float6)
private void
updateSpikeExtensions(float animationProgress, float extension)
Methods inherited from class net.minecraft.client.render.entity.model.SinglePartEntityModel
render
Methods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo
-
Field Details
-
SPIKE_PITCHES
private static final float[] SPIKE_PITCHES- Mappings:
Namespace Name Mixin selector official a
Leaw;a:[F
intermediary field_17131
Lnet/minecraft/class_570;field_17131:[F
named SPIKE_PITCHES
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;SPIKE_PITCHES:[F
-
SPIKE_YAWS
private static final float[] SPIKE_YAWS- Mappings:
Namespace Name Mixin selector official b
Leaw;b:[F
intermediary field_17132
Lnet/minecraft/class_570;field_17132:[F
named SPIKE_YAWS
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;SPIKE_YAWS:[F
-
SPIKE_ROLLS
private static final float[] SPIKE_ROLLS- Mappings:
Namespace Name Mixin selector official f
Leaw;f:[F
intermediary field_17133
Lnet/minecraft/class_570;field_17133:[F
named SPIKE_ROLLS
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;SPIKE_ROLLS:[F
-
SPIKE_PIVOTS_X
private static final float[] SPIKE_PIVOTS_X- Mappings:
Namespace Name Mixin selector official g
Leaw;g:[F
intermediary field_17134
Lnet/minecraft/class_570;field_17134:[F
named SPIKE_PIVOTS_X
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;SPIKE_PIVOTS_X:[F
-
SPIKE_PIVOTS_Y
private static final float[] SPIKE_PIVOTS_Y- Mappings:
Namespace Name Mixin selector official h
Leaw;h:[F
intermediary field_17135
Lnet/minecraft/class_570;field_17135:[F
named SPIKE_PIVOTS_Y
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;SPIKE_PIVOTS_Y:[F
-
SPIKE_PIVOTS_Z
private static final float[] SPIKE_PIVOTS_Z- Mappings:
Namespace Name Mixin selector official i
Leaw;i:[F
intermediary field_17136
Lnet/minecraft/class_570;field_17136:[F
named SPIKE_PIVOTS_Z
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;SPIKE_PIVOTS_Z:[F
-
root
- Mappings:
Namespace Name Mixin selector official j
Leaw;j:Ledh;
intermediary field_27420
Lnet/minecraft/class_570;field_27420:Lnet/minecraft/class_630;
named root
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;root:Lnet/minecraft/client/model/ModelPart;
-
head
- Mappings:
Namespace Name Mixin selector official k
Leaw;k:Ledh;
intermediary field_3379
Lnet/minecraft/class_570;field_3379:Lnet/minecraft/class_630;
named head
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;head:Lnet/minecraft/client/model/ModelPart;
-
eye
- Mappings:
Namespace Name Mixin selector official l
Leaw;l:Ledh;
intermediary field_3381
Lnet/minecraft/class_570;field_3381:Lnet/minecraft/class_630;
named eye
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;eye:Lnet/minecraft/client/model/ModelPart;
-
spikes
- Mappings:
Namespace Name Mixin selector official m
Leaw;m:[Ledh;
intermediary field_3380
Lnet/minecraft/class_570;field_3380:[Lnet/minecraft/class_630;
named spikes
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;spikes:[Lnet/minecraft/client/model/ModelPart;
-
tail
- Mappings:
Namespace Name Mixin selector official n
Leaw;n:[Ledh;
intermediary field_3378
Lnet/minecraft/class_570;field_3378:[Lnet/minecraft/class_630;
named tail
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;tail:[Lnet/minecraft/client/model/ModelPart;
-
-
Constructor Details
-
GuardianEntityModel
- Mappings:
Namespace Name Mixin selector official <init>
Leaw;<init>(Ledh;)V
intermediary <init>
Lnet/minecraft/class_570;<init>(Lnet/minecraft/class_630;)V
named <init>
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;<init>(Lnet/minecraft/client/model/ModelPart;)V
-
-
Method Details
-
getSpikeName
- Mappings:
Namespace Name Mixin selector official a
Leaw;a(I)Ljava/lang/String;
intermediary method_32003
Lnet/minecraft/class_570;method_32003(I)Ljava/lang/String;
named getSpikeName
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;getSpikeName(I)Ljava/lang/String;
-
getTexturedModelData
- Mappings:
Namespace Name Mixin selector official a
Leaw;a()Ledn;
intermediary method_32002
Lnet/minecraft/class_570;method_32002()Lnet/minecraft/class_5607;
named getTexturedModelData
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;getTexturedModelData()Lnet/minecraft/client/model/TexturedModelData;
-
getPart
- Specified by:
getPart
in classSinglePartEntityModel<GuardianEntity>
- Mappings:
Namespace Name Mixin selector official b
Leay;b()Ledh;
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
public void setAngles(GuardianEntity guardianEntity, float float2, float float3, float float4, float float5, float float6)- Specified by:
setAngles
in classEntityModel<GuardianEntity>
- Mappings:
Namespace Name Mixin selector official a
Leaw;a(Lbfb;FFFFF)V
intermediary method_17083
Lnet/minecraft/class_570;method_17083(Lnet/minecraft/class_1577;FFFFF)V
named setAngles
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;setAngles(Lnet/minecraft/entity/mob/GuardianEntity;FFFFF)V
-
updateSpikeExtensions
private void updateSpikeExtensions(float animationProgress, float extension)- Mappings:
Namespace Name Mixin selector official a
Leaw;a(FF)V
intermediary method_24185
Lnet/minecraft/class_570;method_24185(FF)V
named updateSpikeExtensions
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;updateSpikeExtensions(FF)V
-
getAngle
private static float getAngle(int index, float animationProgress, float magnitude)- Mappings:
Namespace Name Mixin selector official a
Leaw;a(IFF)F
intermediary method_32004
Lnet/minecraft/class_570;method_32004(IFF)F
named getAngle
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;getAngle(IFF)F
-
getSpikePivotX
private static float getSpikePivotX(int index, float animationProgress, float extension)- Mappings:
Namespace Name Mixin selector official b
Leaw;b(IFF)F
intermediary method_32005
Lnet/minecraft/class_570;method_32005(IFF)F
named getSpikePivotX
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;getSpikePivotX(IFF)F
-
getSpikePivotY
private static float getSpikePivotY(int index, float animationProgress, float extension)- Mappings:
Namespace Name Mixin selector official c
Leaw;c(IFF)F
intermediary method_32006
Lnet/minecraft/class_570;method_32006(IFF)F
named getSpikePivotY
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;getSpikePivotY(IFF)F
-
getSpikePivotZ
private static float getSpikePivotZ(int index, float animationProgress, float extension)- Mappings:
Namespace Name Mixin selector official d
Leaw;d(IFF)F
intermediary method_32007
Lnet/minecraft/class_570;method_32007(IFF)F
named getSpikePivotZ
Lnet/minecraft/client/render/entity/model/GuardianEntityModel;getSpikePivotZ(IFF)F
-