Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
MythicEnchants MythicEnchants
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 7
    • Issues 7
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • MythicEnchantsMythicEnchants
  • Wiki
    • Enchantments
  • Decapitate

Last edited by Amy Jun 14, 2023
Page history
This is an old version of this page. You can view the most recent version or browse the history.

Decapitate

Description

This enchantment can be applied to an axe. It gives a chance for the targets head to drop on death with a higher chance per enchantment level. It also displays some red particles around the targets neck whenever you attack them.

Level 1 - 40% chance
Level 2 - 70% chance
Level 3 - 100% chance

Enchantment File

Place this in a file in your /plugins/MythicEnchants/CustomEnchantments

DECAPITATE:
  Display: '&7Decapitate'
  MinLevel: 1
  MaxLevel: 2
  ItemType: TOOL
  Rarity: COMMON
  Options:
    Cursed: FALSE
    Treasure: FALSE
    ShowInLore: FALSE
    LevelAsPower: FALSE
  EnchantableItems:
  - NETHERITE_AXE
  - DIAMOND_AXE
  - IRON_AXE
  - GOLDEN_AXE
  - STONE_AXE
  - WOODEN_AXE
  Skills:
  - effect:particles{p=reddust;color=#FE2727;amount=30;hS=0.3;y=1.5} @target ~onAttack
  - decapitate @target ~onPlayerKill 0.4 ?enchantlevel{level=1}
  - decapitate @target ~onPlayerKill 0.7 ?enchantlevel{level=2}
  - decapitate @target ~onPlayerKill 1 ?enchantlevel{level=3}
Clone repository

Manual

  • Home
  • Changelogs
  • Commands and Permissions
  • FAQ / Common Issues
Usage
  • Installation & Setup
  • Premade Enchantments
  • Creating Custom Enchantments
  • Enchantment Rarities
  • Enchanting Tables
Custom Enchantments
  • Enchant Mechanics
  • Enchant Targeters
  • Enchant Triggers
  • Enchant Conditions