Old Wiki
search
⌘Ctrlk
Old Wiki
  • house-blankWelcome
  • Donation - Support my workarrow-up-right
  • circle-questionFrequently asked questions
  • square-checkCompatibility with other plugins
  • pen-to-squareContribute
  • Plugin usage
    • gearFirst Install
    • hand-waveBeginners
    • file-imageResourcepack Hosting
    • file-plusAdding Content
      • list-checkItem properties
      • burger-cheeseConsumable
      • cubeBlock
      • cubeBlock - advanced
      • bow-arrowBow
      • bow-arrowCrossbow
      • bow-arrowFishing rod, shield, bundle
      • lamp-floorFurniture - simple
      • wand-magic-sparklesFurniture - complex
      • gas-pumpFuel
      • helmet-battleArmors
      • helmet-battleArmors (old)
      • hammerCrafting
      • grill-hotCooking
      • hammer-crashAnvil Repair
      • tent-arrows-downLoots
      • cubes-stackedWorlds populators (ores)
      • treeTrees and trees populators
      • flower-daffodilSurface populators
      • mountainsCave decorators
      • iconsFont Images
      • iconsFont Images (advanced)
      • hashtagRanks / prefixes
      • comment-smileEmojis
      • volume-lowSounds
      • compact-discMusic Disc
      • list-dropdownItem Tooltip
      • crosshairs-simpleHUDs
      • list-dropdownGUIs
      • fill-dripColored models
      • swordOther items examples
        • Magic wand
        • Bundle
        • Custom Arrows
      • fontFonts
      • person-walkingPlayer Emotes
      • user-alienEntities
      • headingAnimated titles
      • binaryCustom item NBT
      • filmAnimated 3D Items
    • earth-americasLanguages
    • square-terminalCommands
    • user-policePermissions
    • mergeMerge Resourcepacks
    • square-listRecipes Menu
    • messageResourcepack Prompt Message
    • italicText Effects
    • text-sizeText Formatting
  • Other
    • circle-infoTerms Of Service
    • Ask For Helparrow-up-right
    • Optimize Minecraft clientarrow-up-right
    • lock-keyholeResourcepack Protection
    • databaseCustom Player Stats
    • expand-wideHide Scoreboard Background and Numbers
    • spinnerLoading screen
    • fill-dripBulk colorize images
    • videoShowcases
  • serverMinecraft Server Hosting
  • Developers
    • terminalJava API
    • square-terminalSkript API
    • terminalDenizen API
    • trademarkBranding
  • OLD
    • clock-rotate-leftOld guides
gitbookPowered by GitBook
block-quoteOn this pagechevron-down
  1. Plugin usagechevron-right
  2. file-plusAdding Contentchevron-right
  3. swordOther items examples

Magic wand

hashtag
Example addon

https://www.spigotmc.org/resources/addon-magiccraft-itemsadder-addon.88551/www.spigotmc.orgchevron-right

hashtag
Example of fire magic wand

hashtag
Example of mana recover crystals

PreviousOther items exampleschevron-leftNextBundlechevron-right
  • Example addon
  • Example of fire magic wand
  • Example of mana recover crystals
  advanced_magic_wand:
    display_name: "Advanced Magic wand"
    lore: 
      - "&6[ &eSpecial effects &6]"
      - "  &f- &7Adds &6Fire Resistance &7for 10 seconds on &fheld"
      - "  &f- &7Removes &6Fire Resistance &7on &funheld"
      - "  &f- &7Creases an &cexposion &7on &fattack"
      - "  &f- &7Consumes &b1 mana when used"
    permission: magic_wand
    resource:
      material: DIAMOND_SWORD
      generate: true
      textures:
      - item/magic_wand.png
    durability:
      max_custom_durability: 512
    attribute_modifiers:
      mainhand:
        attackDamage: 0.1
    blocked_enchants:
    - ALL
    events_needed_player_stats:
      mana: ">0"
    enchants:
      DAMAGE_ALL: 0
    item_flags:
    - HIDE_ENCHANTS
    events:
      held:
        potion_effect:
          type: FIRE_RESISTANCE
          amplifier: 0
          duration: 200
      unheld:
        remove_potion_effect:
          type: FIRE_RESISTANCE
      drop:
        remove_potion_effect:
          type: FIRE_RESISTANCE
      interact:
        right:
          play_particle:
            name: SPELL_WITCH
          play_sound:
            name: minecraft:entity.ender_dragon.shoot
            volume: 2
            pitch: 1
        left:
          play_particle:
            name: SPELL_WITCH
          play_sound:
            name: minecraft:entity.ender_dragon.shoot
            volume: 2
            pitch: 1
          damage_near_entities:
            entity_groups:
             - HOSTILE
             - PLAYERS
            damage: 4
            range: 7
          decrement_durability:
            amount: 20
          decrement_player_stat:
            name: mana
            amount: 1
        entity:
          target_potion_effect:
            type: GLOWING
            duration: 70
            amplifier: 15
        play_sound:
          name: minecraft:entity.ender_dragon.shoot
          volume: 2
          pitch: 1
      attack:
        play_particle:
          name: SPELL_WITCH
        play_sound:
          name: minecraft:entity.ender_dragon.shoot
          volume: 2
          pitch: 1
        explosion:
          power: 1
          fire: true
          break_blocks: false
        damage_near_entities:
          entity_groups:
            - HOSTILE
            - PLAYERS
          damage: 7
          range: 7
        decrement_durability:
          amount: 20
        decrement_player_stat:
          name: mana
          amount: 1
  mana_recover_crystals:
    display_name: "Mana Recover Crystals"
    permission: mana_recover_crystals
    resource:
      material: IRON_SWORD
      generate: true
      textures:
      - item/mana_recover_crystals.png
    durability:
      max_custom_durability: 5
      custom_durability: 5
      disappear_when_broken: true
    item_flags:
    - HIDE_ATTRIBUTES
    events_cooldown: 100
    events:
      interact:
        right:
          play_particle:
            name: SPELL_WITCH
          play_sound:
            name: minecraft:entity.ender_dragon.shoot
            volume: 2
            pitch: 1
          decrement_durability:
            amount: 1
          increment_player_stat:
            name: mana
            amount: 1
  advanced_mana_recover_crystals:
    display_name: "Advanced Mana Recover Crystals"
    permission: mana_recover_crystals
    resource:
      material: IRON_SWORD
      generate: true
      textures:
      - item/mana_recover_crystals.png
    durability:
      max_custom_durability: 1
      custom_durability: 1
      disappear_when_broken: true
    item_flags:
    - HIDE_ATTRIBUTES
    enchants:
      DAMAGE_ALL: 0
    item_flags:
    - HIDE_ENCHANTS
    events_cooldown: 500
    events:
      interact:
        right:
          play_particle:
            name: SPELL_WITCH
          play_sound:
            name: minecraft:entity.ender_dragon.shoot
            volume: 2
            pitch: 1
          decrement_durability:
            amount: 1
          increment_player_stat:
            name: mana
            amount: 5