I'd like to give some firework items to a player, using a dispenser, or via some similar mechanism. How can I do this? Is it possible?
Minecraft – How to you give a player fireworks
minecraft-java-edition
Related Topic
- Minecraft – Use player’s score as amount in /give
- Minecraft Commands – How to Testfor a Player Holding an Item and Give Them an Effect in Minecraft
- Minecraft – How to give a player an item if their level is of a certain minimum value, and make sure that they only have one of these items at a time
- Minecraft – Spotting the coordinates where fireworks has light
- Minecraft Java Edition – How to Give a Player an Instant-Mining Item in Minecraft
- Minecraft Java Edition – How to Give Players the `/whitelist add
` Command - Minecraft – Get head from world coordinate and give it to player
Best Answer
The Dropper block, available since Minecraft 1.5, can be used for this purpose. It is similar to a dispenser, except that it does not “activate” items like arrows and fireworks, so they will be dropped for the player to pick them up instead.