Class IllagerModel<T extends AbstractIllagerEntity>
- 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.IllagerModel<T>
-
- All Implemented Interfaces:
java.util.function.Consumer<ModelRenderer>
,IHasArm
,IHasHead
public class IllagerModel<T extends AbstractIllagerEntity> extends SegmentedModel<T> implements IHasArm, IHasHead
-
-
Field Summary
Fields Modifier and Type Field Description private ModelRenderer
arms
private ModelRenderer
body
private ModelRenderer
hat
private ModelRenderer
head
private ModelRenderer
leftArm
private ModelRenderer
leftLeg
private ModelRenderer
rightArm
private ModelRenderer
rightLeg
-
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 IllagerModel(float p_i47227_1_, float p_i47227_2_, int p_i47227_3_, int p_i47227_4_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private ModelRenderer
getArm(HandSide p_191216_1_)
ModelRenderer
getHat()
ModelRenderer
getHead()
java.lang.Iterable<ModelRenderer>
parts()
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_)
void
translateToHand(HandSide p_225599_1_, MatrixStack p_225599_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
-
head
private final ModelRenderer head
-
hat
private final ModelRenderer hat
-
body
private final ModelRenderer body
-
arms
private final ModelRenderer arms
-
leftLeg
private final ModelRenderer leftLeg
-
rightLeg
private final ModelRenderer rightLeg
-
rightArm
private final ModelRenderer rightArm
-
leftArm
private final ModelRenderer leftArm
-
-
Method Detail
-
parts
public java.lang.Iterable<ModelRenderer> parts()
- Specified by:
parts
in classSegmentedModel<T extends AbstractIllagerEntity>
-
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 AbstractIllagerEntity>
-
getArm
private ModelRenderer getArm(HandSide p_191216_1_)
-
getHat
public ModelRenderer getHat()
-
getHead
public ModelRenderer getHead()
-
translateToHand
public void translateToHand(HandSide p_225599_1_, MatrixStack p_225599_2_)
- Specified by:
translateToHand
in interfaceIHasArm
-
-