2013-05-03 13:00:44 +00:00
|
|
|
package biomesoplenty.api;
|
|
|
|
|
|
|
|
public class Entities {
|
2013-05-31 10:34:02 +00:00
|
|
|
|
2013-08-06 08:57:04 +00:00
|
|
|
public static Class Mudball = getClass("biomesoplenty.entities.projectiles.EntityMudball");
|
|
|
|
public static Class Dart = getClass("biomesoplenty.entities.projectiles.EntityDart");
|
2013-06-15 08:46:50 +00:00
|
|
|
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-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;
|
|
|
|
}
|
|
|
|
}
|