Custom-Machinery icon indicating copy to clipboard operation
Custom-Machinery copied to clipboard

[1.21.1] Pneumaticcraft Temperature Requirement

Open Cazadorsniper opened this issue 8 months ago • 2 comments

Custom Machinery Version: 0.10.58 Custom Machinery PneumaticCraft Version: 1.0.6

The PNC temperature requirement doesn't seem to work, the recipe I made crafts regardless of the current temperature even in negative temps.

{ "type": "custommachinery:custom_machine", "machine": "custommachinery:refinery", "time": 200, "requirements": [ { "type": "custommachinery:fluid", "mode": "input", "tank": "inputTank0", "ingredient": { "fluid": "pneumaticcraft:oil", "amount": 100 } }, { "type": "custommachinery:pnc_temperature", "temperature": "(100,)" }, { "type": "custommachinery:fluid", "mode": "output", "tank": "outputTank0", "ingredient": { "fluid": "pneumaticcraft:diesel", "amount": 50 } }, { "type": "custommachinery:fluid", "mode": "output", "tank": "outputTank1", "ingredient": { "fluid": "pneumaticcraft:kerosene", "amount": 25 } }, { "type": "custommachinery:fluid", "mode": "output", "tank": "outputTank2", "ingredient": { "fluid": "pneumaticcraft:gasoline", "amount": 12 } }, { "type": "custommachinery:fluid", "mode": "output", "tank": "outputTank3", "ingredient": { "fluid": "pneumaticcraft:lpg", "amount": 6 } } ] }

Cazadorsniper avatar Mar 11 '26 02:03 Cazadorsniper

I think I messed up and registered the requirements under the addons namespace rather than the main mod's. So try using custommachinerypnc:pnc_temperature as requirement type instead.

Frinn38 avatar Mar 11 '26 02:03 Frinn38

Yup, that was it.

Cazadorsniper avatar Mar 11 '26 13:03 Cazadorsniper