Posted April 24, 20169 yr I've been able to get the Entity's Armor, but it's never damaged and never has an enchantment. So how would I get all the information and put it in this? if(entity.getEquipmentInSlot(4) != null && !player.getEntityWorld().isRemote){ player.getEntityWorld().spawnEntityInWorld(new EntityItem(player.getEntityWorld(), player.posX, player.posY, player.posZ, [color=red]new ItemStack(entity.getEquipmentInSlot(4).getItem()[/color]))); entity.setCurrentItemOrArmor(4, null); }
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.