Presets

Item presets

Minecraft Custom Potion Command Generator

Custom potion commands are easy to overbuild. The practical workflow is to choose the potion type, name it, set a readable color, add only the effects the encounter needs, and confirm duration and amplifier before copying.

Preset result

A custom splash potion command with visible effect choices and a stable custom_data marker for kits or boss phases.

Output

Custom potion Give output

/give @p minecraft:splash_potion[custom_name={text:"Boss Phase Tonic",color:"light_purple",italic:false},lore=[{text:"Strength and speed for one arena phase",color:"gray",italic:false}],potion_contents={custom_color:11141290,custom_effects:[{id:"minecraft:strength",amplifier:1,duration:1200,show_particles:true},{id:"minecraft:speed",amplifier:0,duration:1200,show_particles:true}]},custom_data={nbtforge_potion:"boss_phase"}] 1
Too long for Minecraft chat

The longest command line is 429 characters, 173 over the 256-character chat input limit. Pasting it into chat can truncate the line and make Minecraft report a syntax error even when the generated command is valid.

  • Use a Command Block: run /give @s command_block, place it, then paste this command into the block command field.
  • Use a .mcfunction for a reusable datapack: save the line without the leading slash at saves/<world>/datapacks/<pack>/data/<ns>/function/<name>.mcfunction with a minimal pack.mcmeta, run /reload, then run /function <ns>:<name>. Do not paste .mcfunction content into chat.

Preset screenshot

The NBTForge workbench state used for the minecraft custom potion command article, including the visible controls and generated output.

Build the preset

  1. Open Give and choose the potion item type: potion, splash_potion, lingering_potion, or tipped_arrow.
  2. Add custom_name and lore so the potion explains its role in inventory.
  3. Set potion color, custom effects, duration, amplifier, and particle visibility.
  4. Copy the output and test the effect timing in the target arena or kit flow.

Effect duration is the real design choice

Most potion examples focus on extreme amplifier values, but duration usually matters more. A boss phase potion, a kit potion, and a map tutorial potion need very different timing.

NBTForge keeps effect duration and amplifier in the same workflow, so the output can be tuned for actual gameplay instead of copied as a novelty command.

Make custom potions detectable

Use custom_data when a later command needs to detect or remove the potion. Do not rely on display name text for logic; names can change when the item is localized or restyled.

For reward kits, save the potion alongside the matching title, sound, or boss phase command in Project.

  • Use show_particles false for invisible helper effects.
  • Use splash_potion for encounter tools.
  • Use normal potion for player inventory rewards.

Fit the preset into a real project

Treat Minecraft Custom Potion Command Generator as a tested starting point, not just a copied string. After the output works once, save it with a clear Project name, note the target Minecraft version, and keep the preset near related setup commands such as scoreboard, bossbar, loot, or reset lines.

Before publishing the preset to a map, server, or command pack, run it from the copied artifact rather than only from the live workbench. That catches missing dependencies, stale selectors, wrong edition choices, and commands that only worked because local test state already existed.

  • Keep the selected Edition and Version with the shared command.
  • Test selectors against a harmless command before using damage, kill, clear, or teleport.
  • Move long commands into Project or a function-style workflow instead of pasting them into chat.
  • Recheck warnings after changing entities, item components, passengers, or datapack resources.

FAQ

Can I make an infinite potion effect item?

The item can apply a very long effect, but the better workflow is to decide whether the effect belongs on the item, an /effect command, or a repeating command system.

Does potion color change the effect?

No. Color is visual. The custom_effects list controls what the potion actually does.

When should this preset become part of a command pack?

Use it as a command pack entry when the output depends on setup lines, reset commands, loot resources, scoreboard state, or repeated testing. Single safe commands can still be copied directly from Output.

Open this workflow

Start from the related Give workbench, then adjust the preset fields for your world.