2

Spawning items in the world

SS1on 2/28/21 10:32 am
98
3/2/2021 6:26 am
My sister and I are making a minigame for the server that I host for her and her friends, and we need a point system. I figured there could be a chest with a hopper pointing into it, and everytime a point needs to be dilivered a commanblock could simply spawn the point item of choice above the hopper. Then when a player dies and get tp'd back to the lobby there would be a chest with a number of items corresbonding to the amount of points the player got

Is it possibly to spawn items in the world like how /summon creatis a mob at a specific set of coordinates?
Posted by
SS1on
Level 1 : New Miner
0

  Have something to say?

JoinSign in

4

Robo_17
03/02/2021 6:20 am
Level 30 : Artisan Modder
Use

/summon item ~ ~ ~ {Item:{id:minecraft:sunflower,Count:1b}}
1
Robo_17
03/02/2021 6:22 am
Level 30 : Artisan Modder
Your coordinated there like
~1 ~1 ~2

This will spawn sunflower item

In 1x from command block
1y from it
2z from it
1
Robo_17
03/02/2021 6:26 am
Level 30 : Artisan Modder
Describe more about it I will give you all commands

Also a datapack
1
HoboMaggot
03/01/2021 3:15 am
Level 55 : Grandmaster Blob
history
You can use /scoreboard to make yourself a point system, and then another source to accumulate points.
After a player dies you can generate a loot table in the chest that is based on the amount of points im sure

If you require more help I can point you in the right directions
1

Welcome