I need help with my procedure code again...

Started by GeoMetri on

Topic category: Help with modding (Java Edition)

Last seen on 23:13, 25. Aug 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need help with my procedure code again...
If Slot 2 = "Ice" and Get NBT tag "Liquid" <= 15000
	Remove 1 item from Slot 2
	NBT tag "Liquid" += 1
Return Text ("Liquid: " + NBT tag "Liquid")

The Value doesn't update yet still deletes all the ice.

Last seen on 11:33, 7. Sep 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well, It deletes all the ice…
Sat, 07/20/2024 - 11:10

Well, It deletes all the ice, and then doesen't update because you don't have ice anymore, you wrote Liquid+=1 inside the if that checks if you have ice

Last seen on 23:13, 25. Aug 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But the NBT isn't updated…
Sat, 07/20/2024 - 11:15

But the NBT isn't updated when the ice gets removed

Last seen on 23:13, 25. Aug 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And the GUI glitches
Sat, 07/20/2024 - 11:17

And the GUI glitches

Last seen on 11:33, 7. Sep 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What value does It have…
Sat, 07/20/2024 - 11:18

What value does It have After the ice gets removed?

Last seen on 23:13, 25. Aug 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The text shows 0 and The GUI…
Sat, 07/20/2024 - 11:20

The text shows 0 and The GUI in slot 2 doesn't show the ice but I can grab it.

Last seen on 23:13, 25. Aug 2024
Joined Jul 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I fixed it
Sat, 07/20/2024 - 11:32

I fixed it

Last seen on 11:33, 7. Sep 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alright 
Sat, 07/20/2024 - 12:43

Alright