Open mineLdiver opened 6 months ago
My proposed layout:
The idea is that each level node is only aware of its predecessors and can have multiple of them.
In code, if tool material only specifies a numeric mining level, it'll stick to the default branch (vanilla + extended). If a level node is specified, it overrides the numeric mining level, binding the tool material to the appropriate place in the graph.
Any level node can be modified at any time to get more predecessors, including vanilla nodes.
Feedback is greatly appreciated.
Actual implementation turned out to be way easier thanks to tags that basically replace the MiningNode
and all related logic.
Implementation is being worked on at https://github.com/ModificationStation/StationAPI/tree/2.0-alpha.3
Current StationAPI tool items system is convoluted and broken.
There aren't solid plans on how to reimplement the system.
Discussion is welcome.