How do I make a keybind usable but only if you have a certain advancement and for different advancements

Started by Not_Viking on Mon, 11/08/2021 - 22:07

Topic category: Help with modding (Java Edition)

Last seen on 13:47, 15. Jan 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How do I make a keybind usable but only if you have a certain advancement and for different advancements
Mon, 11/08/2021 - 22:07

Im trying to make a mod and a lot of it uses the same keybind and im trying to make it so if you have so and so advancement, you can use so and so but if i have this advancement and click the same button it is different

Last seen on 05:29, 22. Jan 2022
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
if event target entity has…
Mon, 11/08/2021 - 22:37

if event target entity has completed advancement: ADV

 do (whatever)

search before posting

Last seen on 13:47, 15. Jan 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
thanks
Mon, 11/08/2021 - 22:51

thanks