Started by
IndyCallisto
on
Topic category: Help with Minecraft modding (Java Edition)
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!
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.
This is so helpful! Thanks!
You're welcome, I'm glad I was able to help!