setTrimsUsed

public abstract ItemStack setTrimsUsed(ItemStack item, boolean used)

Set the item to be using trims. This will prevent the item from being used in a smithing table.

Return

The changed item

Parameters

item

The item

used

If the item is using trims