1.12.2 Variable Problem

Started by 3284987829@qq.com on

Topic category: Troubleshooting, bugs, and solutions

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
1.12.2 Variable Problem

I would like to ask, I use 1.12.2 plug-in production mods, the use of variables on the error is how to return a responsibility, is not supported, or my reasons?

On 1.12.2 there are only…
Tue, 08/24/2021 - 15:26

On 1.12.2 there are only three supported global variables, being "global map", "global world" and "global session". Since noone contributed to plug-in, I think these are the only ones you can use without hesitation (they can be bugged though, so it's good to upload GitHub ticket if these three don't work)

Also, as I just looked at 2020.2 version of MCreator, there's no return blocks there, so I believe they won't work with plug-in either.

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
OK?All right, I'll upgrade…
Wed, 08/25/2021 - 06:13

OK?All right, I'll upgrade to version 1.16.5.

Joined Aug 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
There are no variables that…
Wed, 08/25/2021 - 06:19

There are no variables that affect the player range, right? The 1.12.2 plug-in of 2021.1 will report an error when using variables, so will the 1.12.2 plug-in be updated

Hmm, probably not, maybe it…
Wed, 08/25/2021 - 07:40

Hmm, probably not, maybe it could be done different way, but I never done anything like that before, so I don't know what could be "workaround" for that.

As for 1.12.2 plug-in being updated - it isn't officially supported anymore, but anyone who knows code can start supporting it, since it is open source.
Honestly, even I want to contribute someday, but I just started learning code, so it will take me a while before I start patching it / adding new features. But I will definitely try to start this year, once I have enough time and knowledge.