Started by
Freddy101
on
Topic category: Help with Minecraft modding (Java Edition)
is there a way to make to make one keybind do multiple things ex: I want to make a keybind equip 1 of 7 different helmets but which helmet you get depends on which achievement you have
Kinda a noob so pics and downloads are more helpful but ill take whatever help I can get
Edited by Freddy101 on Wed, 01/10/2024 - 18:55
nevermind unless you can tell me how to do it without making 7 of the same keybinds with different procedures
for the example, you first have to detect which advancement has been obtained, if the first one has been obtained, set the variable to 1, if the last one got detected, set it to 7 (you start 1st, 2nd, 3rd... 7th), then, you just add some condition blocks, and depending on the value of your variable, it puts this or that helmet, i hope i explained well enough and that it will help