minecraft 1.16.4 custom mob code example
Example: spigot custom mob
World myWorld = Bukkit.getWorld("world");
Location spawnLocation = new Location(myWorld, 0, 10, 0);
Entity spawnedPig = myWorld.spawnEntity(spawnLocation, EntityType.PIG);
World myWorld = Bukkit.getWorld("world");
Location spawnLocation = new Location(myWorld, 0, 10, 0);
Entity spawnedPig = myWorld.spawnEntity(spawnLocation, EntityType.PIG);