Help with variables and block rotation

Started by West0nD3v on

Topic category: Help with modding (Java Edition)

Last seen on 16:30, 18. Jul 2023
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with variables and block rotation

Hey there! When i make a variable for custom block rotation, its not showing up in the procedures, im trying to have it be something like this:

"set blockrotation to random 0,1"

"if blockrotation > 0.75, set block rotation to east"

"if blockrotation < 0.75 and > 0.5, set block rotation to north"

"if blockrotation < 0.5 and > 0.25, set block rotation to west"

"if blockrotation < 0.25, set block rotation to south"

but variable "blockrotation" isn't showing up, is there any variable settings i could possibly change in order for this to work?

Last seen on 16:30, 18. Jul 2023
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
never mind, i was simply…
Sun, 03/06/2022 - 18:49

never mind, i was simply looking in the wrong place