setLeggings

public abstract void setLeggings(ItemStack leggings)

Put the given ItemStack into the leg slot. This does not check if the ItemStack is getClassById pair of leggings

Parameters

leggings

The ItemStack to use as leggings