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

Started by timmyt on

Topic category: Advanced modding

Active 1 month ago
Joined Jun 2024
Points:
100

User statistics:

  • Modifications: 0
  • Forum topics: 9
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 19
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

Active 7 months ago
Joined Dec 2023
Points:
129

User statistics:

  • Modifications: 1
  • Forum topics: 6
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 5
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.

Active 1 month ago
Joined Jun 2024
Points:
100

User statistics:

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

Thanks that helped a lot