Noah Steiner

Create a complete Minecraft Java Edition multiplayer PvP mod with 12 unique Hearts. Use the Minecraft version and mod loader specified by the environment. The project must build in IntelliJ IDEA using Gradle and include all source code, assets, textures, networking, and configuration.

CORE RULES Use existing vanilla advancements, never custom advancements. Each Heart can exist only once per world, is never crafted, and is awarded automatically when its advancement is completed. Track unlocks using persistent world data across restarts. Hearts can transfer between players through PvP but must never be permanently destroyed.

UNLOCK SYSTEM When an advancement is completed, check whether its Heart was already awarded. If not, permanently mark it unlocked, create the Heart, give it to the player or drop it if inventory is full, and broadcast a bold, Heart-coloured announcement showing the player's username, Heart name, and exact XYZ coordinates. Never announce it again when ownership changes.

HEART SLOTS AND CONTROLS Players can equip at most 2 Hearts. Add two custom slots beside the off-hand slot, with icons when empty and the Heart displayed when occupied. Prevent duplication or simultaneous placement in multiple slots, inventory, or off-hand. Add configurable G and H keybinds in Minecraft's Controls menu for slots 1 and 2. Passive Hearts need no activation. Enderman Dash activates by double-tapping Space; its Speed III ability uses the assigned slot key.

DEATH AND PROTECTION On death, remove all equipped Hearts and their effects, drop the physical items at the death location, and allow other players to collect and equip them. Dropped Hearts must never despawn, burn, melt, or be destroyed by lava, fire, cactus, explosions, or other environmental mechanics. Death or ownership changes never reset unlock flags. Prevent duplication through inventories, death, containers, logout, chunk unloading, item frames, NBT manipulation, and restarts.

THE 12 HEARTS

  1. Warden Heart: Ancient City; advancement "Sneak 100". Sonic Boom aimed in the player's target direction, capable of hitting at range and bypassing shields like the real attack. Deals exactly 50% of real Warden Sonic Boom damage. Cooldown 30s.
  2. Shulker Heart: End City; "Sky's the Limit". Fire a homing Shulker projectile at the nearest valid player. On hit, apply Levitation for 4s. Cooldown 25s.
  3. Elder Guardian Heart: Ocean Monument; "Monsters Hunted". Create a tracking Elder Guardian beam on the nearest valid player for exactly 8s. Deal 1 heart of damage every 2s, for 4 ticks total. Cooldown 40s.
  4. Evoker Heart: Woodland Mansion; relevant existing vanilla Evoker-related advancement. Spawn Evoker Fangs underneath/around the nearest valid player, using vanilla-like damage. Never hit the holder. Cooldown 30s.
  5. Breeze Heart: Trial Chamber; existing vanilla Trial-related advancement. Create a Breeze-style Wind Blast that launches the nearest valid player backward with strong knockback. Cooldown 20s.
  6. Blaze Heart: Nether Fortress; "A Furious Cocktail". For 20s, inflict custom fire damage on the nearest valid player that bypasses Fire Resistance. The target also deals 50% more outgoing damage during this period. Do not rely on ordinary burning. Cooldown 60s.
  7. Brute Heart: Bastion Remnant; "Those Were the Days". PASSIVE ONLY: Strength I, Resistance I, and Fire Resistance while equipped. No activation. Remove only Heart-provided effects when unequipped.
  8. Enderman Heart: Stronghold; "Eye Spy". PASSIVE Speed I while equipped. VOID DASH: double-tap Space to dash rapidly forward in the facing/movement direction; 8s cooldown. SPEED III: slot key grants Speed III for 10s; 45s cooldown. Remove Heart-generated effects when unequipped.
  9. Husk Heart: Desert Pyramid; relevant existing vanilla desert/archaeology advancement. DESERT PRISON: completely freeze the nearest valid player for exactly 3s. Prevent movement, attacking, block placement, and block breaking; Slowness alone is insufficient. Cooldown 45s.
  10. Ghast Heart: Nether progression; "Return to Sender". Fire a homing Ghast-style fireball at the nearest valid player, travelling 50% faster than normal. It damages entities but never destroys terrain. Shields can block it. Cooldown 15s.
  11. Wolf Heart: unlock only after the player has tamed every vanilla wolf breed/variant available in the target version. Dynamically support all variants. WOLF PACK summons exactly 5 temporary wolves with Strength II that attack the nearest valid enemy, never their owner. Remove all summoned wolves after exactly 25s. Cooldown 60s.
  12. Ender Dragon Heart: The End; "Remote Getaway". DRAGON'S BREATH creates a damaging cloud centered on and following the nearest valid player for 7.5s. Deal 20% more damage than normal Dragon's Breath. Apply Weakness for 25s, Poison for 10s, and Slowness for 10s. Cooldown 90s.

TARGETING AND COOLDOWNS Nearest-player abilities must target the closest valid player by actual distance, excluding the holder, spectators, dead/disconnected players, and invalid targets. Do not target mobs unless specified. If no target exists, do not activate or consume cooldown. All cooldowns must be server-authoritative and impossible to bypass client-side. Show remaining cooldowns clearly.

Cooldowns: Warden 30s; Shulker 25s; Elder Guardian 40s; Evoker 30s; Breeze 20s; Blaze 60s; Brute passive; Enderman Dash 8s and Speed III 45s; Husk 45s; Ghast 15s; Wolf 60s; Ender Dragon 90s.

ITEMS AND PERSISTENCE Register unique Heart IDs: warden_heart, shulker_heart, elder_guardian_heart, evoker_heart, breeze_heart, blaze_heart, brute_heart, enderman_heart, husk_heart, ghast_heart, wolf_heart, ender_dragon_heart. Each item needs a unique name, texture, appropriate rarity, stack size 1, and tooltip describing its ability, passive/active status, cooldown, and slot requirement. Store unique identity and world unlock state securely. Persist ownership, equipped Hearts, cooldowns where appropriate, and temporary ability state across restarts, logins, world reloads, and chunk unloading.

IMPLEMENTATION Include complete buildable source, Gradle files, mod metadata, textures, item models, custom slots, G/H keybind registration, client/server networking, advancement listeners, persistent world data, ability implementations, cooldowns, death/drop protection, and debugging tools. Ensure all gameplay decisions are server-authoritative and multiplayer-safe. Use the correct vanilla advancement IDs for the selected Minecraft version; never replace missing advancements with custom ones.

TEST BEFORE COMPLETION Test all 12 unlocks, one-per-world uniqueness, full-inventory drops, announcements, slots, keybinds, double-space dash, every ability and cooldown, passive removal, death and transfers, item protection, restart persistence, multiplayer synchronization, and duplication exploits. Players must never equip more than 2 Hearts. Preserve every mechanic above and do not simplify the design. make it a data pack not a plugin

Kodari AI
KodariOct 10 at 10:49 pm 1
Created 12 Hearts PvP DatapackData Packs
Couldn't delegate to 12 Hearts PvP Datapack
To run another session in parallel you need a total balance of 20 credits. You have 19.

Created the 12 Hearts PvP Datapack project, but I couldn’t start development: the workspace requires 20 credits to delegate, and the current balance is 19.

Also, a datapack cannot add G/H keybinds or custom equipment slots to Minecraft’s interface, so those parts of the spec can’t be implemented as a datapack. Once delegation is available, the project can still implement the datapack-compatible mechanics and document those limitations.

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code