Custom Triggers

Started by jman200361 on

Topic category: Help with Minecraft modding (Java Edition)

Active 2 years ago
Joined Aug 2018
Points:
705

User statistics:

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

Active 3 years ago
Joined Nov 2019
Points:
868

User statistics:

  • Modifications: 0
  • Forum topics: 8
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 387
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}