Package vazkii.botania.api.corporea
Interface CorporeaNodeDetector
- All Known Implementing Classes:
VanillaNodeDetector
public interface CorporeaNodeDetector
This interface is responsible for taking a location and exposing it, if possible, to the corporea network.
Mods with custom storage solutions can implement this and register it using the API so that corporea supports
their storaage.
Implementations are already provided in Botania for Vanilla's interfaces.
-
Method Summary
Modifier and TypeMethodDescription@Nullable CorporeaNodegetNode(net.minecraft.world.level.Level world, CorporeaSpark spark)
-
Method Details
-
getNode
@Nullable @Nullable CorporeaNode getNode(net.minecraft.world.level.Level world, CorporeaSpark spark) - Returns:
- A corporea node that this detector found at the given location, else null
-