Class WitherModel<T extends WitherEntity>
- java.lang.Object
-
- net.minecraft.client.renderer.model.Model
-
- net.minecraft.client.renderer.entity.model.EntityModel<E>
-
- net.minecraft.client.renderer.entity.model.SegmentedModel<T>
-
- net.minecraft.client.renderer.entity.model.WitherModel<T>
-
- All Implemented Interfaces:
java.util.function.Consumer<ModelRenderer>
public class WitherModel<T extends WitherEntity> extends SegmentedModel<T>
-
-
Field Summary
Fields Modifier and Type Field Description private ModelRenderer[]
heads
private com.google.common.collect.ImmutableList<ModelRenderer>
parts
private ModelRenderer[]
upperBodyParts
-
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 WitherModel(float p_i46302_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.common.collect.ImmutableList<ModelRenderer>
parts()
void
prepareMobModel(T p_212843_1_, float p_212843_2_, float p_212843_3_, float p_212843_4_)
void
setupAnim(T p_225597_1_, float p_225597_2_, float p_225597_3_, float p_225597_4_, float p_225597_5_, float p_225597_6_)
-
Methods inherited from class net.minecraft.client.renderer.entity.model.SegmentedModel
renderToBuffer
-
Methods inherited from class net.minecraft.client.renderer.entity.model.EntityModel
copyPropertiesTo
-
Methods inherited from class net.minecraft.client.renderer.model.Model
accept, renderType
-
-
-
-
Field Detail
-
upperBodyParts
private final ModelRenderer[] upperBodyParts
-
heads
private final ModelRenderer[] heads
-
parts
private final com.google.common.collect.ImmutableList<ModelRenderer> parts
-
-
Method Detail
-
parts
public com.google.common.collect.ImmutableList<ModelRenderer> parts()
- Specified by:
parts
in classSegmentedModel<T extends WitherEntity>
-
setupAnim
public void setupAnim(T 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<T extends WitherEntity>
-
prepareMobModel
public void prepareMobModel(T p_212843_1_, float p_212843_2_, float p_212843_3_, float p_212843_4_)
- Overrides:
prepareMobModel
in classEntityModel<T extends WitherEntity>
-
-