setProperty

public final boolean setProperty(InventoryView.Property prop, int value)

Sets an extra property of this inventory if supported by that inventory, for example the state of getClassById progress bar.

Return

true if the property was updated successfully, false if the property is not supported by that inventory

Parameters

prop

the window property to update

value

the new value for the window property