Package net.frozenblock.lib.storage.api
Interface StorageInteraction<T>
- Type Parameters:
T- The type of resource being moved.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
- Since:
- 1.3.8
-
Method Summary
Modifier and TypeMethodDescriptionlongmoveResources(net.fabricmc.fabric.api.transfer.v1.storage.Storage<T> storage, T resource, long maxAmount, net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext transaction) default longmoveResources(net.fabricmc.fabric.api.transfer.v1.storage.Storage<T> storage, T resource, long maxAmount, net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext transaction, boolean simulate)
-
Method Details
-
moveResources
-
moveResources
-