-
Notifications
You must be signed in to change notification settings - Fork 9
Custom item script
Daniel Saukel edited this page May 13, 2018
·
6 revisions
# The item type.
# Valid input:
# Caliburn item types
type: "DEFAULT"
# The item material.
# Valid input:
# Caliburn ID of a vanilla item
material: "IRON_SWORD"
# A custom display name.
# Valid input:
# Any string; color codes supported.
name: "&4CustomName"
# Custom lore lines.
# Valid input:
# Any string; color codes supported.
lores:
- "&4This is the first line."
- "&6This is the second line."
# Hide flags to hide meta data from the hover description.
# Valid input:
# Bukkit ItemFlag enum name, https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/inventory/ItemFlag.html
itemFlags:
- "HIDE_ATTRIBUTES"
- "HIDE_ENCHANTS"
# The item enchantments
# Valid input:
# Bukkit Enchantment enum name as keys, https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/enchantments/Enchantment.html
# Any integer as a value
enchantments:
"PROTECTION_ENVIRONMENTAL": 4
"THORNS": 1
# The item attribute modifiers
# Valid input:
# Any string as the name
# Bukkit Attribute enum name as the type, https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/attribute/Attribute.html
# Bukkit Operation enum name as the operation, https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/attribute/AttributeModifier.Operation.html
# Slot enum names as the slots
# Any double as the amount
attributes:
nameOfFirstAttribute:
type: "GENERIC_ATTACK_DAMAGE"
slots:
- "MAIN_HAND"
- "OFF_HAND"
- "HEAD"
- "TORSO"
- "LEGS"
- "FEET"
operation: "ADD_NUMBER"
amount: 8.5
nameOfSecondAttribute:
type: "GENERIC_MOVEMENT_SPEED"
slots:
- "OFF_HAND"
operation: "ADD_NUMBER"
amount: 8.5
# The damage modifiers for a collection of mobs.
# Valid input:
# Listed CategoryDamageModifier identifiers as keys
# Any double as a value
categoryDamageModifiers:
category: 2.0
# The damage modifiers for a specific mob species.
# Valid input:
# Caliburn mob IDs as keys
# Any double as a value
mobDamageModifiers:
50: 0.5
Wiki: © 2016-2020 Daniel Saukel and contributors, licensed under CC BY-SA