Started by
TheDuckKnight_Mc
on
Topic category: Help with Minecraft modding (Java Edition)
I am making a block, which when you right click it spawns some items, but I can't figure out how to make them fly up, from the middle of the block to about 1 to 2 blocks up, like they were dropped by an upward facing dropper. Is there even a way to do that?
Yes you can, idk what block exactly you are using but i'm sure it's "spawn gem".
do spawn gem as normal but with the "y" coordinate put a math block in where the "y" would go and put the "y" in the first input and 1 or 2 in the other input.
should look like this: (x "(y)+(1)" z) or (x "(y)+(2)" z)
this will spawn the gem above the block x1 or x2 depending.
anyway happy to help hope all goes well peace :)
It worked really well, I didn't expect that solution to look so good!