Item Go Up when Spawned.

Started by TheDuckKnight_Mc on Thu, 07/16/2020 - 12:56

Topic category: Help with modding (Java Edition)

Last seen on 08:00, 29. Jul 2021
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Item Go Up when Spawned.
Thu, 07/16/2020 - 12:56

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?

Last seen on 15:47, 2. Aug 2021
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Yes you can, idk what block…
Thu, 07/16/2020 - 13:07

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 :) 

Last seen on 08:00, 29. Jul 2021
Joined Feb 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
It worked really well, I…
Thu, 07/16/2020 - 13:41

It worked really well, I didn't expect that solution to look so good!