BiomesOPlenty/common/biomesoplenty/api/Entities.java

27 lines
864 B
Java
Raw Normal View History

2013-05-03 13:00:44 +00:00
package biomesoplenty.api;
public class Entities {
2013-05-31 10:34:02 +00:00
public static Class Mudball = getClass("biomesoplenty.entities.projectiles.EntityMudball");
public static Class Dart = getClass("biomesoplenty.entities.projectiles.EntityDart");
public static Class JungleSpider = getClass("biomesoplenty.entities.EntityJungleSpider");
public static Class Rosester = getClass("biomesoplenty.entities.EntityRosester");
public static Class Glob = getClass("biomesoplenty.entities.EntityGlob");
2013-11-08 03:16:32 +00:00
public static Class Wasp = getClass("biomesoplenty.entities.EntityWasp");
public static Class Bird = getClass("biomesoplenty.entities.EntityBird");
2013-05-31 10:34:02 +00:00
2013-05-03 13:00:44 +00:00
public static Class getClass(String inputstring)
{
Class foundclass = null;
2013-05-31 10:34:02 +00:00
try
2013-05-03 13:00:44 +00:00
{
foundclass = Class.forName(inputstring);
2013-05-31 10:34:02 +00:00
}
catch (ClassNotFoundException e)
2013-05-03 13:00:44 +00:00
{
e.printStackTrace();
}
return foundclass;
}
}