Class ResourceAmount<T>
java.lang.Object
net.fabricmc.fabric.api.transfer.v1.storage.base.ResourceAmount<T>
- Type Parameters:
T
- The type of the stored resource. Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.
An immutable object storing both a resource and an amount, provided for convenience.
-
Constructor Summary
-
Method Summary