How to Make a Potion Item in Minecraft (Mod Maker guide)
Learn how to create a custom Potion item that gives effects to entities in Minecraft. Use 9Minecraft Mod Maker directly in your web browser with no installation needed.
Open the Studio and Workspace
Open 9Minecraft Mod Maker in your web browser. Since it runs online, you do not need to download or install any software.
Open an existing workspace or start a new one. Make sure your project uses one of the supported versions: NeoForge 26.1.2 or NeoForge 1.21.1.
Add a Potion Item Element
In your workspace, click the green plus button to add a new mod element.
Look under the Blocks & items group and choose Potion item. A Potion item is an item giving effects to the entity.
Name Your Potion Bottles and Arrow
Start by naming the different forms of your potion. Fill in the Name of the potion bottle to control the name of the normal potion bottle.
Next, enter the Name of the splash potion to control the name of the splash potion bottle, and the Name of the lingering potion for the lingering potion bottle.
Finally, type a name into the Name of the arrow field to control the name of the tipped arrow.
Add to the Effects List
Locate the Effects list section in the editor. The potion effects in the list below will be applied to the entities affected by your potion item.
Add an effect entry to the list so you can adjust its strength and time settings.
Set Strength and Duration
For your effect entry, set the Amplifier. This parameter defines how strong this effect entry is.
Next, set the Duration in ticks, which defines how long this effect entry lasts. Alternatively, you can select the Is infinite option if you want the effect to have an infinite duration.
Configure Particles and Ambient Options
Look at the visual options for your effect entry. Check or uncheck Show particles, which defines if particles are shown near the player.
You can also set the Ambient option. This parameter defines if the effect is applied as ambient.
Test and Export Your Mod
Save your Potion item element when you are happy with all the settings.
Click Build & run in the studio to test your new potion and see how the effects work on entities.
When everything works as expected, export your finished mod from the workspace.
Tips
- Make sure your workspace is set to NeoForge 26.1.2 or NeoForge 1.21.1, as these are the supported versions for the Potion item element.
- Remember to fill in all four naming fields: Name of the potion bottle, Name of the splash potion, Name of the lingering potion, and Name of the arrow.
- If you want an effect that never runs out, simply select the Is infinite option instead of relying on Duration in ticks.
- You can turn off Show particles if you do not want particles to be shown near the player while the effect is active.