Skip to content
thebrightspark edited this page Jul 25, 2018 · 1 revision

It is possible for other mods to register their own tools by simply registering an event handler for the RegisterToolEvent and adding ModTool instances to it. Both the RegisterToolEvent and ModTool classes are in the api package and contain Java docs explaining what everything does.

The event is only fired when the customTools.json is being generated to allow pack creators to still be able to configure your tools.

Here's an example which adds blue tools with Lapis Lazuli in the recipe: https://gist.github.com/thebrightspark/0df5057b1e37cd2f13f9def0edb85d1d

Mod Support Example: Blue Hammer Mod Support Example: Blue Hammer Recipe

Clone this wiki locally