NovaEngineering-Source / ModularMachinery-Community-Edition

Customize your machinery with more powerful features.
https://www.curseforge.com/minecraft/mc-mods/modularmachinery-community-edition
GNU General Public License v3.0
31 stars 15 forks source link

(!(<TEXT>) #97

Open RenanVieira88 opened 5 months ago

RenanVieira88 commented 5 months ago

Hi,

in this exemple:

{ "parts": [ { "x": 0, "y": -1, "z": 0, "nbt": {"facing":"0","id":"immersiveintelligence:transmissionbox","energy":{"torque":"0.0f","speed":"0.0f"}}, "elements": [ "immersiveintelligence:mechanical_device@0" ] } ]}

Is there any way to do this for the assembly machine if the torque is different from 0?

KasumiNova commented 5 months ago

"nbt" -> "display-nbt"?

RenanVieira88 commented 5 months ago

I don't understand, sorry, to give an example of what I want to do: The machine should only work if it has torque, but it can be any torque, anything other than 0

KasumiNova commented 5 months ago
{
    "parts": [
        {
            "x": 0,
            "y": -1,
            "z": 0,
            "nbt": {"facing":"0","id":"immersiveintelligence:transmissionbox","energy":{"torque":">0.0f","speed":"0.0f"}},
            "elements": [
                "immersiveintelligence:mechanical_device@0"
            ]
        }
    ]
}

Not sure it will works.

developeropssenior commented 5 months ago

I've try this early, don't work :/