getItem
Returns item by given itemId, or null
if the ID not found in this registry.
Returns item stack with specified payload by given itemId, or null
if the ID not found in this registry.
If payload is not null
, item will be configured using it.
Returns item stack with specified amount by given itemId, or null
if ID not found in this registry.
If given amount is greater than maximum possible, will use maximum possible amount. Amount shouldn't be less than 1
.
Returns item stack with specified amount and payload by given itemId, or null
if ID not found in this registry.
If given amount is greater than maximum possible, will use maximum possible amount. Amount shouldn't be less than 1
.
Given payload may be used to configure item.