C
๐
1 file
1,396 chars
๐
pasted-code-1782310123038.txt
txt
68 lines
โถ
pasted-code-1782310123038.txt
txt
68 lines
Create a Minecraft Paper 1.21.1 plugin called SevenSwords.
Add a Legendary Ice Sword.
Item:
* Material: Netherite Sword
* Display Name: Ice Sword
* Unbreakable
* Custom item that can only be given by admins
Damage:
* Ice Sword should deal 10 damage total on hit.
Abilities:
1. Frost Strike
* When a player hits another player with the Ice Sword:
* Apply Slowness for 6 seconds.
* Reduce movement speed by about 80%.
* The target must still be able to move.
2. Frozen Legs
* While affected by Frost Strike:
* The target cannot jump for 6 seconds.
3. Frostbite
* Apply a freezing effect similar to Powder Snow.
* Duration: 6 seconds.
* Deal 1 Heart of extra freeze damage during the effect.
4. Snow Biome Passive
* While holding the Ice Sword in a snowy biome:
* Give the holder Speed I.
5. Ice Walker
* While holding the Ice Sword:
* Move faster on Ice, Packed Ice, and Blue Ice blocks.
6. Fire Counter
* If a player is affected by Fire Sword burn and then hit by the Ice Sword:
* Reduce the remaining burn duration from 5 seconds to 3 seconds.
Command:
* /givesword ice
Requirements:
* Paper 1.21.1 compatible.
* Use Paper API.
* Include plugin.yml.
* Generate a complete working plugin.
* Generate a downloadable JAR file.
* The plugin must compile successfully without errors.
Kodari can make mistakes. Review important code before using.
Files
No files in this session
Code