I'm trying to add a new type of weapon to Hephaestus, a fabric port of Tinkers Construct. The standard Tinkers way of doing this doesn't seem to be available on Fabric, so I've turned to KubeJS, which I am very new to.
The main problem I'm having: Hephaestus tools need to belong to the IModifiable class from that mod, so they can have different stats and traits. I'm registering an item in a startup script but do not know how to make it an IModifiable.
If it helps, here is the link what I think is the relevant code in Hephaestus: https://github.com/Alpha-s-Stuff/TinkersConstruct/blob/1.20.1/src/main/java/slimeknights/tconstruct/library/tools/item/IModifiable.java
Tinker a little, build a little, tinker a little more... - Alpha-s-Stuff/TinkersConstruct