Package net.fabricmc.fabric.api.transfer.v1.storage
package net.fabricmc.fabric.api.transfer.v1.storage
-
InterfaceDescriptionStorage<T>An object that can store resources.StorageView<T>A view of a single stored resource in a
Storage
, 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. -
ClassDescriptionPreconditions that can be used when working with storages.Helper functions to work with
Storage
s.