2018-05-26 22:50:30 +02:00
|
|
|
package com.minelittlepony.model.capabilities;
|
|
|
|
|
|
|
|
import net.minecraft.client.model.ModelRenderer;
|
|
|
|
|
2019-03-22 21:09:06 +01:00
|
|
|
import javax.annotation.Nullable;
|
|
|
|
|
2018-05-26 22:50:30 +02:00
|
|
|
public interface ICapitated {
|
2018-06-21 19:28:22 +02:00
|
|
|
/**
|
|
|
|
* Gets the head of this capitated object.
|
|
|
|
*/
|
2018-05-26 22:50:30 +02:00
|
|
|
ModelRenderer getHead();
|
2018-06-21 19:28:22 +02:00
|
|
|
|
|
|
|
/**
|
2019-03-22 21:09:06 +01:00
|
|
|
* Gets the main body
|
|
|
|
*/
|
|
|
|
@Nullable
|
|
|
|
ModelRenderer getBody();
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Returns true if we're wearing any unconventional headgear (ie. a Pumpkin)
|
2018-06-21 19:28:22 +02:00
|
|
|
*/
|
|
|
|
boolean hasHeadGear();
|
|
|
|
|
2018-05-26 22:50:30 +02:00
|
|
|
}
|