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 floatprivate final floatprivate final floatprivate final floatprivate final floatprivate final booleanFields inherited from class net.minecraft.client.model.EntityModel
attackTime, riding, youngFields inherited from class net.minecraft.client.model.Model
renderType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedAgeableListModel(boolean pScaleHead, float pBabyYHeadOffset, float pBabyZHeadOffset) protectedAgeableListModel(boolean pScaleHead, float pBabyYHeadOffset, float pBabyZHeadOffset, float pBabyHeadScale, float pBabyBodyScale, float pBodyYOffset) protectedAgeableListModel(Function<ResourceLocation, RenderType> pRenderType, boolean pScaleHead, float pBabyYHeadOffset, float pBabyZHeadOffset, float pBabyHeadScale, float pBabyBodyScale, float pBodyYOffset) -
Method Summary
Modifier and TypeMethodDescriptionvoidrenderToBuffer(PoseStack pPoseStack, VertexConsumer pBuffer, int pPackedLight, int pPackedOverlay, int pColor) Methods inherited from class net.minecraft.client.model.EntityModel
copyPropertiesTo, prepareMobModel, setupAnimMethods 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:
renderToBufferin classModel
-
headParts
-
bodyParts
-