Add API so other mods can tell AS about their materials/tools
dexman545 opened this issue ยท 1 comments
The goal of this API is to better allow mods to communicate with AutoSwitch, and to better facilitate custom materials, toolsets, and damage systems (ie power tools) within AutoSwitch without adding to it a myriad of other APIs that provide a great deal of out-of-scope functionality and fractured code paths to manage. The API must be simple, unobtrusive for the mods implementing it, and should have little dependency on MC itself where possible. The API should exist separately from AutoSwitch to avoid polluting others' dev environments.
API with the following features:
- Modded materials and their default config value
- Restructure MaterialHandler into a HashMap
- Provide EntryPoint
- Custom tool groups (ie pickaxes, shovels, etc)
- Provide EntryPoint
- Convert to HashMap for ease of lookup/use
- Energy API/Custom Damage system API for mods like Tech Reborn to let AS know when the tool is low on energy
- Provide EntryPoint