Global Player Persistent

Started by OtionM on

Topic category: Help with Minecraft modding (Java Edition)

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Global Player Persistent

I am attempting to link a Global variable num to an item to determine uses, the item works fine as intended but I can't reset the variable to 0

change the is day in the…
Sat, 10/08/2022 - 16:53

change the is day in the provided world == true to:

not is day in the provided world. The not procedure block can be found in the logic section.

and remove the == true from…
Sat, 10/08/2022 - 16:54

and remove the == true from is event/target entity sleeping. it doesn't need that.

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I originaly started with…
Sat, 10/08/2022 - 17:05

I originaly started with that sequence but on trying to save it says*Found if block without main body. im still getting that error

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
global reset  that isnt…
Sat, 10/08/2022 - 17:14

global reset  that isnt working

associated event that is

what mcreator version are…
Sat, 10/08/2022 - 17:29

what mcreator version are you doing? I tried this on 2022.2 and I didn't get an error

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
same version I have it set…
Sat, 10/08/2022 - 17:43

same version I have it set as a Global player persistent number variable 

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i'll try rebuilding it from…
Sat, 10/08/2022 - 17:45

i'll try rebuilding it from scratch see if it is solved

Joined Oct 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
simply deleting and…
Sat, 10/08/2022 - 17:52

simply deleting and rebuilding it seems to have solved the issue....... fun

Thank you for helping