Skip to content

Item System ​

Custom Item Feature ​

Configuration folder location: item

Image Introduction ​

Step 1: Select the item to generate via command

img

Step 2: Select the quantity of items to generate via command

img

Configuration Example ​

# Item key, can be any name but must be unique
woodenSword:
  name: "&8[&aNovice Longsword&8]"
  material: WOODEN_SWORD
  custom-model-data: 0
  lore:
    - ''
    - '&c&l>> &aRarity: &aAdvanced'
    - ''
    - '&c&l>> &aWarrior's First Sword'
  # Enchantment
  enchantment:
    - "DAMAGE_ALL: 3"
  # Attributes (1.2.4+ supported)
  attributes:
    # Slot
    chest:
      # Attribute type
      - "MAX_HEALTH: 25"

attributes Introduction: ​

  1. Supported slots (note that different MC versions may have different keys, please replace accordingly)

    • HAND -> Main hand
    • OFF_HAND -> Off hand
    • FEET -> Boots
    • LEGS -> Leggings
    • CHEST -> Chestplate
    • HEAD -> Helmet
  2. Supported attribute types (note that different MC versions may have different keys, please replace accordingly)

    • GENERIC_ARMOR -> Armor defense value
    • GENERIC_ARMOR_TOUGHNESS -> Armor toughness
    • GENERIC_ATTACK_DAMAGE -> Damage dealt when entity attacks other entities
    • GENERIC_ATTACK_KNOCKBACK -> Knockback force of entity's attack
    • GENERIC_ATTACK_SPEED -> Attack speed of entity
    • GENERIC_BURNING_TIME -> Duration entity remains on fire
    • GENERIC_EXPLOSION_KNOCKBACK_RESISTANCE -> Resistance to knockback from explosions
    • GENERIC_FALL_DAMAGE_MULTIPLIER -> Fall damage multiplier for entity
    • GENERIC_FLYING_SPEED -> Flying speed of entity
    • GENERIC_FOLLOW_RANGE -> Follow range when entity is following others
    • GENERIC_GRAVITY -> Gravity applied to entity
    • GENERIC_JUMP_STRENGTH -> Jump strength of entity
    • GENERIC_KNOCKBACK_RESISTANCE -> Knockback resistance when entity is attacked
    • GENERIC_LUCK -> Possible drops for entity
    • GENERIC_MAX_ABSORPTION -> Max absorption value of entity (armor absorption)
    • GENERIC_MAX_HEALTH -> Max health of entity
    • GENERIC_MOVEMENT_EFFICIENCY -> Movement speed in difficult terrain
    • GENERIC_MOVEMENT_SPEED -> Movement speed of entity
    • GENERIC_OXYGEN_BONUS -> Oxygen used underwater
    • GENERIC_SAFE_FALL_DISTANCE -> Safe fall distance without taking damage
    • GENERIC_SCALE -> Relative size of entity
    • GENERIC_STEP_HEIGHT -> Step height entity can climb
    • GENERIC_WATER_MOVEMENT_EFFICIENCY -> Movement speed in water
    • PLAYER_BLOCK_BREAK_SPEED -> Speed of player breaking blocks
    • PLAYER_BLOCK_INTERACTION_RANGE -> Distance player can reach blocks
    • PLAYER_ENTITY_INTERACTION_RANGE -> Distance player can reach entities
    • PLAYER_MINING_EFFICIENCY -> Mining speed with correct tool
    • PLAYER_SNEAKING_SPEED -> Sneaking speed
    • PLAYER_SUBMERGED_MINING_SPEED -> Underwater mining speed
    • PLAYER_SWEEPING_DAMAGE_RATIO -> Sweeping damage ratio
    • ZOMBIE_SPAWN_REINFORCEMENTS -> Chance for zombie reinforcements to spawn