Error with Global Variables,World Tick (Bug?) and other little error to fix

Started by GuerraReturns on Sat, 11/14/2020 - 22:34

Topic category: Troubleshooting, bugs, and solutions

Last seen on 09:34, 29. Jun 2021
Joined Jan 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Error with Global Variables,World Tick (Bug?) and other little error to fix
Sat, 11/14/2020 - 23:04 (edited)

SORRY FOR BAD ENGLISH*

Hi guys, i have this error when i set the global "schermonero" to "schermonero - 1" inside the world tick.
Look screen for all info...
Anyone know how i can fix it?

https://i.imgur.com/MBLrLqt.png
https://i.imgur.com/H3ACuQi.png

(When i join the world i set "schermonero" to 120, and after 6 seconds, i need "schermonero" to 0, but still blocked on 119

I think the best way for fix is create an NBT inside all players, change "schermonero" from "number" to "logic", and, if schermonero is true, start the cooldown for the NBT and, when the cooldown go to 0, set "schermonero" to false, i think is the last idea, please fix this error...

// EDIT: This is the 1.12.2 generator for 2020.5 Snapshot, 2.3.1 released by Klemen (https://mcreator.net/plugin/64513/minecraft-1122-generator)
Another bug i found in this version is the "sourceentity".
If you create an item that send the sourceentity and targetentity (like "when item hit an entity" inside procedure of an item) the code break and give the error inside the item.
For fix, we need change "sourceentity" with "entity2" inside the code manually and lock the code.

Same with "Players right click on entity", sourceentity not work

//EDIT 2: Why you write here ? 1.12.2 is not supported
Because i not have github account LOL

Edited by GuerraReturns on Sat, 11/14/2020 - 23:04
Entity NBT is not synced…
Sun, 11/15/2020 - 09:28

Entity NBT is not synced properly, so use player variables, that are supported 1.14.4 and upwards.

1.12.2 is not supported because no developer is interested in maintaining it, and I personally don't have time to cover all older versions, unfortunatelly.