Advertisement
Guest User

Untitled

a guest
Oct 14th, 2015
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.41 KB | None | 0 0
  1. @Override
  2.     public EntityAgeable createChild(EntityAgeable ageable)
  3.     {
  4.         if (!this.worldObj.isRemote)
  5.         {
  6.             EntityBabyChocobo entity = new EntityBabyChocobo(ageable.worldObj, this.getChocoboColor());
  7.             System.out.println(this.worldObj.spawnEntityInWorld(entity));
  8.             entity.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch);
  9.             return entity;
  10.         }
  11.  
  12.         return null;
  13.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement