Custom Triggers

Started by jman200361 on

Topic category: Help with modding (Java Edition)

Last seen on 14:35, 29. Aug 2022
Joined Aug 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Triggers

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 05:29, 31. Jan 2022
Joined Nov 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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}