public static Entity loadEntity(Level level, Tag tag) {
		String classname = (String) tag.findTagByName("CLASSNAME").getValue();
		Entity ent = null;
		try {
			ent = (Entity) Class.forName(classname)
					.getConstructor(Level.class, Tag.class).newInstance(level, tag);
		} catch (InstantiationException | IllegalAccessException
				| ClassNotFoundException e) {
			e.printStackTrace();
		} catch (IllegalArgumentException e) {
			e.printStackTrace();
		} catch (InvocationTargetException e) {
			e.printStackTrace();
		} catch (NoSuchMethodException e) {
			e.printStackTrace();
		} catch (SecurityException e) {
			e.printStackTrace();
		}
		return ent;
	}