Mrthomas20121-Mods / ThermalExtra

Add new Augments to Thermal Expansion
MIT License
1 stars 7 forks source link

Suggestion: Component assembly recipes wthout fluid requirement #38

Closed Michepoli closed 2 months ago

Michepoli commented 2 months ago

As for now making component assembly custom recipes requires a fluid input and can't be removed for what i know and tried

Mrthomas20121 commented 2 months ago

i'll look into it

Mrthomas20121 commented 2 months ago

looking at the code, it should work, can I see what you are trying to do?

Michepoli commented 2 months ago

event.custom({
"type": "thermal_extra:component_assembly", "energy": 100, "ingredients": [ { "count": 1, "tag": "forge:plates/gold" }, { "count": 1, "item": 'alltheores:brass_gear' }, { "count": 1, "item": 'alltheores:electrum_gear' }, { "count": 1, "item": 'alltheores:constantan_gear' }, { "amount": 1, "fluid": "minecraft:water" } ], "result": [ { "chance": 1.0, "item": "create:precision_mechanism" } ] })

this, using only kubejs no kubejs thermal, if i put water amount to 0 it automatically gets set to 1000 in game, without adding the fluid the recipe wouldn't even load (no kubejs errors however)

Mrthomas20121 commented 2 months ago

i'll test myself and see if I did anything wrong.

Mrthomas20121 commented 2 months ago

yeah the recipe it works, it just doesn't show up in jei due to a bug in my jei compat, it's fixed now

Mrthomas20121 commented 2 months ago

oh nvm after checking in game, it doesn't work either

Mrthomas20121 commented 2 months ago

fixed

Michepoli commented 2 months ago

thanks