Package net.minecraft.client.model
Class GuardianModel
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ModelPart
private static final String
private final ModelPart
private final ModelPart
private static final float[]
private static final float[]
private static final float[]
private static final float[]
private static final float[]
private static final float[]
private final ModelPart[]
private static final String
private static final String
private static final String
private final ModelPart[]
Fields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, young
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic LayerDefinition
private static String
createSpikeName
(int p_170603_) private static float
getSpikeOffset
(int p_170605_, float p_170606_, float p_170607_) private static float
getSpikeX
(int p_170610_, float p_170611_, float p_170612_) private static float
getSpikeY
(int p_170614_, float p_170615_, float p_170616_) private static float
getSpikeZ
(int p_170618_, float p_170619_, float p_170620_) root()
void
setupAnim
(Guardian p_102719_, float p_102720_, float p_102721_, float p_102722_, float p_102723_, float p_102724_) private void
setupSpikes
(float p_102709_, float p_102710_) Methods inherited from class net.minecraft.client.model.HierarchicalModel
animate, animate, animateWalk, applyStatic, getAnyDescendantWithName, renderToBuffer
Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModel
Methods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
SPIKE_X_ROT
private static final float[] SPIKE_X_ROT -
SPIKE_Y_ROT
private static final float[] SPIKE_Y_ROT -
SPIKE_Z_ROT
private static final float[] SPIKE_Z_ROT -
SPIKE_X
private static final float[] SPIKE_X -
SPIKE_Y
private static final float[] SPIKE_Y -
SPIKE_Z
private static final float[] SPIKE_Z -
EYE
- See Also:
-
TAIL_0
- See Also:
-
TAIL_1
- See Also:
-
TAIL_2
- See Also:
-
root
-
head
-
eye
-
spikeParts
-
tailParts
-
-
Constructor Details
-
GuardianModel
-
-
Method Details
-
createSpikeName
-
createBodyLayer
-
root
- Specified by:
root
in classHierarchicalModel<Guardian>
-
setupAnim
public void setupAnim(Guardian p_102719_, float p_102720_, float p_102721_, float p_102722_, float p_102723_, float p_102724_) - Specified by:
setupAnim
in classEntityModel<Guardian>
-
setupSpikes
private void setupSpikes(float p_102709_, float p_102710_) -
getSpikeOffset
private static float getSpikeOffset(int p_170605_, float p_170606_, float p_170607_) -
getSpikeX
private static float getSpikeX(int p_170610_, float p_170611_, float p_170612_) -
getSpikeY
private static float getSpikeY(int p_170614_, float p_170615_, float p_170616_) -
getSpikeZ
private static float getSpikeZ(int p_170618_, float p_170619_, float p_170620_)
-