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>> AStoragewrapping multiple slotted storages.CombinedStorage<T,S extends Storage<T>> AStoragewrapping multiple storages.AStoragethat supports extraction, and not insertion.A baseStorageimplementation that delegates every call to another storage, except that it only allows insertion or extraction ifFilteringStorage.canInsert(T)orFilteringStorage.canExtract(T)allows it respectively.AStoragethat 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.