skill change system

Started by ddOpher on

Topic category: Help with modding (Java Edition)

Last seen on 17:56, 21. Jun 2021
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
skill change system

hello.

i'm trying to create a skill change system with a keybind.

keybind should change the global number variable for each time you press button like

if you press one time, it will active the first skill with making variable number 1. then in second one, it should change it to 2.

i did something like that :

 

if : waterskill = 1 

set global water skill = 2

send message

 

it doesn't change, how can i do that?

Last seen on 14:11, 16. Feb 2023
Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Have an item, make a…
Fri, 09/23/2022 - 12:29

Have an item, make a procedure like this when right clicked:

if item = (Item you want)

do get value of (variable) + 1, set item title as (Whatever the skill is)

if get value of (variable) = (Whatever number you want) AND item = (Item you want)

do (Whatever action you want)