How do I spawn items within a radius of a position? [duplicate]

How do I spawn items within a radius of a position? [duplicate] - White and Brown Wicker Baskets on White Couch

My code so far is:

/summon minecraft:item 6.5 26 -171.5 {Item:{id:"minecraft:gold_ingot",Count:1}} 

I just don't know how to make them spawn sporadically within a radius.






Pictures about "How do I spawn items within a radius of a position? [duplicate]"

How do I spawn items within a radius of a position? [duplicate] - White Textile on Brown Woven Basket
How do I spawn items within a radius of a position? [duplicate] - Brown Wooden Cabinet With Assorted Items
How do I spawn items within a radius of a position? [duplicate] - Assorted-color Bricks



How do you spawn mobs in a radius?

By removing all blocks in a radius of 128 blocks, players can spawn mobs on specially designed spawning platforms.

How do you summon items with coordinates in Minecraft?

To get a repeating command block, players must use the /give command like so: /give @p minecraft:repeating_command_block <amount> . Players can also change a normal command block into a repeating command block by selecting the option in the command block GUI.



Instantiate GameObject in unity You can Clone or spawn objects with this C# code line.




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

Images: RODNAE Productions, RODNAE Productions, Faizan, Sharon McCutcheon