@Override public ItemStack getLeggings() { return holder.getLeggings(); }
@Override public ItemStack getLeggings() { return entity.getLeggings(); }
@Override public MCItemStack getLeggings() { return new BukkitMCItemStack(as.getLeggings()); }
@Override public ItemStack[] getArmorContents() { return new ItemStack[] { entity.getHelmet(), entity.getChestplate(), entity.getLeggings(), entity.getBoots() }; }
public EntityArmorStandData(ArmorStand armorStand) { itemInHand = armorStand.getItemInHand(); if (itemInHand != null) itemInHand = itemInHand.clone(); boots = armorStand.getBoots(); if (boots != null) boots = boots.clone(); leggings = armorStand.getLeggings(); if (leggings != null) leggings = leggings.clone(); chestplate = armorStand.getChestplate(); if (chestplate != null) chestplate = chestplate.clone(); helmet = armorStand.getHelmet(); if (helmet != null) helmet = helmet.clone(); bodyPose = armorStand.getBodyPose(); leftArmPose = armorStand.getLeftArmPose(); rightArmPose = armorStand.getRightArmPose(); leftLegPose = armorStand.getLeftLegPose(); rightLegPose = armorStand.getRightLegPose(); headPose = armorStand.getHeadPose(); hasGravity = armorStand.hasGravity(); isVisible = armorStand.isVisible(); hasArms = armorStand.hasArms(); isSmall = armorStand.isSmall(); hasBasePlate = armorStand.hasBasePlate(); isMarker = armorStand.isMarker(); disabledSlots = CompatibilityUtils.getDisabledSlots(armorStand); }