Global Player Persistent

Started by OtionM on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Oct 2022
Points:
355

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
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

Active 4 months ago
Joined Jul 2022
Points:
1896

User statistics:

  • Modifications: 2
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 19
  • Comments: 1729
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.

Active 4 months ago
Joined Jul 2022
Points:
1896

User statistics:

  • Modifications: 2
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 19
  • Comments: 1729
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.

Active 2 years ago
Joined Oct 2022
Points:
355

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
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

Active 2 years ago
Joined Oct 2022
Points:
355

User statistics:

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

global reset  that isnt working

associated event that is

Active 4 months ago
Joined Jul 2022
Points:
1896

User statistics:

  • Modifications: 2
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 19
  • Comments: 1729
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

Active 2 years ago
Joined Oct 2022
Points:
355

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
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 

Active 2 years ago
Joined Oct 2022
Points:
355

User statistics:

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

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

Active 2 years ago
Joined Oct 2022
Points:
355

User statistics:

  • Modifications: 0
  • Forum topics: 2
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
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

Active 4 months ago
Joined Jul 2022
Points:
1896

User statistics:

  • Modifications: 2
  • Forum topics: 12
  • Wiki pages: 0
  • MCreator plugins: 19
  • Comments: 1729
no problem
Sat, 10/08/2022 - 18:00

no problem