How can I link these two codes?

Started by Capapro on

Topic category: Help with modding (Java Edition)

Last seen on 12:37, 19. Nov 2021
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How can I link these two codes?
Tue, 11/09/2021 - 15:51 (edited)

Hello all, I was making a mod about it as I wanted to change the difficulty via shortcut. But I couldn't connect these two codes in the picture, how can I connect them?

picture link:https://ibb.co/FWCwcT2

Edited by Capapro on Tue, 11/09/2021 - 15:51
Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
with if statements? you…
Tue, 11/09/2021 - 16:28

with if statements? you might want to search tutorials on how to make procedures on yt

Last seen on 12:37, 19. Nov 2021
Joined Nov 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I don't want code, I want to…
Tue, 11/09/2021 - 16:37

I don't want code, I want to collect these two pieces

Last seen on 04:28, 26. Jan 2024
Joined Oct 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
what?
Tue, 11/09/2021 - 16:58

what?