Package net.minecraft.client.model
Class GuardianModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<GuardianRenderState>
net.minecraft.client.model.GuardianModel
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.model.Model
Model.Simple
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final MeshTransformer
private final ModelPart
private static final String
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
MODEL_Y_OFFSET
Fields inherited from class net.minecraft.client.model.Model
renderType, root
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LayerDefinition
static 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_) void
setupAnim
(GuardianRenderState p_363160_) private void
setupSpikes
(float p_102709_, float p_102710_) Methods inherited from class net.minecraft.client.model.Model
allParts, animate, animate, animate, animate, animateWalk, animateWalk, applyStatic, applyStatic, getAnimation, getAnyDescendantWithName, renderToBuffer, renderToBuffer, renderType, resetPose, root
-
Field Details
-
ELDER_GUARDIAN_SCALE
-
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:
-
head
-
eye
-
spikeParts
-
tailParts
-
-
Constructor Details
-
GuardianModel
-
-
Method Details
-
createSpikeName
-
createBodyLayer
-
createElderGuardianLayer
-
setupAnim
- Overrides:
setupAnim
in classEntityModel<GuardianRenderState>
-
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_)
-