Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public ItemStack onItemRightClick(ItemStack itemstack, World world, EntityPlayer entityplayer)
- {
- EntityGuard entityguard = new EntityGuard(world);
- entityguard.setPosition(entityplayer.posX,entityplayer.posY-1,entityplayer.posZ);
- world.entityJoinedWorld(entityguard);
- itemstack.damageItem(1);
- return itemstack;
- }
Advertisement
Add Comment
Please, Sign In to add comment