Oraxen
Search…
Items (advanced)
All the subtleties of item creation

Vanilla options

displayname

This allows you to change the name displayed on the top of an item.
1
displayname: "&c&lExample" #example name
Copied!

material

This allows you to change the item type
1
material: WOODEN_SWORD
Copied!

color

This allows you to change the color of an item made of a supported material (e.g. leather armor).
1
color: 3, 252, 136 #rgb
Copied!

lore

This allows you to add lines of text under the item name.
1
lore:
2
- "One line"
3
- "&aAnother line"
Copied!

injectID

This allows Oraxen to know recognise the item, it is by default set to true and you should not have to change it. If you do it anyway, the mechanics of the items will no longer work.
1
injectID: false
Copied!

excludeFromInventory

This option allows you to exclude an item from the oraxen inventory. It will no longer be displayed but you can still get it using oraxen give command. It is useful for items used in other plugins like inventory icons.
1
excludeFromInventory: true
Copied!

durability

This allows you to change the number of damage of a item (not very useful)
1
durability: 10
Copied!

unbreakable

This will make your item unbreakable (for real, using minecraft dedicated property).
1
unbreakable: true
Copied!

ItemFlags

This allows you to set ItemFlags to an item, get the list of available flags here.
1
ItemFlags:
2
- HIDE_ENCHANTS
3
- HIDE_ATTRIBUTES
4
- HIDE_UNBREAKABLE
5
- HIDE_DESTROYS
6
- HIDE_PLACED_ON
7
- HIDE_POTION_EFFECTS
Copied!

PotionEffects

This allows you to add custom Potion Effects to your potion. Get the list of available effects here.
1
PotionEffects:
2
# - type: Get the list here: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/potion/PotionEffectType.html
3
# - duration: in ticks
4
# - amplifier: potion effects level
5
# - ambient: true/false, makes potion effect produce more, translucent, particles.
6
# - particles: true/false, whether this effect has particles or not
7
# - icon: true/false, whether this effect has an icon or not
8
- { type: WITHER,
9
duration: 200,
10
amplifier: 2,
11
ambient: false,
12
particles: true,
13
icon: true }
Copied!

AttributeModifiers

This allows you to add minecraft attributes to your item. They are very powerful and allow you to make an item that adds hearts, increases the player's speed, etc. Get the list of available attributes here.
1
AttributeModifiers:
2
# - name: You don't really care about the name but it can be useful for some developers
3
# - attribute: Get the list here: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/attribute/Attribute.html
4
# - operations: 0 for ADD_NUMBER, 1 for ADD_SCALAR, 2 for MULTIPLY_SCALAR_1;
5
# - uuid: put a random uuid, generate one here: https://www.uuidgenerator.net/
6
# - slot: HAND, OFF_HAND, FEET, LEGS, CHEST or HEAD
7
- {name: "oraxen_speed",
8
attribute: GENERIC_MOVEMENT_SPEED,
9
amount: 0.1,
10
operation: 0,
11
uuid: 3a25f0b5-dbda-4e38-b097-9e75e37ae464,
12
slot: HAND}
Copied!

Enchantments

If you want to enchant your item (even with non vanilla levels like for example sharpness 15), you can do it with this section.
1
Enchantments:
2
protection: 4
3
flame: 34
4
sharpness: 18
Copied!
Here is a list of enchants available in minecraft vanilla:
1
protection
2
fire_protection
3
feather_falling
4
blast_protection
5
projectile_protection
6
respiration
7
aqua_affinity
8
thorns
9
depth_strider
10
frost_walker
11
binding_curse
12
sharpness
13
smite
14
bane_of_arthropods
15
knockback
16
fire_aspect
17
looting
18
sweeping
19
efficiency
20
silk_touch
21
unbreaking
22
fortune
23
power
24
punch
25
flame
26
infinity
27
luck_of_the_sea
28
lure
29
loyalty
30
impaling
31
riptide
32
channeling
33
multishot
34
quick_charge
35
piercing
36
mending
37
vanishing_curse
38
soul_speed
Copied!

Pack options

This part has a dedicated page, you can consult it here.

Mechanics options

This part has a dedicated page, you can consult it here.
Last modified 2mo ago