MineLittlePony/src/main/java/com/minelittlepony/pony/data/IPonyData.java

41 lines
813 B
Java
Raw Normal View History

package com.minelittlepony.pony.data;
2016-11-24 02:01:23 -05:00
import net.minecraft.client.resources.data.IMetadataSection;
/**
* Metadata for a pony.
2016-11-24 02:01:23 -05:00
*/
public interface IPonyData extends IMetadataSection {
/**
* Gets this pony's race.
*/
PonyRace getRace();
2016-11-24 02:01:23 -05:00
/**
* Gets the length of the pony's tail.
*/
TailLengths getTail();
/**
* Get the pony's gender (usually female).
*/
PonyGender getGender();
/**
* Gets the current pony size.
*/
PonySize getSize();
/**
* Gets the magical glow colour for magic-casting races. Returns 0 otherwise.
*/
int getGlowColor();
/**
* Returns true if and only if this metadata represents a pony that can cast magic.
*/
boolean hasMagic();
boolean isWearing(PonyWearable wearable);
2016-11-24 02:01:23 -05:00
}