Package net.fabricmc.fabric.api.transfer.v1.storage
package net.fabricmc.fabric.api.transfer.v1.storage
-
ClassDescriptionStorage<T>An object that can store resources.Preconditions that can be used when working with storages.Helper functions to work with
Storage
s.StorageView<T>A view of a single stored resource in aStorage
, for use withStorage.iterator(net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext)
orStorage.exactView(net.fabricmc.fabric.api.transfer.v1.transaction.TransactionContext, T)
.An immutable association of an immutable object instance (for exampleItem
orFluid
) and an optional NBT tag.