how to assign a variable to spawn weight

Started by tntapplecraft YT on Sun, 05/17/2020 - 00:23

Topic category: Help with modding (Java Edition)

Last seen on 06:07, 11. May 2021
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
how to assign a variable to spawn weight
Sun, 05/17/2020 - 00:23

I want to make a glitch mob, who's spawn frequency is dependant on a global variable called instability, but when I tye instability into the spawn weight it automatically reverts to 20.

how do I assign it?

Last seen on 06:07, 11. May 2021
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
But I want it to depend on a…
Mon, 05/18/2020 - 03:31

But I want it to depend on a global variable that can be contributed to by other factors