Frinn38 / MekaJS

A Minecraft addon mod for both Mekanism and KubeJS
0 stars 0 forks source link

Custom infuse type addition doesn't work #3

Open Rozen-Hartmann opened 3 years ago

Rozen-Hartmann commented 3 years ago

I copied the code from the project page but it does not appear to work, I get no new infusion types

`onEvent('infuser_type.registry', event => {

 event.create("vanadium_inf").color(16711688)

})`

Though adding a custom gas works perfectly

rguy98 commented 3 years ago

I checked the GitHub code, it's "infuse_type" not "infuser_type". Had the same problem, just a documentation typo

Frinn38 commented 3 years ago

ah shit, will fix the example on curseforge. Thanks for finding that.

Rozen-Hartmann commented 3 years ago

Thanks, will try that