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-05-27 17:59:15 +02:00
|
|
|
import net.minecraft.entity.LivingEntity;
|
|
|
|
|
2019-06-24 11:25:39 +02:00
|
|
|
import com.minelittlepony.model.ICapitated;
|
|
|
|
import com.minelittlepony.model.ICompartmented;
|
|
|
|
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
|
|
|
import com.minelittlepony.pony.IPony;
|
|
|
|
|
2019-11-25 16:49:20 +01:00
|
|
|
public interface IPonyModel<T extends LivingEntity> extends PonyModelConstants, IModel, ICapitated<ModelPart>, ICompartmented<ModelPart>, MsonModel {
|
2019-05-27 17:59:15 +02:00
|
|
|
|
2019-07-03 13:17:11 +02:00
|
|
|
void updateLivingState(T entity, IPony pony);
|
2019-06-24 11:25:39 +02:00
|
|
|
|
|
|
|
@Override
|
|
|
|
default boolean hasHeadGear() {
|
|
|
|
return getAttributes().hasHeadGear;
|
|
|
|
}
|
2019-05-27 17:59:15 +02:00
|
|
|
}
|