Custom Items
All custom item related options & configurations
Example
id: phoenix_blade
material: GOLDEN_SWORD
name: "&6Blade of the Phoenix"
lore:
- "&7Crafted from the feathers of a "
- "&7mythical phoenix, this sword burns"
- "&7with the fury of a thousand suns."
enchants:
- FIRE_ASPECT:2
- DURABILITY:3
hide-enchants: true
Identifier
id: example_id
Allows you to set a identifier for the Custom Item.
Reference
reference: namespace:example_id
Allows you to copy another Custom Item's properties by using it's namespacedkey.
Material
material: GOLDEN_SWORD
Allows you to set the material for the Custom Item.
Supported values:
Player Head (
head-<player_name>
)Texture Head (
texture-<minecraft-url>
)Heads Database (
hdb-<head-id>
)ItemsAdder (
itemsadder-<namespacedkey>
)Water Bottle (
water_bottle
)Item in main hand (
hand
)Item in offhand (
offhand
)Item on Head (
helmet
)Item on Chest (
chestplate
)Item on Legs
(leggings
)Item on Feet (
boots
)
Items relating to Player's inventory may only be used in Menu Items
Amount
amount: 1
Allows you to set the amount for the Custom Item.
Durability
durability: 100
Allows you to set the durability of the Custom Item.
Name
name: "&6Blade of the Phoenix"
Allows you to set the display name for the Custom Item.
Lore
lore:
- "&7Crafted from the feathers of a "
- "&7mythical phoenix, this sword burns"
- "&7with the fury of a thousand suns."
Allows you to set the lore for the Custom Item.
Enchants
enchants:
- FIRE_ASPECT:2
- DURABILITY:3
Allows you to add enchantments to the Custom Item.
Click here to view the list of enchantments
Flags
flags:
- FIRE_ASPECT:2
- DURABILITY:3
Allows you to add item flags to the Custom Item.
Click here to view the list of item flags
Unbreakable
unbreakable: true
Allows you to set the Custom Item to never break.
Glow
glow: true
Allows you to set the glow for the Custom Item.
Custom Model Data
custom-model-data: 5
Allows you to set the custom model data for the Custom Item.
Hide Attributes
custom-model-data: 5
Allows you to set the custom model data for the Custom Item.
Hide Effects
hide-effects: true
Allows you to hide the potion effects from the Custom Item.
Hide Enchants
hide-enchants: true
Allows you to hide the enchantments from the Custom Item.
Hide Unbreakable
hide-unbreakable: true
Allows you to hide the unbreakable tag from the Custom Item.
Potion Effects
potion-effects:
- <type>:<duration>:<amplifier>
Allows you to add potion effects to the Custom Item.
Click here to view the list of potion effect types
This option is only available when the material is potion, splash_potion, lingering_potion tipped_arrow
Block Data
block-data: "minecraft:lever[facing=down,powered=true]"
Allows you to set the block data for the Custom Item.
This option is only available when the material is a block
Entity Type
entity: ZOMBIE
Allows you to set the entity type of the Custom Item.
This option is only available when the material is spawner
Color
rgb: 255,255,255
Allows you to set the color of the Custom Item.
This option is only available when the material is leather armor, potion, map, firework
Banner Patterns
banner-patterns:
- <color>:<type>
Allows you to add banner patterns to the Custom Item.
Click here to view the list of dye colors
Click here to view the list of pattern types
This option is only available when the material is banner
Axolotl
axolotl: <variant>
Allows you to set the axolotl variant for the Custom Item.
Click here to view the list of axolotl variants
This option is only available when the material is axolotl_bucket
Armor Trim
trim: <material>:<pattern>
Allows you to set the armor trim of the Custom Item.
Click here to view the list of trim materials
Click here to view the list of trim patterns
This option is only available when the material is a armor
Persistent Data
Allows you to add persistent data to the Custom Item
Persistent Strings
persistent-strings:
- namespace:id=value
Allows you to add persistent as a list of string to the Custom Item
Persistent Integers
persistent-integers:
- namespace:id=value
Allows you to add persistent as a list of integer to the Custom Item
Persistent Booleans
persistent-booleans:
- namespace:id=value
Allows you to add persistent as a list of boolean to the Custom Item
Persistent Doubles
persistent-doubles:
- namespace:id=value
Allows you to add persistent as a list of double to the Custom Item
Persistent Longs
persistent-longs:
- namespace:id=value
Allows you to add persistent as a list of long to the Custom Item
Persistent Floats
persistent-floats:
- namespace:id=value
Allows you to add persistent as a list of float to the Custom Item
Persistent Shorts
persistent-shorts:
- namespace:id=value
Allows you to add persistent data as a list of short to the Custom Item
Persistent Bytes
persistent-bytes:
- namespace:id=value
Allows you to add persistent data as a list of byte to the Custom Item
Was this helpful?