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

Started by Not_Viking on

Topic category: Help with modding (Java Edition)

Last seen on 15:28, 26. Aug 2022
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I make a keybind usable but only if you have a certain advancement and for different advancements

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 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 15:28, 26. Aug 2022
Joined Nov 2021
Points:

User statistics:

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

thanks