Answers for "spigot how to spawn an entity"

5

spigot spawn entity

World myWorld = Bukkit.getWorld("world");
	Location spawnLocation = new Location(myWorld, 0, 10, 0);
	Entity spawnedPig = myWorld.spawnEntity(spawnLocation, EntityType.PIG);
Posted by: Guest on May-14-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language