2016-11-17 05:45:04 +01:00
|
|
|
package com.minelittlepony.model;
|
2015-08-02 00:36:33 +02:00
|
|
|
|
2016-11-17 05:45:04 +01:00
|
|
|
import com.minelittlepony.model.pony.ModelHumanPlayer;
|
|
|
|
import com.minelittlepony.model.pony.ModelPlayerPony;
|
|
|
|
import com.minelittlepony.model.pony.ModelSkeletonPony;
|
|
|
|
import com.minelittlepony.model.pony.ModelVillagerPony;
|
|
|
|
import com.minelittlepony.model.pony.ModelZombiePony;
|
|
|
|
import com.minelittlepony.model.pony.armor.HumanArmors;
|
|
|
|
import com.minelittlepony.model.pony.armor.PonyArmors;
|
|
|
|
import com.minelittlepony.model.pony.armor.SkeletonPonyArmors;
|
|
|
|
import com.minelittlepony.model.pony.armor.ZombiePonyArmors;
|
2015-08-02 00:36:33 +02:00
|
|
|
|
2016-11-25 05:40:19 +01:00
|
|
|
import java.lang.reflect.Field;
|
|
|
|
|
2015-08-02 00:36:33 +02:00
|
|
|
public final class PMAPI {
|
|
|
|
|
2016-01-19 06:34:07 +01:00
|
|
|
public static final PlayerModel pony = new PlayerModel(new ModelPlayerPony(false)).setArmor(new PonyArmors());
|
|
|
|
public static final PlayerModel ponySmall = new PlayerModel(new ModelPlayerPony(true)).setArmor(new PonyArmors());
|
2015-12-16 05:29:47 +01:00
|
|
|
public static final PlayerModel zombie = new PlayerModel(new ModelZombiePony()).setArmor(new ZombiePonyArmors());
|
|
|
|
public static final PlayerModel skeleton = new PlayerModel(new ModelSkeletonPony()).setArmor(new SkeletonPonyArmors());
|
|
|
|
public static final PlayerModel villager = new PlayerModel(new ModelVillagerPony()).setArmor(new PonyArmors());
|
2016-01-19 06:34:07 +01:00
|
|
|
public static final PlayerModel human = new PlayerModel(new ModelHumanPlayer(false)).setArmor(new HumanArmors());
|
|
|
|
public static final PlayerModel humanSmall = new PlayerModel(new ModelHumanPlayer(true)).setArmor(new HumanArmors());
|
2015-08-02 00:36:33 +02:00
|
|
|
|
|
|
|
public static void init() {
|
|
|
|
for (Field field : PMAPI.class.getFields()) {
|
|
|
|
try {
|
|
|
|
PlayerModel model = (PlayerModel) field.get(null);
|
|
|
|
model.init();
|
|
|
|
} catch (Exception e) {
|
|
|
|
e.printStackTrace();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|