Turns a player into a boss with warden and sculk-based abilities
Description
Overview
Allows you to turn a player into a warden boss.
To bring up the main menu, either use /reload or /function warden/setup. From there, you can turn yourself into a warden, change configs, stats, and ability cooldowns. Full explanation below.
This datapack uses some tricks to be compatible with ALL minecraft versions from 1.20.5 up to 1.21.11, with a singular release.
Warden stats
500 health
5 attack damage
70% knockback resistance
+50% movement speed
+20% water movement speed
+10% size
0.5 block step height
+0.5 block range
no fall damage
no soul sand slowdown
fire resistance
night vision
infinite hunger, but no health regen
Warden abilities
Sonic boom
Shoots a sonic blast.
Default cooldown: 5s
Descending dark
Jump into the air before charging down, dealing damage and burning an area around the landing location.
Default cooldown: 10s
Wild charge
Briefly wind up before gaining a huge speed boost, blowing up the first target you run into.
Default cooldown: 15s
Agitate
Most abilties spread sculk. Cause nearby sculks to catch fire and spread to nearby sculk, blinding, weakening and slowing entities hit.
Default cooldown: 20s
Warden menu
Give warden's mark
Give yourself an item you can shoot other players with to mark them. Marked players will initiate a transformation sequence upon death and gain their stats and abilities.
Remove warden
Remove the current warden's attributes, abilities, and bossbar.
Become warden
/tag @s add warden_mark
Running the command marks you as the next warden. You can also change @s to another player's name to mark them instead
Uninstall
/function foppy:uninstall
Uninstalls the datapack.
Configs
Infect blocks
Whether warden can turn soft blocks into sculk. Agitate will work on all blocks if this is disabled.
Default: 1 (true)
Warden health
How much health a warden starts with. Since you can change this value, wearing armor is not recommended.
Default: 500
Warden damage
How much base damage the warden deals. Weapons are also not recommended.
Default: 5
Requires death
Whether a marked player needs to die to turn into a warden. If disabled, whoever gets marked becomes a warden immediately.
Default: 1 (true)
Use custom game rules
Whether the datapack will set its game rules during the next reload, being:
doImmediateRespawn: true
mobGriefing: false (Explosions will destroy blocks if true)
sendCommandFeedback: false
When disabled, you still need to set the gamerules manually. They just won't be reset on the next /reload
Final notes
Join the discord server to suggest more features, configs and attacks.
Don't try to spawn two wardens at once, it won't end well.
Credit to lowpolyellie on discord for creating wild charge and descending dark.
If you want to use this datapack for commercial purposes, please notify me before doing so. This is just for tracking purposes, I have no issues with people profiting off of my work