Custom Triggers

Started by jman200361 on Mon, 06/29/2020 - 02:35

Topic category: Help with modding (Java Edition)

Last seen on 12:30, 14. Jul 2020
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Custom Triggers
Mon, 06/29/2020 - 02:35

Im creating a mod where i need to link a gui with an armor set but need it to only open after a keybind is used 

Last seen on 17:22, 8. Jun 2021
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
create the keybind element…
Mon, 06/29/2020 - 15:42

create the keybind element. create a procedure for "When key pressed". in the procedure use code blocks IF Get item from armor slot {3} of {target entity} EQUALS {your helmet item}