Is this possible to make "≠" instead of "=" in condition or make them negative?

Started by ShAdOw112 on

Topic category: Help with MCreator software

Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is this possible to make "≠" instead of "=" in condition or make them negative?
Sat, 06/13/2020 - 13:44 (edited)

I know it sounds strange but it would make me easier to create procedures. Example: If: get item from armor slot [3] of Event/target entity ≠ [custom_helmet], do:
if: Has Event/target entity [custom_sword], do: remove 1 [custom_sword] from Event/target entity inventory.

Edited by ShAdOw112 on Sat, 06/13/2020 - 13:44
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There is a “not” procedure…
Sat, 06/13/2020 - 14:46

There is a “not” procedure that you can put in front of some procedure blocks. Will that help? Basically, with that procedure it does the “do” section if the condition if not met.

If: Not: get block at x y z = dirt

   Do: something

 

It does the something only if it is NOT dirt.

Joined Mar 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But in fact that's how it…
Sat, 06/13/2020 - 14:57

But in fact that's how it suppose to be. Check if it isn't dirt and then do action.

Joined Jul 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
If I remember correctly, to…
Sun, 06/14/2020 - 02:41

If I remember correctly, to check that it isn't is generally =! (or !=, cant remember which ones is exactly)