Started by
ddOpher
on
Topic category: Help with Minecraft modding (Java Edition)
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?
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)