Package appeng.api.storage
Interface IStorageMonitorableAccessor
public interface IStorageMonitorableAccessor
Allows storage buses to request access to another ME network so it can be used as a subnetwork. This interface is
used in conjunction with capabilities, so when an object of this is obtained, it already knows about which face the
access was requested from.
To get access to the capability for this, use @CapabilityInject with this interface as the argument to the
annotation.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup<IStorageMonitorableAccessor,net.minecraft.core.Direction> -
Method Summary
-
Field Details
-
SIDED
static final net.fabricmc.fabric.api.lookup.v1.block.BlockApiLookup<IStorageMonitorableAccessor,net.minecraft.core.Direction> SIDED
-
-
Method Details
-
getInventory
- Returns:
- Null if the network cannot be accessed by the given action source (i.e. security doesn't permit it).
-