// gets the Class objects from the net.mminecraft.server package with the given name
public Class<?> getNmsClass(String name) throws ClassNotFoundException {
// explode the Server interface implementation's package name into its components
String[] packageArray = Bukkit.getServer()....