I need help with my procedure code.

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.
If get slot 2 = "Coal Block"
	if Local:Timer <= 20
		set slot 1 to get slot 0
		remove 1 item from slot 2
		Local:Timer = 0
	else
		Local:Timer += 1
else
	Local:Timer = 0
	
"All I know is that when I remove the variable it works but it is too fast. This is a written version of the block code."
Last seen on 11:33, 7. Sep 2024
Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Do It with NBT Number tags…
Fri, 07/19/2024 - 19:33

Do It with NBT Number tags and replace <= with >=

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I meant >= and I now have…
Fri, 07/19/2024 - 19:46

I meant >= and I now have Replaced It with NBT and it works.

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

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alright 
Fri, 07/19/2024 - 19:50

Alright