Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.32 KB | None | 0 0
  1.     public ItemStack onItemRightClick(ItemStack itemstack,World world, EntityPlayer player)
  2.     {
  3.         EntityNPCTest npc = new EntityNPCTest(worldObj);
  4.         npc.setLocationAndAngles(player.posX, player.posY, player.posZ, player.rotationYaw, 0.0F);
  5.         worldObj.entityJoinedWorld(npc);
  6.         return itemstack;
  7.    
  8.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement