How to make an item drop in a random direction?

How to make an item drop in a random direction? - Board game with wooden blocks dropped and scattered on table chaotically after playing

On my Minecraft server, I have a mini game that requires items (tnt and redstone blocks) to be dropped in a random direction, a bit like dispensers. Is there a way I can do this?



Best Answer

This is very easy to do, and doesn't even need command blocks.

Place the dispenser with the items you want in the ground facing up. Then place a block (I recommend using glass) on top of it. When the dispenser shoots, the item gets stuck and flies in a random direction.

Note that you can put the dispenser a block lower if you want. Also, to make the items shoot farther, place blocks around the block above the dispenser.




Pictures about "How to make an item drop in a random direction?"

How to make an item drop in a random direction? - Set of small wooden blocks scattered on table chaotically after playing tower game
How to make an item drop in a random direction? - From above of bright controller with pink drops and knobs with buttons placed on white table while casting shadow in sunny day
How to make an item drop in a random direction? - Abstract background of brown spots randomly spread over light blue surface and black spills paint on top





How to Make Everything RANDOM in Minecraft




More answers regarding how to make an item drop in a random direction?

Answer 2

you could have a complexe seems to be random pattern like this is by % 1 70 360 2 6 4 9 7 5 3 8 47 5 8 6 8 5 8 65 5 7 5 8 6 4 90 8 6 56 36 6 57 6 76 76 9 1

something like that

Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Joshua Miranda, Joshua Miranda, Bambanani Nguqu, Dids