Items spawning around player when another item is right clicked

Started by FlippinLegend on

Topic category: Help with MCreator software

Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Items spawning around player when another item is right clicked

I tried making a procedure to work, but i couldn't find anything out.

 

Basically i want it so when you right click on item (jelly beans) it spawns individual beans... so some 2 blocks away from the player and some 4 blocks away.

Joined Jun 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I was a little late, but I…
Wed, 10/07/2020 - 20:10

I was a little late, but I answered this in your previous forum post about the same thing titled Help with procedure. Im assuming I just came in too late, so if you don't mind I'll just paste my response from before into here. If more details and such are needed I'll be happy to help.

You could probably achieve this by having it spawn the gem (item) with X,and Z of X/Z + [10 - [Round up [random 0,1 x 20]].

(Where the [ ] represents a slot, where something goes in with another procedure block)

The items it would generate would have to be set using more random 0,1's if you want the spawned items to be random.
But otherwise it should work.