Class GuardianModel
- java.lang.Object
-
- net.minecraft.client.renderer.model.Model
-
- net.minecraft.client.renderer.entity.model.EntityModel<E>
-
- net.minecraft.client.renderer.entity.model.SegmentedModel<GuardianEntity>
-
- net.minecraft.client.renderer.entity.model.GuardianModel
-
- All Implemented Interfaces:
java.util.function.Consumer<ModelRenderer>
public class GuardianModel extends SegmentedModel<GuardianEntity>
-
-
Field Summary
Fields Modifier and Type Field Description private ModelRenderer
eye
private ModelRenderer
head
private static float[]
SPIKE_X
private static float[]
SPIKE_X_ROT
private static float[]
SPIKE_Y
private static float[]
SPIKE_Y_ROT
private static float[]
SPIKE_Z
private static float[]
SPIKE_Z_ROT
private ModelRenderer[]
spikeParts
private ModelRenderer[]
tailParts
-
Fields inherited from class net.minecraft.client.renderer.entity.model.EntityModel
attackTime, riding, young
-
Fields inherited from class net.minecraft.client.renderer.model.Model
renderType, texHeight, texWidth
-
-
Constructor Summary
Constructors Constructor Description GuardianModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Iterable<ModelRenderer>
parts()
void
setupAnim(GuardianEntity p_225597_1_, float p_225597_2_, float p_225597_3_, float p_225597_4_, float p_225597_5_, float p_225597_6_)
private void
setupSpikes(float p_228261_1_, float p_228261_2_)
-
Methods inherited from class net.minecraft.client.renderer.entity.model.SegmentedModel
renderToBuffer
-
Methods inherited from class net.minecraft.client.renderer.entity.model.EntityModel
copyPropertiesTo, prepareMobModel
-
Methods inherited from class net.minecraft.client.renderer.model.Model
accept, renderType
-
-
-
-
Field Detail
-
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
-
head
private final ModelRenderer head
-
eye
private final ModelRenderer eye
-
spikeParts
private final ModelRenderer[] spikeParts
-
tailParts
private final ModelRenderer[] tailParts
-
-
Method Detail
-
parts
public java.lang.Iterable<ModelRenderer> parts()
- Specified by:
parts
in classSegmentedModel<GuardianEntity>
-
setupAnim
public void setupAnim(GuardianEntity p_225597_1_, float p_225597_2_, float p_225597_3_, float p_225597_4_, float p_225597_5_, float p_225597_6_)
- Specified by:
setupAnim
in classEntityModel<GuardianEntity>
-
setupSpikes
private void setupSpikes(float p_228261_1_, float p_228261_2_)
-
-