Add utility methods to SlottedItem.

This commit is contained in:
Major-
2014-02-22 00:53:43 +00:00
parent b06bd36d55
commit 5d3dd47f17
@@ -28,6 +28,24 @@ public final class SlottedItem {
this.item = item;
}
/**
* Gets the id of the {@link Item}.
*
* @return The id.
*/
public int getId() {
return item.getId();
}
/**
* Gets the amount of the {@link Item}.
*
* @return The amount.
*/
public int getamount() {
return item.getAmount();
}
/**
* Gets the item.
*