I need a very complicated procedure explained to me.

Started by IndyCallisto on

Topic category: Help with modding (Java Edition)

Last seen on 02:05, 19. Feb 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I need a very complicated procedure explained to me.

Okay, so, I'm trying to make an achievement in my mod that is obtained when the player sits on a minecart on top of my modded leaf block (redwood_leaves). How would I go about doing this? I know I need to use procedures, but I can't begin to think about how. Any help would be much appreciated!

Last seen on 02:51, 19. Feb 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Replace the grass block with…
Sat, 01/01/2022 - 04:33

Replace the grass block with your modded block, redwood_leaves, and change the two achievement fields to whatever achievement field you'd like. Because of the math round procedure, this will work if the player is riding the minecart on a rail on the modded block. If you'd like it to only work if the player is directly on the modded block and not sitting on a rail that's on top of the modded block, removing the math round procedure should fix that... I wasn't sure if you wanted it to work if the player is also on railing or not.

Note: the "if statement" containing the "get block at x:.." may look different than what yours will look because I set it to external input so the whole procedure would easily fit into one screenshot.

Minecart on top of modded block give achievement

 

Last seen on 02:05, 19. Feb 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is so helpful! Thanks!
Sat, 01/08/2022 - 17:36

This is so helpful! Thanks!

Last seen on 02:51, 19. Feb 2022
Joined Dec 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You're welcome, I'm glad I…
Tue, 01/11/2022 - 23:23

You're welcome, I'm glad I was able to help!