Class BlankVariantView<T extends TransferVariant<?>>

java.lang.Object
net.fabricmc.fabric.api.transfer.v1.storage.base.BlankVariantView<T>
All Implemented Interfaces:
StorageView<T>

@Experimental public class BlankVariantView<T extends TransferVariant<?>> extends Object implements StorageView<T>
A transfer variant storage view that contains a blank variant all the time (it's always empty), but may have a nonzero capacity. This can be used to give capacity hints even if the storage is empty.

Experimental feature, we reserve the right to remove or change it without further notice. The transfer API is a complex addition, and we want to be able to correct possible design mistakes.