Class ItemUseInfo
java.lang.Object
de.ellpeck.rockbottom.api.construction.resource.ItemUseInfo
- All Implemented Interfaces:
IUseInfo
-
Constructor Summary
ConstructorsConstructorDescriptionItemUseInfo(Item item) ItemUseInfo(ItemInstance instance) ItemUseInfo(Item item, int amount) ItemUseInfo(Item item, int amount, int meta) ItemUseInfo(Tile tile) ItemUseInfo(Tile tile, int amount) ItemUseInfo(Tile tile, int amount, int meta) -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsItem(ItemInstance instance) copy()booleanintgetItems()inthashCode()setAmount(int amount) toString()
-
Constructor Details
-
ItemUseInfo
-
ItemUseInfo
-
ItemUseInfo
-
ItemUseInfo
-
ItemUseInfo
-
ItemUseInfo
-
ItemUseInfo
-
-
Method Details
-
getAmount
public int getAmount() -
setAmount
-
getItems
-
containsItem
- Specified by:
containsItemin interfaceIUseInfo
-
copy
-
equals
-
hashCode
public int hashCode() -
toString
-