World testWorld = Bukkit.getWorld("Hello World!");
Location spawnLocation = new Location(testWorld, 0, 20, 0);
Entity spawnedPig = testWorld.spawnEntity(spawnLocation, EntityType.PIG);
World testWorld = Bukkit.getWorld("Hello World!");
Location spawnLocation = new Location(testWorld, 0, 20, 0);
Entity spawnedPig = testWorld.spawnEntity(spawnLocation, EntityType.PIG);
World testWorld = Bukkit.getWorld("Hello World!"); Location spawnLocation = new Location(testWorld, 0, 20, 0); Entity spawnedPig = testWorld.spawnEntity(spawnLocation, EntityType.PIG);