diff --git a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/storage/base/SidedStorageBlockEntity.java b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/storage/base/SidedStorageBlockEntity.java index 09c20208fa..b7f466271b 100644 --- a/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/storage/base/SidedStorageBlockEntity.java +++ b/fabric-transfer-api-v1/src/main/java/net/fabricmc/fabric/api/transfer/v1/storage/base/SidedStorageBlockEntity.java @@ -47,19 +47,23 @@ public interface SidedStorageBlockEntity { /** * Return a fluid storage if available on the queried side, or null otherwise. + * + * @param side The side of the storage to query, {@code null} means that the full storage without the restriction should be returned instead. */ @ApiStatus.OverrideOnly @Nullable - default Storage getFluidStorage(Direction side) { + default Storage getFluidStorage(@Nullable Direction side) { return null; } /** * Return an item storage if available on the queried side, or null otherwise. + * + * @param side The side of the storage to query, {@code null} means that the full storage without the restriction should be returned instead. */ @ApiStatus.OverrideOnly @Nullable - default Storage getItemStorage(Direction side) { + default Storage getItemStorage(@Nullable Direction side) { return null; } }