Minecraft : Potions and Arrows Give Command Generator for 1.21 java

Update 2.18.1, you may need to clear cache for updated files.
Loading
Page

Try the Commands Troubleshooting and Help page if you get stuff with server errors.

Minecraft Give Potion Command Generator

This give generator makes Potions and Arrows for Minecraft, select color, choose effects, set name and add lore for custom potions. Select your options above and copy paste the command into Minecraft chat. Very long commands will need to be entered into a command block (due to the chat character limit)

Other give options: Many of the common give command data options are still included, some are not relevant to potions (enchantments for example), but many map makers have very interesting projects with specific requirements.

Potion and Arrow Effects

Can be added into the command, and it is possible to have multiple potion effects. Not all effects are craftable in Minecraft and can only be accessed by the give potion command. Effects do not stack, the higher level (amplifier) will be used.

Potions, splash potions and lingering potions and tipped arrows share the same the potion effects, which makes them the same in command data options. The command changed over several 1.20 updates.

/give @a potion[potion_contents={custom_color:8439583,custom_effects:[{id:poison,duration:150}]}] /give @a potion{CustomPotionColor:8439583,custom_potion_effects:[{id:poison,duration:150}]} /give @a potion{CustomPotionColor:8439583,CustomPotionEffects:[{Id:22,Duration:150}]}

Amplifier: Is how strong the effect of the potion effect is.

Duration: Is how long the effect lasts in ticks, 20 ticks is 1 second, 600 is 30 seconds, 1200 is a minute.

Ambient: This may not work on splash potions due to a bug.

ShowParticles: This may not work on splash potions due to a bug.

Potion and Arrow Color

The color of the potion or tipped arrow can be set via data tag. The command changed over several 1.20 updates.

/give @a potion[potion_contents={custom_color:8439583,custom_effects:[{id:poison,duration:150}]}] /give @a potion{CustomPotionColor:8439583,custom_potion_effects:[{id:poison,duration:150}]} /give @a potion{CustomPotionColor:8439583,CustomPotionEffects:[{Id:22,Duration:150}]}

Summon Splash Potions

The summon command can be used to summon a splash potion that breaks immediately. The command changed over several 1.20 updates.

/summon potion ~ ~1 ~ {Item:{id:splash_potion,count:1,components:{potion_contents:{custom_color:16701501,custom_effects:[{id:haste,duration:100,amplifier:2,show_particles:0b,show_icon:0b},{id:night_vision,duration:200}]}}}} /summon potion ~ ~1 ~ {Item:{id:splash_potion,Count:1,tag:{CustomPotionColor:16701501,CustomPotionEffects:[{Id:3,Duration:100,Amplifier:2,ShowParticles:0b,ShowIcon:0b},{Id:16,Duration:200}]}}}

Minecraft Versions Permalinks

If you find yourself using a particular version all the time, you can link directly. There is some crossover between versions, so there will be quirks.

Version History

7 Nov 2024
minecraft/command-generator 2.18.1

addedFood consumable for 1.21.2 with effects

31 Oct 2024
minecraft/command-generator 2.18

addedDecorated Pots
addedUpdated food to consumable for 1.21.2, still has some issues with effects
addedUpdated attribute names for 1.21.2

17 Oct 2024
minecraft/command-generator 2.17

addedSuspicious Blocks
patchHide 1.20.5 item display features for previous versions
patchForce format attribute values as numbers


Read version history »
(71 More Updates)