Started by
BlaBlaSillySheep
on
Topic category: Help with Minecraft modding (Java Edition)
I don't really need to go into much detail as the title pretty much explains it all. I've tried replacing the "y" to a 1 in "Place block at x y z" but that's made it so it only does it above bedrock in a flat world. I'm sorry if someone has posted this and it has been answered before, i have searched and not found any results so if you have some ideas please let me know. Thanks :)
You're close! Do "y + 1", that way it still uses the player's exact coordinates and just adds 1 to it. When you set the y exactly to 1, it replaces the player's original coordinate with 1, so it will always be all the way below them at y level 1, and not the player's y value.
Tysm! i can now make a mod that places trees below you
and y + -1 if you want it below you