ResourceQuantity
Package: com.hypixel.hytale.server.core.inventory
public class ResourceQuantityRepresents a quantity of a named resource identified by resource ID. Used alongside MaterialQuantity for crafting and resource tracking.
Constructors
Section titled “Constructors”| Signature |
|---|
ResourceQuantity(String resourceId, int quantity) |
Methods
Section titled “Methods”| Modifier | Return Type | Signature |
|---|---|---|
public | String | getResourceId() |
public | int | getQuantity() |
public | ResourceQuantity | clone(int quantity) |
public | ItemResourceType | getResourceType(Item item) |
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.