Skip to content

ResourceQuantity

Package: com.hypixel.hytale.server.core.inventory

public class ResourceQuantity

Represents a quantity of a named resource identified by resource ID. Used alongside MaterialQuantity for crafting and resource tracking.

Signature
ResourceQuantity(String resourceId, int quantity)
ModifierReturn TypeSignature
publicStringgetResourceId()
publicintgetQuantity()
publicResourceQuantityclone(int quantity)
publicItemResourceTypegetResourceType(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.