Package net.fabricmc.fabric.api.transfer.v1.storage.base
package net.fabricmc.fabric.api.transfer.v1.storage.base
-
ClassDescriptionBlankVariantView<T extends TransferVariant<?>>A transfer variant storage view that contains a blank variant all the time (it's always empty), but may have a nonzero capacity.CombinedSlottedStorage<T,
S extends SlottedStorage<T>> AStorage
wrapping multiple slotted storages.CombinedStorage<T,S extends Storage<T>> AStorage
wrapping multiple storages.AStorage
that supports extraction, and not insertion.A baseStorage
implementation that delegates every call to another storage, except that it only allows insertion or extraction ifFilteringStorage.canInsert(T)
orFilteringStorage.canExtract(T)
allows it respectively.AStorage
that supports insertion, and not extraction.An immutable object storing both a resource and an amount, provided for convenience.Optional helper class that can be implemented on block entities that wish to provide a sided fluid storage and/or a sided item storage without having to register a provider for each block entity type.A storage that is also its only storage view.SingleVariantItemStorage<T extends TransferVariant<?>>Base implementation of a fixed-capacity "continuous" storage for item-provided storage APIs.SingleVariantStorage<T extends TransferVariant<?>>A storage that can store a single transfer variant at any given time.