Making a Variable

Started by Dollyfroggy on

Topic category: Help with modding (Java Edition)

Last seen on 03:55, 21. May 2022
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making a Variable

I found the 'Set ___' block, but I'm not sure how to create a variable. I couldn't find it anywhere so I figure I'm missing something really simple.

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Local variables can be added…
Sat, 10/23/2021 - 17:12

Local variables can be added on the blocky editor on the right side of the screen

Global variables can be added on the Variables tab on the left side of the screen (on the main element menu)

Last seen on 03:55, 21. May 2022
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you!
Sun, 10/24/2021 - 15:57

Thank you!

Last seen on 03:55, 21. May 2022
Joined Nov 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I still have an issue,…
Sun, 10/24/2021 - 16:07

I still have an issue, actually. It says 'Set variable block for player variable is missing entity input' but I have the dependency 'Event/target entity' and it works everywhere else. How can I fix this? Code here.