2019-06-24 11:25:39 +02:00
|
|
|
package com.minelittlepony.client.model;
|
2019-05-27 17:59:15 +02:00
|
|
|
|
2019-11-22 18:24:22 +01:00
|
|
|
import net.minecraft.client.model.ModelPart;
|
2019-11-30 16:19:16 +01:00
|
|
|
import net.minecraft.client.render.entity.model.BipedEntityModel;
|
2019-05-27 17:59:15 +02:00
|
|
|
import net.minecraft.entity.LivingEntity;
|
|
|
|
|
2021-02-06 15:52:06 +01:00
|
|
|
import com.minelittlepony.api.model.BodyPart;
|
|
|
|
import com.minelittlepony.api.model.ICapitated;
|
|
|
|
import com.minelittlepony.api.model.IModel;
|
|
|
|
import com.minelittlepony.api.model.ModelAttributes;
|
|
|
|
import com.minelittlepony.api.model.PonyModelConstants;
|
2020-04-03 23:54:12 +02:00
|
|
|
import com.minelittlepony.api.pony.IPony;
|
2019-11-25 16:49:20 +01:00
|
|
|
import com.minelittlepony.mson.api.MsonModel;
|
2019-05-28 01:50:45 +02:00
|
|
|
|
2020-04-03 23:54:12 +02:00
|
|
|
public interface IPonyModel<T extends LivingEntity> extends PonyModelConstants, IModel, ICapitated<ModelPart>, MsonModel {
|
2019-05-27 17:59:15 +02:00
|
|
|
|
2019-11-30 16:19:16 +01:00
|
|
|
void copyAttributes(BipedEntityModel<T> other);
|
|
|
|
|
2021-02-06 15:52:06 +01:00
|
|
|
void updateLivingState(T entity, IPony pony, ModelAttributes.Mode mode);
|
2020-04-03 23:54:12 +02:00
|
|
|
|
|
|
|
ModelPart getBodyPart(BodyPart part);
|
2019-05-27 17:59:15 +02:00
|
|
|
}
|