public class ResourceQuantity
Class ResourceQuantity. Provides resourcequantity functionality for the Hytale server.
java.lang.Object > ResourceQuantity
Field Summary
resourceId
protected
String
resourceId
Field resourceId.
quantity
protected
int
quantity
Field quantity.
itemStack
final
ResourceQuantity
itemStack
Field itemStack.
Method Detail
ResourceQuantity
public
public
ResourceQuantity
(final String resourceId, final int quantity)
Method ResourceQuantity.
- Parameters:
final StringresourceIdfinal intquantity
getResourceId
public
String
getResourceId
()
Method getResourceId.
getQuantity
public
int
getQuantity
()
Method getQuantity.
clone
Method clone.
- Parameters:
final intquantity
equals
public
boolean
equals
(@Nullable final Object o)
Method equals.
- Parameters:
@Nullable final Objecto
hashCode
public
int
hashCode
()
Method hashCode.
toString
public
String
toString
()
Method toString.