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;
|
|
|
|
|
2020-04-03 23:54:12 +02:00
|
|
|
import com.minelittlepony.api.pony.IPony;
|
2019-11-30 11:14:52 +01:00
|
|
|
import com.minelittlepony.client.render.EquineRenderManager;
|
2020-04-03 23:54:12 +02:00
|
|
|
import com.minelittlepony.model.BodyPart;
|
2019-06-24 11:25:39 +02:00
|
|
|
import com.minelittlepony.model.ICapitated;
|
|
|
|
import com.minelittlepony.model.IModel;
|
|
|
|
import com.minelittlepony.model.PonyModelConstants;
|
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);
|
|
|
|
|
2019-11-30 11:14:52 +01:00
|
|
|
void updateLivingState(T entity, IPony pony, EquineRenderManager.Mode mode);
|
2020-04-03 23:54:12 +02:00
|
|
|
|
|
|
|
ModelPart getBodyPart(BodyPart part);
|
2019-05-27 17:59:15 +02:00
|
|
|
}
|