Here's the full prompt, condensed where possible:
---
CURSOR PROMPT:
You are an expert Minecraft plugin developer. Build a Paper API plugin in Java supporting versions 1.21.4 through 1.21.11 only.
---
GENERAL RULES:
- Paper API only, no Spigot fallbacks
- Version check in
onEnable()— disable plugin if server is outside 1.21.4–1.21.11 - All custom items use
ItemMeta#setCustomModelData(int)for resource pack texture mapping - All custom items identified via
PersistentDataContainerkeys — never use item name or lore for identification - Ability triggers via
PlayerSwapHandItemsEvent:
- Offhand key = Ability 1 - Crouch + offhand key = Ability 2 (check player.isSneaking())
- Cooldowns tracked per UUID in HashMaps
- Tick-based effects via
BukkitRunnable - Central
ItemRegistryclass, each item implementsCustomIteminterface - Vanilla commands allowed via
Bukkit.dispatchCommand()where simplest — prefer Paper API for performance - LibsDisguises dependency for all disguise logic only
plugin.yml:depend: [LibsDisguises]- Add LibsDisguises to
pom.xml/build.gradlevia official repo - Every ability/passive needs particles + sounds (1.21.4–1.21.11 enums only), visible server-side to nearby players
- Projectile/beam abilities use animated particle trails updated every tick
- Use
World#spawnParticle()andWorld#playSound()
Particle themes:
- Amaterasu:
FLAME, SOUL_FIRE_FLAME, DRIPPING_LAVA - Aeolus' Mace:
CLOUD, SWEEP_ATTACK, EXPLOSION_NORMAL - Clawfang:
BLOCK_CRACK, REDSTONE(red),VILLAGER_ANGRY - Crawling Chaos:
PORTAL, ASH, SMOKE_LARGE, SPELL_WITCH - Hermes Boots:
END_ROD, CRIT, SWEEP_ATTACK - Chronos Wings:
END_ROD, ENCHANTMENT_TABLE, TOTEM, CRIT_MAGIC - Khonshu:
DRIPPING_WATER, SPELL_MOB(white/silver),CRIT, SMOKE_NORMAL - Hades' Bident:
SOUL_FIRE_FLAME, ASH, SMOKE_LARGE, LAVA - Demeter's Scythe:
VILLAGER_HAPPY, COMPOSTER, BLOCK_CRACK(grass) - Hera's Scepter:
ENCHANTMENT_TABLE, TOTEM, CRIT_MAGIC, END_ROD - Poseidon's Trident:
DRIPPING_WATER, BUBBLE_COLUMN_UP, CRIT, CLOUD
---
ITEMS:
1. Amaterasu (Sword) — CustomModelData: [int] "A blade forged from the heart of the sun. Divine fire no force can extinguish."
- Passive: Strength 3 in sunlight / Speed 1 + Weakness 1 at night
- Passive: 8% on-hit chance — true fire damage, 2 ticks, 1 dmg/tick, armor bypass
- Ability 1 — Black Flame: 1 heart/tick → 2 hearts/tick, 6 block reach, 45s CD
- Ability 2 — Solar Flare: Slowness 2 + Weakness 1 (5s) on target, Speed 2 on caster, 80s CD
---
2. Aeolus' Mace (Mace) — CustomModelData: [int]
- Passive: Speed 1 permanent, no fall damage
- Passive: 3rd consecutive hit = double damage (reset on miss/swap)
- Ability 1 — Aeolus' Grace: Dash in look direction, 15s CD
- Ability 2 — Windswept Stun: Stun nearby entities 5s (shield only) + launch caster up, 35s CD
---
3. Clawfang (Sword) — CustomModelData: [int]
- Passive: 8% on-hit — Bleeding (6s, 1 dmg/tick)
- Ability 1 — Wild Leap: Forward lunge, applies Bleeding on hit
- Ability 2 — Nature's Howl: 60s buff — Str 2, Spd 2, Regen 2, all hits bleed at double rate, 60s CD
---
4. The Crawling Chaos (Sword) — CustomModelData: [int] "A blade made from the flesh of Nyarlathotep, God of the Apocalypse."
- Passive: Username hidden from tab list while holding
- Ability 1 — Omnipotence: Spectator mode 15s then return to survival, 5 min CD
- Ability 2 — God of a Thousand Forms: INVENTORY GUI of all killed mob types (stored per UUID in YAML) → disguise via
DisguiseAPI.disguiseEntity(), lasts 3 min, undisguise viaBukkitRunnable, 5 min CD. Only item using LibsDisguises.
---
5. Hermes Boots (Boots) — CustomModelData: [int]
- Passive: Speed 3 permanent, Depth Strider 4, no fall damage
- Ability 1 — Light as a Bird: Toggle Jump Boost 1
- Ability 2 — Feathered Fling: Dash forward + Speed 5 for 2s, 40s CD
---
6. Chronos Wings (Chestplate + Elytra hybrid) — CustomModelData: [int]
- Elytra glide + netherite chestplate armor values via attribute modifiers
- Protection 6, Unbreaking 5, 10,000 durability
- Always crit regardless of fall state
- Passive — Time's Retribution: 10% on-hit chance to stun attacker 3s (Slowness 255 + Blindness + Nausea)
- Ability 1 — Time Ray: 3s charge (action bar countdown) → yellow particle raycast beam, 50 blocks, 26 dmg armor bypass. Cancel + 5s penalty CD if player moves/takes damage during charge. 25s CD
- Ability 2 — reserved
---
7. Khonshu (Sword) — CustomModelData: [int] "A sword shrouded in the essence of the moon God. For the price of your sanity, everlasting power."
- Passive: Invisibility permanent (ambient, no particles), Speed 2 permanent
- Ability 1 — Crescent Cleaves: 3 sequential crescent particle projectiles — 6/12/18 dmg, 3s apart, 45s CD after 3rd fires
- Ability 2 — Khonshu's Scathe: AOE 8 block radius, 4s, 3 dmg/sec, 30s CD
---
8. Hades' Bident (Sword) — CustomModelData: [int] "The king of hell's punishment, an aura of imminent danger."
- Passive — Hellfire Body: Fire Resistance permanent
- Ability 1 — Undead Risen: Summon 8 leather-armored Skeletons tagged to owner via PDC, despawn after 20s, 200s CD
- Ability 2 — Flare Entrapment: Mark caster — next hit on any player triggers 5s stun (Slowness 255 + Blindness + Jump Boost 128), mark expires 30s if unused, 120s CD
---
9. Demeter's Harvest Scythe (Sword) — CustomModelData: [int] "The goddess of the harvest's fury, breathing life and ruin into the earth."
- Passive 1 — Demeter's Blessing: Every 5 min give 1x Demeter's Seed (custom item). Plant on farmland → instant max-age sacred crop. Harvest drops 10x Golden Apple + 2x Enchanted Golden Apple. Track via PDC on block.
- Passive 2 — Flourishing Fields: Every 20 ticks advance all crops within 10 blocks by 1 growth stage via
Ageable#setAge() - Ability 1 — Harvest Reap: 10s frenzy — each kill = 1 Harvest Soul stack (+0.5 atk dmg, +3% speed via attributes). Stacks last 30s, 90s CD
- Ability 2 — Seasonal Wrath: Cycle seasons per UUID (Spring: Regen 2 allies 10 blocks / Summer: fire target 5s / Autumn: 5 random food on kill / Winter: Wither 2 + Slowness 3 on target). Show season on action bar. 60s CD
---
10. Hera's Sovereign Scepter (Sword) — CustomModelData: [int] "The queen of Olympus's authority, binding all who stand before her."
- Passive — Queen's Court: Every 20 ticks apply Resistance 1 to all allies within 10 blocks
- Ability 1 — Binding Vow: Enter binding mode — next player hit is bound for 60s. 25% of damage caster receives is redirected to bound target. Slowness 2 on bound target. 120s CD
- Ability 2 — Royal Decree: 24 dmg (armor bypass) to target. If target hit caster in last 10s → additional 16 dmg. 110s CD
---
11. Poseidon's Trident (Trident) — CustomModelData: [int] "The trident of the King of Atlantis. Those who wield it command the seas and the storms above."
- Mode Switch (offhand key): Toggle Hunter ↔ Tidal mode, 300s CD. Show mode on action bar. Shared CDs persist across mode switch.
HUNTER MODE:
- Passive — Diver: Depth Strider 3 on any equipped boots, re-apply every tick
- Ability 1 — Flash Strike: Throw trident → lightning strike on hit (visual only,
strikeLightningEffect()), 10 dmg. On miss, trident returns — any entity hit on return path also gets lightning + 10 dmg. 120s CD - Ability 2 — Rainfall: Raycast to target (30 blocks) → cylindrical rain particle area (radius 5, height 8) for 5s. Entities inside get Poison 1 every second they remain. 90s CD
TIDAL MODE:
- Passive — Grace: Dolphin's Grace while
player.isInWater(), ambient no particles - Ability 1 — Tsunami Wave: 3–4 sequential wave particle arcs forward (0.5s apart), each deals 4 dmg on entity contact, travel 15 blocks. Shares 120s CD with Flash Strike
- Ability 2 — Whirlpool Vortex: Whirlpool at raycast target (20 blocks), radius 6, lasts 6s. Pull entities toward center via velocity each tick, 2 dmg/sec. Spiral particle animation. Shares 90s CD with Rainfall
---
CUSTOM INGREDIENTS:
| Item | Base Item | Obtained By | |---|---|---| | Dragon Heart | NETHER_STAR | Ender Dragon kill (100%, once per dragon) | | Fleeting Feather | FEATHER | Griffin Boss (45% drop) | | Warden's Soul | ECHO_SHARD | Craft Soul Box → right-click spawns Warden → kill it | | Primordial Chaos Shard | PRISMARINE_SHARD | Wither kill (25%), Crawling Chaos player kill (5%), Ancient City chest (10%) | | Chronos' Lost Fragment | CLOCK | Chronos Trial center chest, mid-ritual player kill (5%), End City chest (8%) | | Solar Ember | BLAZE_POWDER | Craft only (see recipe below) | | Storm Core | BREEZE_ROD | Storm Shrine chest | | Feral Claw | RABBIT_FOOT | Brush Suspicious Sand/Gravel in Fossil structures (20%) | | Hellfire | BLAZE_ROD (custom) | Kill Blaze while standing in lava (25%) |
All ingredients have CustomModelData [int] and unique lore.
Soul Box Recipe (shaped):
[DIAMOND] [DIAMOND] [DIAMOND]
[DIAMOND] [NETHERITE_INGOT] [DIAMOND]
[TOTEM] [TOTEM] [TOTEM]
Solar Ember Recipe (shaped):
[BLAZE_ROD] [ANCIENT_DEBRIS] [BLAZE_ROD]
[BLAZE_ROD] [ANCIENT_DEBRIS] [BLAZE_ROD]
[BLAZE_ROD] [ANCIENT_DEBRIS] [BLAZE_ROD]
---
CUSTOM STRUCTURES:
Chronos' Trial Structure — /structure spawn chronos
- Trial Chamber-style dungeon, stone brick + deepslate + obsidian
- Spawners: Endermen, Strays, Phantoms + Griffin Boss patrolling outside
- Center locked chest (1x Chronos' Lost Fragment) — only opens when all mobs dead (track via PDC counter)
- Griffin Boss: Phantom base, 100HP, gold name, swooping dive AI + screech AOE (Slowness 2 + Blindness, 8 blocks, 30s), 45% Fleeting Feather drop, golden particle trail, server-wide boss bar
Storm Shrine Structure — /structure spawn stormshrine
- Small polished granite + stone slab structure, lightning rods at corners
- Lightning strikes every 60–120s via
World#strikeLightning() - Breeze guardians, center chest with Storm Core
- Chest respawns every 7 in-game days (track in YAML)
---
ALTAR SYSTEM:
Setup: Pedestal built from CHISELED_STONE_BRICKS + STONE_BRICK_SLAB
/altar spawn <itemname>and/altar remove— requiresgodplugin.altar.admin- Idle altar: floating rotating
ItemDisplayof result item +TextDisplayingredient list with colors - Completely indestructible — cancel
BlockBreakEvent,EntityExplodeEvent,BlockExplodeEvent,PlayerBucketEmptyEvent,BlockPistonExtendEvent,BlockPistonRetractEventat all altar block locations (stored in YAML)
Ritual:
- Right-click altar with all ingredients in inventory → consumed immediately → 15 min ritual starts
- Broadcasts to entire server:
- Start: §6[⚗ Ritual] <name> has begun a ritual for <item>! The altar pulses with divine energy... - Death: §c[⚗ Ritual] <name> has fallen! The ritual continues... will anyone claim <item>? - Complete: §e[⚗ Ritual] <name>'s ritual is complete! <item> has manifested at the altar!
- Boss bar visible to ALL online players showing owner + progress — add joining players via
PlayerJoinEvent - Altar emits themed particles + ambient sounds during ritual
- On completion: item drops physically on altar — first to pick it up wins
- Death does not cancel ritual — anyone can steal
- One ritual per altar at a time
- Ritual state persists through restarts (save to YAML)
---
ALTAR RECIPES:
| Item | Ingredients | |---|---| | Amaterasu | 1x Dragon Heart, 1x Solar Ember, 64x Blaze Rod, 32x Fire Charge, 16x Magma Block, 8x Nether Star, 3x Enchanted Golden Apple | | Aeolus' Mace | 1x Storm Core, 1x Heavy Core, 32x Breeze Rod, 16x Gold Block, 8x Emerald Block, 3x Nether Star, 32x Wind Charge | | Clawfang | 1x Warden's Soul, 1x Feral Claw, 32x Rotten Flesh, 16x Prismarine Shard, 8x Emerald Block, 2x Nether Star, 3x Totem | | Crawling Chaos | 1x Primordial Chaos Shard, 1x Warden's Soul, 32x Obsidian, 16x Crying Obsidian, 8x Nether Star, 64x Ender Pearl, 4x Wither Skull | | Hermes Boots | 1x Fleeting Feather, 128x Feather, 4x Netherite Ingot, 64x Glowstone, 1x Diamond Boots, 128x Wind Charge, 64x Breeze Rod, 64x Quartz Block, 64x Iron Block | | Chronos Wings | 1x Dragon Heart, 1x Chronos' Lost Fragment, 3x Elytra, 3x Nether Star, 64x Clock | | Khonshu | 1x Warden's Soul, 1x Primordial Chaos Shard, 32x Lapis Block, 64x Crying Obsidian, 16x Prismarine Block, 8x Nether Star, 32x Echo Shard | | Hades' Bident | 1x Hellfire, 1x Warden's Soul, 32x Magma Block, 64x Soul Sand, 16x Nether Brick, 3x Nether Star, 4x Wither Skull, 32x Blaze Rod, 16x Crying Obsidian | | Demeter's Scythe | 1x Feral Claw, 1x Storm Core, 64x Wheat, 32x Emerald Block, 16x Gold Block, 3x Nether Star, 32x Bone Meal, 16x Enchanted Golden Apple, 64x Hay Bale | | Hera's Scepter | 1x Dragon Heart, 1x Primordial Chaos Shard, 32x Gold Block, 16x Emerald Block, 8x Nether Star, 4x Enchanted Golden Apple, 32x Amethyst Block, 16x Crying Obsidian, 2x Wither Skull | | Poseidon's Trident | 1x Dragon Heart, 1x Storm Core, 3x Trident, 32x Prismarine Block, 32x Sea Lantern, 64x Nautilus Shell, 16x Heart of the Sea, 8x Nether Star, 32x Blue Ice |
---
PLUGIN STRUCTURE:
src/main/java/com/yourplugin/
├── Main.java
├── items/
│ ├── CustomItem.java (interface)
│ ├── ItemRegistry.java
│ ├── Amaterasu.java
│ ├── AeolusMace.java
│ ├── Clawfang.java
│ ├── CrawlingChaos.java
│ ├── HermesBoots.java
│ ├── ChronosWings.java
│ ├── Khonshu.java
│ ├── HadesBident.java
│ ├── DemeterScythe.java
│ ├── HeraScepter.java
│ └── PoseidonTrident.java
├── ingredients/
│ ├── DragonHeart.java
│ ├── FleetingFeather.java
│ ├── WardenSoul.java
│ ├── SoulBox.java
│ ├── PrimordialChaosShard.java
│ ├── ChronosLostFragment.java
│ ├── SolarEmber.java
│ ├── StormCore.java
│ ├── FeralClaw.java
│ └── Hellfire.java
├── altar/
│ ├── AltarManager.java
│ ├── AltarStructure.java
│ ├── RitualManager.java
│ └── AltarCommand.java
├── structures/
│ ├── StructureManager.java
│ ├── ChronosTrialStructure.java
│ ├── StormShrineStructure.java
│ └── StructureCommand.java
├── bosses/
│ └── GriffinBoss.java
├── listeners/
│ ├── AbilityListener.java
│ ├── PassiveListener.java
│ ├── CooldownManager.java
│ ├── IngredientDropListener.java
│ ├── SoulBoxListener.java
│ └── FossilBrushListener.java
├── effects/
│ ├── BleedingEffect.java
│ ├── TidalEffects.java
│ └── ParticleEffects.java
└── data/
└── PlayerDataManager.java
---
IMPLEMENTATION NOTES:
PlayerSwapHandItemsEventfor all triggers,isSneaking()splits Ability 1 vs 2EntityDamageByEntityEventfor hit detection + stun passives- Armor bypass:
LivingEntity#setHealth()direct subtraction - Bleeding/DOT:
BukkitRunnableper affected entity - Crawling Chaos disguise: kill history in YAML,
DisguiseAPIfrom LibsDisguises - Soul Box: PDC tag on right-click → spawn Warden → guaranteed soul drop via
EntityDeathEvent - Feral Claw:
PlayerInteractEventon Suspicious blocks near fossils, 20% check - Hellfire:
EntityDeathEventon Blaze, checkplayer.isInLava() - Chronos Wings: netherite armor attributes via
Attributable#getAttribute, elytra via metadata, always-crit viaEntityDamageEvent - Time Ray: 60-tick
BukkitRunnable, cancel onPlayerMoveEventor damage, raycast via look direction iteration - Crescent Cleaves: trig-offset particle arc, chained
BukkitRunnable60 ticks apart - Khonshu Scathe: entities within 8 blocks every 20 ticks for 4 iterations
- Hades skeletons: PDC owner tag,
EntityTargetEventto prevent self-targeting - Demeter Sacred Crop: PDC on farmland block,
BlockBreakEventfor harvest detection - Demeter seasons: HashMap season index per UUID, cycle 0→1→2→3→0
- Hera Binding Vow: HashMap bound pairs,
EntityDamageEventredirect 25% to bound target - Hera Royal Decree:
HashMap<UUID, Long>timestamps, check 10s window - Poseidon mode: HashMap per UUID, route ability calls based on current mode
- Poseidon Flash Strike: track trident entity,
ProjectileHitEventfor hit,BukkitRunnablereturn path checks entities within 1.5 blocks each tick - Poseidon Rainfall: HashSet of active rain zones, check entity positions every 20 ticks
- Poseidon Tsunami: chained
BukkitRunnable(10 tick delay between waves), each wave moves particle cluster forward 1 block/tick, proximity collision check - Poseidon Whirlpool:
entity.setVelocity(center.subtract(entity.getLocation()).toVector().normalize().multiply(0.3))each tick, spiral particles via trig offset - Poseidon shared CDs: Hunter Ability 1 and Tidal Ability 1 share key
poseidon_cd1, Ability 2s shareposeidon_cd2 - Griffin Boss:
BukkitRunnableevery 20 ticks, velocity toward nearest player within 40 blocks, server-wide boss bar - Storm Shrine:
BukkitRunnablelightning every 60–120s - Altar indestructible: all altar block locations in YAML, cancel all destructive events matching stored locations
- Altar boss bar:
Bukkit.createBossBar()all online players,PlayerJoinEventadds new players - Altar broadcasts:
Bukkit.broadcastMessage()with color codes - Ritual YAML: save start time, owner UUID, altar location, item target — restore on
onEnable() - Version gate: parse
Bukkit.getBukkitVersion(), disable if outside 1.21.4–1.21.11
No files in this session