Frinn38 / Custom-Machinery

A Minecraft Mod about creating cutom machines that works
GNU Lesser General Public License v3.0
45 stars 17 forks source link

[BUG] Energy Unextractable #89

Closed Benji07p closed 1 year ago

Benji07p commented 1 year ago

Hello, i've create a custom machinery that generate energy from the hydrogen (chemlib). The machinery generate the energy correctly, but i can't extract it. The energy stay in the machinery. I'm using custom machinery version 1.18.2-0.7.6 and kubejs-forge-1802.5.5-build.569. Maybe it's me who's just misunderstood. antimatter_generator.json.txt antimatter.js.txt

Frinn38 commented 1 year ago

By default the energy component only allow to input energy, initially the default was to allow both input and output but that caused issues (machine would send energy to nearby cables then take it back). If you want to to set the energy component to output you need to specify a side config : Wiki TL;DR : add the following property to your energy component json :

"config": {
    "default": "output"
}

With that the machine will output energy on all sides, if you also need to input energy you will have to configure it per side (c.f the wiki). If you still need help with your machine consider joining the discord (link in github and Curseforge descriptions) as it will be easier to help you there than in Github issues.