Potions
This page describes how to create custom potions.
items.yml
items:
speed_potion:
material: POTION
amount: 1
color: white
display_name: "&dPotion of Speed"
lore:
- "&7It makes you faster!"
potion_effects:
SPEED:
duration: 400
amplifier: 1
JUMP_BOOST:
duration: 200
amplifier: 2
speed_potion:
it is the name we give to the object, which can then be called with the command: /smartitemcreator <item> <item> = speed_potion
material: POTION
You can select between three types of potion: POTION, SPLASH_POTION, LINGERING_POTION
amount: 1
Amount of potions that will be given to the player
color: white
you can customize the color of the potion by entering the name of the color, or by applying an RGB color (go to the bottom of the page for more information)
display_name: "&dPotion of Speed"
Name to apply to the object displayed in game
lore:
- "&7It makes you faster!"
Lore to be applied to the item displayed in game
potion_effects:
SPEED:
duration: 400
amplifier: 1
JUMP_BOOST:
duration: 200
amplifier: 2
on "potion_effects" you must enter one or more effects to apply to the potion. (go to the bottom of the page for more information) "duration" is the duration of the potion in ticks (20 ticks = 1 second) "amplifier" is the amplifier of the effect, it increases its effects
RGB colors
RGB color is made up of three numbers that identify its various shades. In this example, the color light blue has been inserted
color: "42,224,215"

Effects
A list of all the effects applicable to the player can be found on the site below
Last updated