-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generifies disk inventory and extracts the internal multistorage as a "StateTrackedStorage". The storage channel type component of the internal multistorage has been moved into TypedStorage, as it's not necessary for the portable grid or StateTrackedStorage.
- Loading branch information
1 parent
bc8bca8
commit ecbb220
Showing
44 changed files
with
628 additions
and
322 deletions.
There are no files selected for viewing
49 changes: 0 additions & 49 deletions
49
...ork/src/main/java/com/refinedmods/refinedstorage2/api/network/impl/node/StorageState.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 0 additions & 6 deletions
6
.../refinedmods/refinedstorage2/api/network/impl/node/multistorage/MultiStorageListener.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
.../refinedmods/refinedstorage2/api/network/impl/node/multistorage/MultiStorageProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
package com.refinedmods.refinedstorage2.api.network.impl.node.multistorage; | ||
|
||
import com.refinedmods.refinedstorage2.api.storage.Storage; | ||
import com.refinedmods.refinedstorage2.api.storage.TypedStorage; | ||
|
||
import java.util.Optional; | ||
|
||
@FunctionalInterface | ||
public interface MultiStorageProvider { | ||
Optional<TypedStorage<?>> resolve(int index); | ||
<T> Optional<TypedStorage<T, Storage<T>>> resolve(int index); | ||
} |
120 changes: 0 additions & 120 deletions
120
...finedstorage2/api/network/impl/node/multistorage/ListenerMultiStorageNetworkNodeTest.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.