Class GuardianEntityModel
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.render.entity.model.EntityModel<E>
net.minecraft.client.render.entity.model.CompositeEntityModel<GuardianEntity>
net.minecraft.client.render.entity.model.GuardianEntityModel
@Environment(CLIENT) public class GuardianEntityModel extends CompositeEntityModel<GuardianEntity>
-
Field Summary
Fields Modifier and Type Field Description private ModelParteyeprivate ModelPartheadprivate static float[]SPIKE_PITCHESprivate static float[]SPIKE_PIVOTS_Xprivate static float[]SPIKE_PIVOTS_Yprivate static float[]SPIKE_PIVOTS_Zprivate static float[]SPIKE_ROLLSprivate static float[]SPIKE_YAWSprivate ModelPart[]spikesprivate ModelPart[]tailFields inherited from class net.minecraft.client.render.entity.model.EntityModel
child, handSwingProgress, ridingFields inherited from class net.minecraft.client.model.Model
layerFactory, textureHeight, textureWidth -
Constructor Summary
Constructors Constructor Description GuardianEntityModel() -
Method Summary
Modifier and Type Method Description Iterable<ModelPart>getParts()voidsetAngles(GuardianEntity guardianEntity, float float2, float float3, float float4, float float5, float float6)private voidupdateSpikeExtensions(float animationProgress, float extension)Methods inherited from class net.minecraft.client.render.entity.model.CompositeEntityModel
renderMethods inherited from class net.minecraft.client.render.entity.model.EntityModel
animateModel, copyStateTo
-
Field Details
-
SPIKE_PITCHES
private static final float[] SPIKE_PITCHES -
SPIKE_YAWS
private static final float[] SPIKE_YAWS -
SPIKE_ROLLS
private static final float[] SPIKE_ROLLS -
SPIKE_PIVOTS_X
private static final float[] SPIKE_PIVOTS_X -
SPIKE_PIVOTS_Y
private static final float[] SPIKE_PIVOTS_Y -
SPIKE_PIVOTS_Z
private static final float[] SPIKE_PIVOTS_Z -
head
-
eye
-
spikes
-
tail
-
-
Constructor Details
-
GuardianEntityModel
public GuardianEntityModel()
-
-
Method Details
-
getParts
- Specified by:
getPartsin classCompositeEntityModel<GuardianEntity>
-
setAngles
public void setAngles(GuardianEntity guardianEntity, float float2, float float3, float float4, float float5, float float6)- Specified by:
setAnglesin classEntityModel<GuardianEntity>
-
updateSpikeExtensions
private void updateSpikeExtensions(float animationProgress, float extension)
-