Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public ItemStack onItemRightClick(ItemStack itemstack,World world, EntityPlayer player)
- {
- EntityNPCTest npc = new EntityNPCTest(worldObj);
- npc.setLocationAndAngles(player.posX, player.posY, player.posZ, player.rotationYaw, 0.0F);
- worldObj.entityJoinedWorld(npc);
- return itemstack;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement