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

Decapitate · Changes

Page history
Create Enchantments/Decapitate authored Jun 13, 2023 by Amy's avatar Amy
Show whitespace changes
Inline Side-by-side
Showing with 35 additions and 0 deletions
+35 -0
  • Enchantments/Decapitate.md Enchantments/Decapitate.md +35 -0
  • No files found.
Enchantments/Decapitate.md 0 → 100644
View page @ d85a2f59
## 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
```yaml
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}
```
\ No newline at end of file
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