How to lock a key bind until a certain advancement is made

Started by timmyt on

Topic category: Advanced modding

Last seen on 05:54, 18. Jul 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to lock a key bind until a certain advancement is made

So on my mod I’m trying to lock the keybinds on my mod until a certain advancement is made

Last seen on 14:49, 17. Jul 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This won't completely "lock"…
Tue, 06/18/2024 - 20:15

This won't completely "lock" the keybind but if the procedure starts with an if statement with the"Has ____ completed advancement ____" block, that should make the keybind not do anything until the advancement has been made.

Last seen on 05:54, 18. Jul 2024
Joined Jun 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thanks that helped a lot
Thu, 06/20/2024 - 02:25

Thanks that helped a lot