y + (world.rand.nextDouble() * 3.0) * (world.rand.nextBoolean() ? -1 : 1),
z + (world.rand.nextDouble() * 3.0) * (world.rand.nextBoolean() ? -1 : 1),
0, 0, 0);
try {
Constructor<? extends EntityTameable> c = creature.getConstructor(World.class);
EntityTameable en = c.newInstance(world);
en.setPosition(x, y, z);
if (owner instanceof EntityPlayer)
en.setOwner(((EntityPlayer) owner).username);
en.setTamed(true);
world.spawnEntityInWorld(en);
new Thread(new Watcher(en, duration)).start();
} catch (Exception e) {
e.printStackTrace();
return;