Package net.minecraft.client.model
Class AgeableListModel<E extends Entity>
java.lang.Object
net.minecraft.client.model.Model
net.minecraft.client.model.EntityModel<E>
net.minecraft.client.model.AgeableListModel<E>
- Direct Known Subclasses:
AxolotlModel
,BeeModel
,ChickenModel
,ColorableAgeableListModel
,ElytraModel
,FoxModel
,HoglinModel
,HorseModel
,HumanoidModel
,OcelotModel
,QuadrupedModel
,TadpoleModel
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final float
private final float
private final float
private final float
private final float
private final boolean
Fields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, young
Fields inherited from class net.minecraft.client.model.Model
renderType
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
protected
AgeableListModel
(boolean pScaleHead, float pBabyYHeadOffset, float pBabyZHeadOffset) protected
AgeableListModel
(boolean pScaleHead, float pBabyYHeadOffset, float pBabyZHeadOffset, float pBabyHeadScale, float pBabyBodyScale, float pBodyYOffset) protected
AgeableListModel
(Function<ResourceLocation, RenderType> pRenderType, boolean pScaleHead, float pBabyYHeadOffset, float pBabyZHeadOffset, float pBabyHeadScale, float pBabyBodyScale, float pBodyYOffset) -
Method Summary
Modifier and TypeMethodDescriptionvoid
renderToBuffer
(PoseStack pPoseStack, VertexConsumer pBuffer, int pPackedLight, int pPackedOverlay, int pColor) Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModel, setupAnim
Methods inherited from class net.minecraft.client.model.Model
renderToBuffer, renderType
-
Field Details
-
scaleHead
private final boolean scaleHead -
babyYHeadOffset
private final float babyYHeadOffset -
babyZHeadOffset
private final float babyZHeadOffset -
babyHeadScale
private final float babyHeadScale -
babyBodyScale
private final float babyBodyScale -
bodyYOffset
private final float bodyYOffset
-
-
Constructor Details
-
AgeableListModel
protected AgeableListModel(boolean pScaleHead, float pBabyYHeadOffset, float pBabyZHeadOffset) -
AgeableListModel
protected AgeableListModel(boolean pScaleHead, float pBabyYHeadOffset, float pBabyZHeadOffset, float pBabyHeadScale, float pBabyBodyScale, float pBodyYOffset) -
AgeableListModel
protected AgeableListModel(Function<ResourceLocation, RenderType> pRenderType, boolean pScaleHead, float pBabyYHeadOffset, float pBabyZHeadOffset, float pBabyHeadScale, float pBabyBodyScale, float pBodyYOffset) -
AgeableListModel
protected AgeableListModel()
-
-
Method Details
-
renderToBuffer
public void renderToBuffer(PoseStack pPoseStack, VertexConsumer pBuffer, int pPackedLight, int pPackedOverlay, int pColor) - Specified by:
renderToBuffer
in classModel
-
headParts
-
bodyParts
-