Here's the complete final prompt:
---
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:
- Use Paper API only (no Spigot fallbacks)
- Plugin is strictly compatible with 1.21.4 through 1.21.11 only — add a version check in
onEnable()that disables the plugin if the server version is outside this range - All custom items must support a custom resource pack via
ItemMeta#setCustomModelData(int)— each item will have a unique CustomModelData int assigned for texture mapping - Ability triggers:
- Press offhand key (F by default) = Ability 1, detected via PlayerSwapHandItemsEvent - Crouch + press offhand key = Ability 2, check player.isSneaking() at time of event
- All cooldowns tracked per-player via UUID HashMaps
- Use
BukkitRunnablefor tick-based effects (bleeding, fire damage, buffs) - Register all items in a central
ItemRegistryclass - Each item gets its own class that implements a shared
CustomIteminterface - Plugin may use vanilla Minecraft commands via
Bukkit.dispatchCommand()orplayer.performCommand()where appropriate — do not avoid vanilla commands if they are the simplest solution. Still prefer Paper API methods where performance matters - Plugin uses LibsDisguises as a dependency for all disguise/morphing functionality
- Add to
plugin.yml:
depend: [LibsDisguises]
- Add LibsDisguises to
pom.xmlorbuild.gradleas a compile dependency using the official LibsDisguises repo - Every ability and passive must have particle effects and sounds using only particle/sound enums available in 1.21.4–1.21.11:
- Amaterasu: Solar/fire particles (FLAME, SOUL_FIRE_FLAME, DRIPPING_LAVA) - Aeolus' Mace: Wind/air particles (CLOUD, SWEEP_ATTACK, EXPLOSION_NORMAL) - Clawfang: Blood/nature particles (BLOCK_CRACK, REDSTONE red tint, VILLAGER_ANGRY) - Crawling Chaos: Void/chaos particles (PORTAL, ASH, SMOKE_LARGE, SPELL_WITCH) - Hermes Boots: Speed trail particles (END_ROD, CRIT, SWEEP_ATTACK) - Chronos Wings: Time/energy particles (END_ROD, ENCHANTMENT_TABLE, TOTEM, CRIT_MAGIC) - Khonshu: Moon/darkness particles (DRIPPING_WATER, SPELL_MOB white/silver tint, CRIT, SMOKE_NORMAL) - Hades' Bident: Underworld particles (SOUL_FIRE_FLAME, ASH, SMOKE_LARGE, LAVA) - Demeter's Scythe: Nature/harvest particles (VILLAGER_HAPPY, COMPOSTER, BLOCK_CRACK grass, FALLING_LEAVES if available) - Hera's Scepter: Divine/royal particles (ENCHANTMENT_TABLE, TOTEM, CRIT_MAGIC, END_ROD)
- Use
World#spawnParticle()for all particle spawning - Use
World#playSound()for all sound effects — pair every ability activation with an appropriate sound from theSoundenum - All particle effects must be server-side visible to nearby players, not just the caster
- For projectile/beam abilities use animated particle trails updated every tick along the projectile path
---
ITEM IMPLEMENTATIONS:
1. Amaterasu (Sword) CustomModelData: [assign int]
Lore: "A blade forged from the heart of the sun itself. Its wielder is blessed with the warmth of creation and the wrath of divine fire that no force in existence can extinguish."
- Passive: Strength 3 in direct sunlight / Speed 1 at night + Weakness 1 at night
- Passive: 8% chance on hit to apply true fire damage — 2 ticks, 0.5hp (1 damage) per tick, bypasses armor
- Ability 1 — Black Flame (offhand key): Deal 1 heart/tick escalating to 2 hearts/tick, 6 block reach, 45s CD
- Ability 2 — Solar Flare (crouch + offhand key): Apply Slowness 2 + Weakness 1 for 5s to target, grant caster Speed 2, 80s CD
---
2. Aeolus' Mace (Mace) CustomModelData: [assign int]
- Passive: Permanent Speed 1
- Passive: Negate all fall damage
- Passive: Track consecutive hits per player — 3rd consecutive hit deals double damage (reset on miss or swap)
- Ability 1 — Aeolus' Grace (offhand key): Dash in the direction the player is looking, 15s CD
- Ability 2 — Windswept Stun (crouch + offhand key): Stun all nearby players/mobs (can only shield, nothing else) for 5s + launch caster upward, 35s CD
---
3. Clawfang (Sword) CustomModelData: [assign int]
- Passive: 8% chance on hit to apply Bleeding — custom effect, 6s duration, 0.5 hearts (1 damage) per tick
- Ability 1 — Wild Leap (offhand key): Forward lunge, applies Bleeding to any entity hit
- Ability 2 — Nature's Howl (crouch + offhand key): 60s buff — Strength 2, Speed 2, Regen 2, all hits apply Bleeding at double rate (1 heart/tick), reactivation locked for 60s
---
4. The Crawling Chaos (Sword) CustomModelData: [assign int]
Lore: "A blade made from the very flesh of Nyarlathotep, the God of the Apocalypse."
- Passive — Art of Deception: Player's name hidden from tab list while holding this item
- Ability 1 — Omnipotence (offhand key): Set player to spectator mode for 15s then return to survival, 5 min CD
- Ability 2 — God of a Thousand Forms (crouch + offhand key):
- Open a INVENTORY GUI listing all mobs the player has ever killed (stored per UUID in persistent data file) - On selection, call DisguiseAPI.disguiseEntity(player, new MobDisguise(DisguiseType.fromEntityType(type))) - After 3 minutes call DisguiseAPI.undisguiseEntity(player) via BukkitRunnable - On mob kill, store EntityType in player's persistent data file - Only Crawling Chaos uses LibsDisguises — no other item touches it - 5 min CD
---
5. Hermes Boots (Boots) CustomModelData: [assign int]
- Passive 1 — Speed of Freedom: Permanent Speed 3 while equipped
- Passive 2 — Oceanic Reefs: Depth Strider 4 effect while equipped
- Passive 3 — As Light as a Feather: Negate all fall damage
- Ability 1 — Light as a Bird (offhand key): Toggle Jump Boost 1 on/off
- Ability 2 — Feathered Fling (crouch + offhand key): Dash forward + Speed 5 for 2s, 40s CD
---
6. Chronos Wings (Chestplate + Elytra hybrid) CustomModelData: [assign int]
- Functions as both a chestplate and elytra simultaneously — player can glide AND has netherite chestplate armor values applied via attribute modifiers
- Apply Protection 6 and Unbreaking 5 via item meta
- Set item durability to 10,000
- While equipped, player can always land critical hits regardless of fall state
- Passive — Time's Retribution: Every time the wearer is hit, 10% chance to stun the attacker for 3s (Slowness 255 + Blindness + Nausea)
- Ability 1 — The Time Ray (offhand key):
- 3 second charge phase — display countdown on action bar - On completion fire a yellow particle beam via raycast in look direction up to 50 blocks - Deals 26 damage (13 hearts), fully bypasses armor via direct health subtraction - If player moves or takes damage during charge, ability cancels and applies 5s penalty CD - 25s CD
- Ability 2 — reserved for future addition
---
7. Khonshu (Sword) CustomModelData: [assign int]
Lore: "A sword shrouded in the essence of the God of the moon. Those who wield it are subject to do his bidding. For the price of your sanity and freedom, this weapon grants its vessel everlasting power."
- Passive 1: Permanent Invisibility while holding — re-apply every tick,
ambient=true, particles=false - Passive 2: Permanent Speed 2 while holding
- Ability 1 — Crescent Cleaves (offhand key):
- Fire 3 sequential crescent-shaped projectiles (arc particle pattern) - Projectile 1: 6 damage (3 hearts) — fires immediately - Projectile 2: 12 damage (6 hearts) — fires 3s later - Projectile 3: 18 damage (9 hearts) — fires 3s after that - Each projectile is independent, enemy can heal between hits - 45s CD starts after third projectile fires
- Ability 2 — Khonshu's Scathe (crouch + offhand key):
- AOE pulse, 8 block radius all directions - Lasts 4 seconds - Deals 3 damage (1.5 hearts) per second to all entities within range - 30s CD
---
8. Hades' Bident (Sword/Trident-style) CustomModelData: [assign int]
Lore: "The king of hell's punishment, revealing an aura of imminent danger."
- Passive — Hellfire Body: Permanent Fire Resistance while holding, re-apply every tick
- Ability 1 — Undead Risen (offhand key):
- Summon a horde of 8 Skeletons wearing full leather armor - Skeletons are tagged as owned by the summoner via PersistentDataContainer - They fight for the summoner and despawn after 20 seconds via BukkitRunnable - 200s CD
- Ability 2 — Flare Entrapment (crouch + offhand key):
- Apply a "marked" status to the caster via PersistentDataContainer - Next hit landed by the caster on any player triggers a 5s stun (Slowness 255 + Blindness + Jump Boost 128 to prevent jumping) - Mark expires after 30s if no hit lands - 120s CD
---
9. Demeter's Harvest Scythe (Sword/Hoe-style) CustomModelData: [assign int]
Lore: "The goddess of the harvest's fury, breathing life and ruin into the earth."
- Passive 1 — Demeter's Blessing:
- Every 5 minutes, add 1x Demeter's Seed (custom item, CustomModelData [assign int]) to the player's inventory - Demeter's Seed planted on farmland via right-click grows instantly into a sacred crop (use WHEAT block at max age) - On harvesting the sacred crop, drop 10x Golden Apple + 2x Enchanted Golden Apple - Detect harvest via BlockBreakEvent, check for sacred crop tag via PersistentDataContainer on the block
- Passive 2 — Flourishing Fields:
- Every 20 ticks scan all crop blocks within 10 blocks of the player - Advance their growth stage by 1 via Ageable#setAge() at 5x the natural rate
- Ability 1 — Harvest Reap (offhand key):
- Enter a 10s reaping frenzy - On each kill during frenzy, add 1 Harvest Soul stack (stored in HashMap per UUID) - Each stack grants +0.5 attack damage (via Attributable) and +3% speed (recalculate and reapply SPEED modifier) - Stacks last 30s before being cleared via BukkitRunnable - 90s CD
- Ability 2 — Seasonal Wrath (crouch + offhand key):
- Cycle through 4 seasons in order per activation (store current season in HashMap per UUID) - Spring: Apply Regen 2 for 5s to all allies within 10 blocks - Summer: Set target on fire for 5s - Autumn: On next kill, drop 5 random food items at kill location - Winter: Apply Wither 2 + Slowness 3 to target for 5s - Display current season on action bar on activation - 60s CD
---
10. Hera's Sovereign Scepter (Sword/Blaze-Rod-style) CustomModelData: [assign int]
Lore: "The queen of Olympus's authority, binding all who stand before her to her will."
- Passive 1 — Queen's Court:
- Every 20 ticks, apply Resistance 1 to all allies within 10 blocks (re-apply constantly so it never expires)
- Passive 2 — Usurper's Curse:
- On EntityPickupItemEvent, check if item is Hera's Scepter and picker is not the registered owner (stored via UUID in PersistentDataContainer) - If not owner: apply Wither 3 + Weakness for 10s, teleport item back to owner's inventory
- Ability 1 — Binding Vow (offhand key):
- Activate to enter "binding mode" — next player right-clicked is bound to the caster for 60s - Store bound pair in HashMap - While bound: 25% of all damage the caster receives is also dealt to the bound target via LivingEntity#damage() - Apply Slowness 2 to bound target for full 60s duration - 120s CD
- Ability 2 — Royal Decree (crouch + offhand key):
- Deal 24 damage (12 hearts) to target, bypassing armor via direct health subtraction - Check if target has dealt damage to caster within the last 10s (track via HashMap with timestamp) - If yes: deal an additional 16 damage (8 hearts) on top as reflected punishment - 110s CD
---
CUSTOM INGREDIENT ITEMS:
Dragon Heart
- Obtained by: killing the Ender Dragon (100% drop, only drops once per dragon kill)
- Item:
NETHER_STARwith CustomModelData[assign int] - Lore: "The still-warm heart of a slain dragon. It pulses with ancient draconic energy."
- Name color: Red
---
Fleeting Feather
- Item:
FEATHERwith CustomModelData[assign int] - Lore: "A feather that hums with the energy of the night sky. It feels impossibly light."
- Obtained by:
- 45% drop from the Griffin custom boss (see Griffin Boss section below)
---
Warden's Soul
- Item:
ECHO_SHARDwith CustomModelData[assign int] - Lore: "The essence of a creature that has never seen light. It radiates pure sonic darkness."
- Obtained by: crafting a Soul Box then using it to spawn and kill a Warden
Soul Box Recipe (Vanilla shaped crafting table recipe):
[DIAMOND] [DIAMOND] [DIAMOND]
[DIAMOND] [NETHERITE_INGOT] [DIAMOND]
[TOTEM_OF_UNDYING] [TOTEM_OF_UNDYING] [TOTEM_OF_UNDYING]
- Right-clicking a Soul Box spawns a Warden at the player's location
- On Warden death, guaranteed drop of 1x Warden's Soul
- Soul Box is a custom item with CustomModelData
[assign int] - Identify via
PersistentDataContainerkey on right-click
---
Primordial Chaos Shard
- Item:
PRISMARINE_SHARDwith CustomModelData[assign int] - Lore: "A fragment of something that should not exist."
- Obtained by:
- 25% chance drop from killing the Wither - 5% chance drop from killing a player who has the Crawling Chaos equipped at time of death - Found in Ancient City chests (10% chance via ChestLootGenerateEvent)
---
Chronos' Lost Fragment
- Item:
CLOCKwith CustomModelData[assign int] - Lore: "A shard of time itself, broken off from the fabric of reality. It ticks backwards."
- Obtained by:
- Hidden in the center of the Chronos' Trial Structure (see custom structures section) - 5% chance from killing another player while they are in the process of an altar ritual - Found in End City chests (8% chance via ChestLootGenerateEvent)
---
Solar Ember
- Item:
BLAZE_POWDERwith CustomModelData[assign int] - Lore: "A fragment of a dying star, compressed into physical form. Handle with care."
- Obtained by: crafting only — shaped recipe:
[BLAZE_ROD] [ANCIENT_DEBRIS] [BLAZE_ROD]
[BLAZE_ROD] [ANCIENT_DEBRIS] [BLAZE_ROD]
[BLAZE_ROD] [ANCIENT_DEBRIS] [BLAZE_ROD]
---
Storm Core
- Item:
BREEZE_RODwith CustomModelData[assign int] - Lore: "The compressed breath of a storm god. It crackles with restless energy."
- Obtained by: found inside the Storm Shrine custom structure (see custom structures section)
---
Feral Claw
- Item:
RABBIT_FOOTwith CustomModelData[assign int] - Lore: "A claw torn from something ancient and hungry."
- Obtained by:
- Use a Brush on Suspicious Sand or Suspicious Gravel blocks found inside Fossil structures — 20% chance per brush to yield a Feral Claw - Implement via PlayerInteractEvent — detect brushing action on suspicious blocks tagged near a fossil structure, run probability check, drop item at block location
---
Hellfire
- Item:
BLAZE_RODwith CustomModelData[assign int] - Lore: "Born in the deepest fires. Only obtainable by those who burn alongside it."
- Obtained by:
- Kill a Blaze while the player is standing in lava — 25% chance - Detect via EntityDeathEvent, check killer is a player, check player is in lava via player.isInLava()
---
CUSTOM STRUCTURES:
Chronos' Trial Structure
- A dangerous dungeon-style structure that generates rarely in the world (or is admin-spawnable via
/structure spawn chronos) - Trial Chamber-inspired layout — multiple rooms with mob spawners, traps, and narrowing corridors
- Mob spawners inside use: Endermen, Strays, Phantoms, and a custom Griffin Boss that patrols the outer perimeter
- At the very center of the structure is a locked chest containing 1x Chronos' Lost Fragment
- Chest is sealed — can only be opened after all mobs in the structure are dead (track via a counter stored in a nearby
PersistentDataContainer-tagged block) - Structure generates with stone brick, deepslate, and obsidian
Griffin Boss (Custom mob guardian of Chronos' Structure)
- Base mob:
PHANTOMwith scaled health of 100 HP (50 hearts) - Custom name:
Griffindisplayed in gold - Patrols the outer perimeter of Chronos' Structure
- On death: 45% chance to drop 1x Fleeting Feather
- Attacks: swooping dive (charge toward player at high speed using velocity), sonic screech (apply Slowness 2 + Blindness to all players within 8 blocks every 30s)
- Implement AI via
BukkitRunnable— every 20 ticks update velocity toward nearest player if within 40 blocks - Emit golden particle trail during flight
Storm Shrine Structure
- A small outdoor stone structure that generates in plains, savanna, or mountain biomes (or admin-spawnable via
/structure spawn stormshrine) - Built from polished granite, stone slabs, and lightning rods placed at the corners
- A permanent custom storm weather effect surrounds the shrine — trigger lightning strikes around it every 60–120 seconds via
World#strikeLightning() - Spawn Breeze mobs around the shrine as guardians
- At the center is a chest containing 1x Storm Core
- Chest respawns its contents every 7 in-game days (track last loot time in YAML per structure location)
---
ALTAR SYSTEM:
Altar Structure:
- Altar is a pedestal-style structure using
CHISELED_STONE_BRICKSandSTONE_BRICK_SLAB - Admin command:
/altar spawn <itemname>— places the altar at the target block location - Admin command:
/altar remove— removes the nearest altar within 5 blocks - Requires permission node
godplugin.altar.admin(OP by default) - When idle, the altar floats and rotates the result item above it using an
ItemDisplayentity - Required ingredients displayed as floating hologram text above the altar using
TextDisplayentities, one ingredient per line - Highlight custom items in unique colors (Dragon Heart = red, Warden's Soul = dark green, Fleeting Feather = aqua, Primordial Chaos Shard = dark purple, Chronos' Lost Fragment = gold, Solar Ember = orange, Storm Core = yellow, Feral Claw = dark red, Hellfire = dark orange)
Ritual Mechanic:
- Player right-clicks the altar while carrying all required ingredients in their inventory
- If all items are present, consume them immediately and start the 15 minute ritual
- A boss bar appears for ALL players within 32 blocks showing ritual owner name + progress percentage
- Altar emits constant themed particles and ambient sounds during ritual
- After 15 minutes the result item physically drops on top of the altar — first player to pick it up gets it
- If the crafter dies, the ritual continues — anyone nearby can steal the drop
- If the altar is destroyed during ritual, ritual cancels and ingredients are NOT refunded
- Only one ritual can run per altar at a time
- Ritual progress stored in persistent YAML so it survives server restarts
---
ALTAR RECIPES:
1. Amaterasu
- 1x Dragon Heart
- 1x Solar Ember
- 64x Blaze Rods
- 32x Fire Charge
- 16x Magma Blocks
- 8x Nether Stars
- 3x Enchanted Golden Apple
---
2. Aeolus' Mace
- 1x Storm Core
- 1x Heavy Core
- 32x Breeze Rods
- 16x Gold Blocks
- 8x Emerald Blocks
- 3x Nether Stars
- 32x Wind Charges
---
3. Clawfang
- 1x Warden's Soul
- 1x Feral Claw
- 32x Rotten Flesh
- 16x Prismarine Shards
- 8x Emerald Blocks
- 2x Nether Stars
- 3x Totem of Undying
---
4. The Crawling Chaos
- 1x Primordial Chaos Shard
- 1x Warden's Soul
- 32x Obsidian
- 16x Crying Obsidian
- 8x Nether Stars
- 64x Ender Pearls
- 4x Wither Skeleton Skulls
---
5. Hermes Boots
- 1x Fleeting Feather
- 128x Feathers
- 4x Netherite Ingots
- 64x Glowstone
- 1x Diamond Boots
- 128x Wind Charges
- 64x Breeze Rods
- 64x Quartz Blocks
- 64x Iron Blocks
---
6. Chronos Wings
- 1x Dragon Heart
- 1x Chronos' Lost Fragment
- 3x Elytras
- 3x Nether Stars
- 64x Clocks
---
7. Khonshu
- 1x Warden's Soul
- 1x Primordial Chaos Shard
- 32x Lapis Blocks
- 64x Crying Obsidian
- 16x Prismarine Blocks
- 8x Nether Stars
- 32x Echo Shards
---
8. Hades' Bident
- 1x Hellfire
- 1x Warden's Soul
- 32x Magma Blocks
- 64x Soul Sand
- 16x Nether Bricks
- 3x Nether Stars
- 4x Wither Skeleton Skulls
- 32x Blaze Rods
- 16x Crying Obsidian
---
9. Demeter's Harvest Scythe
- 1x Feral Claw
- 1x Storm Core
- 64x Wheat
- 32x Emerald Blocks
- 16x Gold Blocks
- 3x Nether Stars
- 32x Bone Meal
- 16x Enchanted Golden Apple
- 64x Hay Bales
---
10. Hera's Sovereign Scepter
- 1x Dragon Heart
- 1x Primordial Chaos Shard
- 32x Gold Blocks
- 16x Emerald Blocks
- 8x Nether Stars
- 4x Enchanted Golden Apple
- 32x Amethyst Blocks
- 16x Crying Obsidian
- 2x Wither Skeleton Skulls
---
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
│ ├── 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
│ │ └── ParticleEffects.java
│ └── data/
│ └── PlayerDataManager.java
---
IMPLEMENTATION NOTES:
- Use
EntityDamageByEntityEventfor hit detection and stun passives - Use
PlayerSwapHandItemsEventfor all ability triggers — checkplayer.isSneaking()to split Ability 1 vs Ability 2 - Chronos Wings elytra+chestplate hybrid: enforce item in chest slot, apply netherite armor attribute modifiers manually via
Attributable#getAttribute, enable gliding via metadata - Crescent projectile shape: curved arc of particles using trigonometric offset to simulate crescent silhouette, chained
BukkitRunnablefor sequencing - Time Ray charge:
BukkitRunnablewith 60 tick delay, cancel onPlayerMoveEventor damage event during charge window - Armor bypass damage: use
LivingEntity#setHealth()direct subtraction instead ofentity.damage() - Mob disguise (Crawling Chaos): store kill history per UUID in persistent YAML, render disguise using
DisguiseAPIfrom LibsDisguises - Soul Box right-click: detect via
PersistentDataContainertag, spawn Warden at player location, guarantee Warden's Soul drop on death viaEntityDeathEvent - Feral Claw brushing: detect
PlayerInteractEventon Suspicious Sand/Gravel near fossil structures, run 20% probability check, drop item - Hellfire drop:
EntityDeathEventon Blaze, checkplayer.isInLava(), 25% chance drop - Griffin Boss AI:
BukkitRunnableevery 20 ticks, update velocity toward nearest player within 40 blocks, screech AOE every 30s - Storm Shrine lightning:
BukkitRunnablefiringWorld#strikeLightning()at random nearby locations every 60–120 seconds - Structure chest respawn: store last loot timestamp per structure location in YAML, check on
PlayerInteractEventwith chest - Custom loot injection: use
ChestLootGenerateEventfor Ancient City and End City chest drops - Altar visuals:
ArmorStand+ItemDisplay+TextDisplayentities — store all altar entity UUIDs in YAML - Ritual persistence: save ritual start time, owner UUID, altar location, and item target to YAML — restore on server restart via
onEnable() - Boss bar:
Bukkit.createBossBar()— scan for players within 32 blocks every 5 seconds and add/remove accordingly - Hera Binding Vow: store bound pairs in HashMap, on
EntityDamageEventto caster check for bound target and redirect 25% damage - Hera Royal Decree: store last hit timestamps in
HashMap<UUID, Long>, check if target UUID hit caster within last 10s on ability use - Demeter Harvest Reap stacks: store stack count + expiry time per UUID in HashMap, recalculate and reapply attack damage + speed attribute modifiers on each stack change
- Demeter Sacred Crop: tag farmland block on seed placement via
PersistentDataContainer, detect harvest viaBlockBreakEvent, drop custom reward items - Demeter Seasonal Wrath: store current season index per UUID in HashMap, cycle 0→1→2→3→0 on each activation
- Hades skeleton ownership: tag each summoned skeleton with summoner UUID via
PersistentDataContainer, prevent them from targeting the summoner viaEntityTargetEvent - All custom items identified via
PersistentDataContainerkeys — never rely on item name or lore for identification - Version gate in
onEnable(): parseBukkit.getBukkitVersion()and disable plugin with logger warning if outside 1.21.4–1.21.11
--- Add config for everything
No files in this session