Lion Playz

Core Types, Abilities, Damage & Exact Mechanics

Implement exactly 20 Cores. Every Core has exactly 2 abilities.

Ability 1: Crouch + Left Click Ability 2: Crouch + Right Click

Damage values below are in Minecraft health points.

For reference, 2 damage = 1 Minecraft heart.

All offensive abilities must use proper raycast/target detection so the damage is applied to the exact player or mob being aimed at.

---

COMMON CORES

  1. Flame Core — Common

Ability 1: Flame Shot

  • Crouch + Left Click.
  • Shoot a small fire projectile toward the entity the player is aiming at.
  • Range: 15 blocks.
  • Damage: 4 HP (2 hearts).
  • Sets the target on fire for 3 seconds.
  • Impact creates small flame particles.
  • Cooldown: 5 seconds.

Ability 2: Flame Burst

  • Crouch + Right Click.
  • Creates a small explosion of fire around the targeted location.
  • Range: 12 blocks.
  • AoE radius: 3 blocks.
  • Damage: 6 HP (3 hearts) to enemies inside the AoE.
  • Applies fire for 3 seconds.
  • Cooldown: 20 seconds.

---

  1. Stone Core — Common

Ability 1: Stone Strike

  • Crouch + Left Click.
  • Sends a stone shockwave toward the targeted entity.
  • Range: 12 blocks.
  • Damage: 4 HP (2 hearts).
  • Knockback: small.
  • Stone/block particles appear on impact.
  • Cooldown: 5 seconds.

Ability 2: Stone Wall

  • Crouch + Right Click.
  • Creates a temporary protective stone shield around the caster.
  • Duration: 5 seconds.
  • Reduces incoming damage by 30%.
  • Does not deal damage.
  • Cooldown: 20 seconds.

---

  1. Wind Core — Common

Ability 1: Wind Slash

  • Crouch + Left Click.
  • Fires a compressed wind slash toward the target.
  • Range: 15 blocks.
  • Damage: 4 HP (2 hearts).
  • Applies moderate knockback.
  • Wind particles appear.
  • Cooldown: 5 seconds.

Ability 2: Wind Push

  • Crouch + Right Click.
  • Pushes the targeted enemy backward.
  • Range: 12 blocks.
  • Damage: 3 HP (1.5 hearts).
  • Strong knockback.
  • Cooldown: 20 seconds.

---

UNCOMMON CORES

  1. Frost Core — Uncommon

Ability 1: Ice Bolt

  • Crouch + Left Click.
  • Fires an ice projectile at the targeted entity.
  • Range: 18 blocks.
  • Damage: 5 HP (2.5 hearts).
  • Slows the target for 4 seconds.
  • Ice particles appear on impact.
  • Cooldown: 5 seconds.

Ability 2: Frozen Prison

  • Crouch + Right Click.
  • Freezes the targeted enemy for 3 seconds.
  • Range: 12 blocks.
  • Damage: 7 HP (3.5 hearts).
  • Creates ice particles around the target.
  • Cooldown: 21 seconds.

---

  1. Thunder Core — Uncommon

Ability 1: Thunder Bolt

  • Crouch + Left Click.
  • Calls a lightning strike on the targeted entity.
  • Range: 18 blocks.
  • Damage: 6 HP (3 hearts).
  • Lightning visual effect.
  • Cooldown: 5 seconds.

Ability 2: Chain Lightning

  • Crouch + Right Click.
  • Lightning strikes the targeted enemy and can jump to up to 2 additional nearby enemies.
  • First target damage: 8 HP (4 hearts).
  • Additional targets: 4 HP (2 hearts) each.
  • Maximum range between chained targets: 5 blocks.
  • Cooldown: 21 seconds.

---

  1. Nature Core — Uncommon

Ability 1: Thorn Shot

  • Crouch + Left Click.
  • Fires magical thorns at the targeted entity.
  • Range: 15 blocks.
  • Damage: 5 HP (2.5 hearts).
  • Applies Slowness for 3 seconds.
  • Green leaf/thorn particles.
  • Cooldown: 5 seconds.

Ability 2: Nature Heal

  • Crouch + Right Click.
  • Heals the caster for 6 HP (3 hearts).
  • Creates green regeneration particles.
  • Does not damage enemies.
  • Cooldown: 21 seconds.

---

RARE CORES

  1. Shadow Core — Rare

Ability 1: Shadow Strike

  • Crouch + Left Click.
  • Launches a dark projectile at the target.
  • Range: 20 blocks.
  • Damage: 8 HP (4 hearts).
  • Applies Darkness for 2 seconds.
  • Cooldown: 5 seconds.

Ability 2: Shadow Teleport

  • Crouch + Right Click.
  • Teleports the caster to a position near the targeted entity.
  • Maximum range: 15 blocks.
  • Deals 6 HP (3 hearts) damage to the targeted enemy after teleporting.
  • Creates dark particles.
  • Cooldown: 22 seconds.

---

  1. Aqua Core — Rare

Ability 1: Water Spear

  • Crouch + Left Click.
  • Fires a high-speed water projectile.
  • Range: 20 blocks.
  • Damage: 8 HP (4 hearts).
  • Stronger knockback if the target is near water.
  • Cooldown: 5 seconds.

Ability 2: Tidal Wave

  • Crouch + Right Click.
  • Creates a water shockwave toward the target.
  • Range: 15 blocks.
  • AoE radius: 4 blocks.
  • Damage: 10 HP (5 hearts).
  • Strong knockback.
  • Cooldown: 22 seconds.

---

  1. Venom Core — Rare

Ability 1: Poison Fang

  • Crouch + Left Click.
  • Fires a poisonous projectile.
  • Range: 18 blocks.
  • Instant damage: 5 HP (2.5 hearts).
  • Poison for 5 seconds.
  • Cooldown: 5 seconds.

Ability 2: Venom Explosion

  • Crouch + Right Click.
  • Creates a poisonous AoE around the targeted location.
  • Radius: 4 blocks.
  • Initial damage: 8 HP (4 hearts).
  • Poison for 6 seconds.
  • Cooldown: 22 seconds.

---

EPIC CORES

  1. Phoenix Core — Epic

Ability 1: Phoenix Fireball

  • Crouch + Left Click.
  • Fires a powerful phoenix fireball.
  • Range: 20 blocks.
  • Damage: 10 HP (5 hearts).
  • Burns target for 5 seconds.
  • Large flame particle effect.
  • Cooldown: 5 seconds.

Ability 2: Phoenix Rebirth

  • Crouch + Right Click.
  • Gives the caster a temporary resurrection effect.
  • Duration: 8 seconds.
  • If the player would die during this period, they survive with 8 HP (4 hearts).
  • Creates a large phoenix particle effect.
  • Cooldown: 23 seconds.

---

  1. Void Core — Epic

Ability 1: Void Beam

  • Crouch + Left Click.
  • Fires a dark beam directly at the targeted entity.
  • Range: 20 blocks.
  • Damage: 11 HP (5.5 hearts).
  • Ignores normal knockback resistance.
  • Cooldown: 5 seconds.

Ability 2: Void Pull

  • Crouch + Right Click.
  • Pulls the targeted enemy toward the caster.
  • Range: 18 blocks.
  • Damage: 8 HP (4 hearts).
  • Strong pulling effect.
  • Cooldown: 23 seconds.

---

  1. Gravity Core — Epic

Ability 1: Gravity Crush

  • Crouch + Left Click.
  • Creates a gravity effect on the targeted entity.
  • Range: 16 blocks.
  • Damage: 10 HP (5 hearts).
  • Slows the target heavily for 3 seconds.
  • Cooldown: 5 seconds.

Ability 2: Gravity Bomb

  • Crouch + Right Click.
  • Creates a gravity explosion at the targeted location.
  • Radius: 5 blocks.
  • Damage: 12 HP (6 hearts).
  • Pulls enemies toward the center before dealing damage.
  • Cooldown: 23 seconds.

---

LEGENDARY CORES

  1. Dragon Core — Legendary

Ability 1: Dragon Breath

  • Crouch + Left Click.
  • Fires a dragon-breath attack toward the targeted entity.
  • Range: 18 blocks.
  • Damage: 12 HP (6 hearts).
  • Burns target for 5 seconds.
  • Creates dragon-breath particles.
  • Cooldown: 5 seconds.

Ability 2: Dragon Roar

  • Crouch + Right Click.
  • Releases a powerful roar around the caster.
  • Radius: 7 blocks.
  • Damage: 14 HP (7 hearts).
  • Strong knockback.
  • Cooldown: 24 seconds.

---

  1. Storm Core — Legendary

Ability 1: Storm Strike

  • Crouch + Left Click.
  • Calls multiple lightning strikes on the targeted enemy.
  • Range: 20 blocks.
  • Damage: 13 HP (6.5 hearts).
  • Lightning and electric particles.
  • Cooldown: 5 seconds.

Ability 2: Storm Zone

  • Crouch + Right Click.
  • Creates a storm zone at the targeted location.
  • Radius: 6 blocks.
  • Duration: 5 seconds.
  • Lightning periodically strikes enemies inside.
  • Total maximum damage: 18 HP (9 hearts).
  • Cooldown: 24 seconds.

---

  1. Inferno Core — Legendary

Ability 1: Inferno Blast

  • Crouch + Left Click.
  • Fires an explosive flame attack.
  • Range: 18 blocks.
  • Damage: 14 HP (7 hearts).
  • Small AoE radius: 3 blocks.
  • Cooldown: 5 seconds.

Ability 2: Inferno Ground

  • Crouch + Right Click.
  • Creates a burning area at the target location.
  • Radius: 6 blocks.
  • Duration: 6 seconds.
  • Enemies inside take 3 HP (1.5 hearts) per second.
  • Cooldown: 24 seconds.

---

MYTHIC CORES

  1. Celestial Core — Mythic

Ability 1: Celestial Ray

  • Crouch + Left Click.
  • Fires a powerful holy beam at the target.
  • Range: 25 blocks.
  • Damage: 16 HP (8 hearts).
  • Creates bright celestial particles.
  • Cooldown: 5 seconds.

Ability 2: Celestial Nova

  • Crouch + Right Click.
  • Creates a massive energy explosion around the targeted location.
  • Radius: 7 blocks.
  • Damage: 18 HP (9 hearts).
  • Strong knockback.
  • Cooldown: 25 seconds.

---

  1. Soul Core — Mythic

Ability 1: Soul Drain

  • Crouch + Left Click.
  • Drains life from the targeted enemy.
  • Range: 18 blocks.
  • Damage: 12 HP (6 hearts).
  • Heals the caster for 6 HP (3 hearts).
  • Soul particles connect the caster and target.
  • Cooldown: 5 seconds.

Ability 2: Soul Prison

  • Crouch + Right Click.
  • Traps the targeted enemy in a soul prison.
  • Range: 15 blocks.
  • Damage: 15 HP (7.5 hearts).
  • Strong Slowness for 4 seconds.
  • Soul particles surround the target.
  • Cooldown: 25 seconds.

---

  1. Time Core — Mythic

Ability 1: Time Strike

  • Crouch + Left Click.
  • Hits the targeted enemy with a temporal attack.
  • Range: 20 blocks.
  • Damage: 14 HP (7 hearts).
  • Applies extreme Slowness for 3 seconds.
  • Cooldown: 5 seconds.

Ability 2: Time Freeze

  • Crouch + Right Click.
  • Freezes the targeted entity.
  • Range: 15 blocks.
  • Duration: 4 seconds.
  • Initial damage: 10 HP (5 hearts).
  • Target cannot move during the freeze.
  • Cooldown: 25 seconds.

---

DIVINE CORES

  1. Divine Light Core — Divine

Ability 1: Divine Judgment

  • Crouch + Left Click.
  • Calls a massive divine beam onto the targeted entity.
  • Range: 25 blocks.
  • Damage: 20 HP (10 hearts).
  • Creates bright holy particles and a powerful sound.
  • Cooldown: 5 seconds.

Ability 2: Divine Salvation

  • Crouch + Right Click.
  • Heals the caster for 12 HP (6 hearts).
  • Grants temporary Resistance for 5 seconds.
  • Creates a large divine light effect.
  • Cooldown: 30 seconds.

---

  1. Reality Core — Divine

Ability 1: Reality Break

  • Crouch + Left Click.
  • Fires a reality-breaking projectile at the targeted entity.
  • Range: 25 blocks.
  • Damage: 22 HP (11 hearts).
  • Applies strong knockback.
  • Creates portal/reality distortion particles.
  • Cooldown: 5 seconds.

Ability 2: Reality Collapse

  • Crouch + Right Click.
  • Creates a huge reality-collapse AoE at the targeted location.
  • Radius: 8 blocks.
  • Damage: 24 HP (12 hearts).
  • Pulls enemies toward the center and then launches them outward.
  • Creates a large visual particle effect.
  • Cooldown: 30 seconds.

---

IMPORTANT ABILITY IMPLEMENTATION RULE

Every ability must follow this exact sequence:

  1. Player must be crouching.
  2. Player presses the correct mouse button.
  3. Plugin checks whether Ability 1 or Ability 2 is being used.
  4. Plugin checks that ability's cooldown.
  5. Plugin performs a raycast from the player's eyes.
  6. The raycast identifies the exact player/mob being aimed at.
  7. The ability affects that exact target.
  8. Damage/effects are applied.
  9. Appropriate particles and sounds are spawned at the correct location.
  10. The ability cooldown starts.
  11. If there is no valid target, the ability should either fail safely or use its designed ground/location targeting mechanic.

Never randomly select a nearby entity.

For direct-target abilities, the entity hit by the player's crosshair/raycast must be the entity receiving the damage.

All damage must be applied using Minecraft's proper damage system so armor, protection, resistance, and other relevant mechanics work correctly unless an ability explicitly specifies otherwise.

Do not allow abilities to bypass the targeting system accidentally.

All 40 abilities must be fully implemented and functional, not placeholders.

---

Core Types, Abilities, Damage & Exact Mechanics

Implement exactly 20 Cores. Every Core has exactly 2 abilities.

Ability 1: Crouch + Left Click Ability 2: Crouch + Right Click

Damage values below are in Minecraft health points.

For reference, 2 damage = 1 Minecraft heart.

All offensive abilities must use proper raycast/target detection so the damage is applied to the exact player or mob being aimed at.

---

COMMON CORES

  1. Flame Core — Common

Ability 1: Flame Shot

  • Crouch + Left Click.
  • Shoot a small fire projectile toward the entity the player is aiming at.
  • Range: 15 blocks.
  • Damage: 4 HP (2 hearts).
  • Sets the target on fire for 3 seconds.
  • Impact creates small flame particles.
  • Cooldown: 5 seconds.

Ability 2: Flame Burst

  • Crouch + Right Click.
  • Creates a small explosion of fire around the targeted location.
  • Range: 12 blocks.
  • AoE radius: 3 blocks.
  • Damage: 6 HP (3 hearts) to enemies inside the AoE.
  • Applies fire for 3 seconds.
  • Cooldown: 20 seconds.

---

  1. Stone Core — Common

Ability 1: Stone Strike

  • Crouch + Left Click.
  • Sends a stone shockwave toward the targeted entity.
  • Range: 12 blocks.
  • Damage: 4 HP (2 hearts).
  • Knockback: small.
  • Stone/block particles appear on impact.
  • Cooldown: 5 seconds.

Ability 2: Stone Wall

  • Crouch + Right Click.
  • Creates a temporary protective stone shield around the caster.
  • Duration: 5 seconds.
  • Reduces incoming damage by 30%.
  • Does not deal damage.
  • Cooldown: 20 seconds.

---

  1. Wind Core — Common

Ability 1: Wind Slash

  • Crouch + Left Click.
  • Fires a compressed wind slash toward the target.
  • Range: 15 blocks.
  • Damage: 4 HP (2 hearts).
  • Applies moderate knockback.
  • Wind particles appear.
  • Cooldown: 5 seconds.

Ability 2: Wind Push

  • Crouch + Right Click.
  • Pushes the targeted enemy backward.
  • Range: 12 blocks.
  • Damage: 3 HP (1.5 hearts).
  • Strong knockback.
  • Cooldown: 20 seconds.

---

UNCOMMON CORES

  1. Frost Core — Uncommon

Ability 1: Ice Bolt

  • Crouch + Left Click.
  • Fires an ice projectile at the targeted entity.
  • Range: 18 blocks.
  • Damage: 5 HP (2.5 hearts).
  • Slows the target for 4 seconds.
  • Ice particles appear on impact.
  • Cooldown: 5 seconds.

Ability 2: Frozen Prison

  • Crouch + Right Click.
  • Freezes the targeted enemy for 3 seconds.
  • Range: 12 blocks.
  • Damage: 7 HP (3.5 hearts).
  • Creates ice particles around the target.
  • Cooldown: 21 seconds.

---

  1. Thunder Core — Uncommon

Ability 1: Thunder Bolt

  • Crouch + Left Click.
  • Calls a lightning strike on the targeted entity.
  • Range: 18 blocks.
  • Damage: 6 HP (3 hearts).
  • Lightning visual effect.
  • Cooldown: 5 seconds.

Ability 2: Chain Lightning

  • Crouch + Right Click.
  • Lightning strikes the targeted enemy and can jump to up to 2 additional nearby enemies.
  • First target damage: 8 HP (4 hearts).
  • Additional targets: 4 HP (2 hearts) each.
  • Maximum range between chained targets: 5 blocks.
  • Cooldown: 21 seconds.

---

  1. Nature Core — Uncommon

Ability 1: Thorn Shot

  • Crouch + Left Click.
  • Fires magical thorns at the targeted entity.
  • Range: 15 blocks.
  • Damage: 5 HP (2.5 hearts).
  • Applies Slowness for 3 seconds.
  • Green leaf/thorn particles.
  • Cooldown: 5 seconds.

Ability 2: Nature Heal

  • Crouch + Right Click.
  • Heals the caster for 6 HP (3 hearts).
  • Creates green regeneration particles.
  • Does not damage enemies.
  • Cooldown: 21 seconds.

---

RARE CORES

  1. Shadow Core — Rare

Ability 1: Shadow Strike

  • Crouch + Left Click.
  • Launches a dark projectile at the target.
  • Range: 20 blocks.
  • Damage: 8 HP (4 hearts).
  • Applies Darkness for 2 seconds.
  • Cooldown: 5 seconds.

Ability 2: Shadow Teleport

  • Crouch + Right Click.
  • Teleports the caster to a position near the targeted entity.
  • Maximum range: 15 blocks.
  • Deals 6 HP (3 hearts) damage to the targeted enemy after teleporting.
  • Creates dark particles.
  • Cooldown: 22 seconds.

---

  1. Aqua Core — Rare

Ability 1: Water Spear

  • Crouch + Left Click.
  • Fires a high-speed water projectile.
  • Range: 20 blocks.
  • Damage: 8 HP (4 hearts).
  • Stronger knockback if the target is near water.
  • Cooldown: 5 seconds.

Ability 2: Tidal Wave

  • Crouch + Right Click.
  • Creates a water shockwave toward the target.
  • Range: 15 blocks.
  • AoE radius: 4 blocks.
  • Damage: 10 HP (5 hearts).
  • Strong knockback.
  • Cooldown: 22 seconds.

---

  1. Venom Core — Rare

Ability 1: Poison Fang

  • Crouch + Left Click.
  • Fires a poisonous projectile.
  • Range: 18 blocks.
  • Instant damage: 5 HP (2.5 hearts).
  • Poison for 5 seconds.
  • Cooldown: 5 seconds.

Ability 2: Venom Explosion

  • Crouch + Right Click.
  • Creates a poisonous AoE around the targeted location.
  • Radius: 4 blocks.
  • Initial damage: 8 HP (4 hearts).
  • Poison for 6 seconds.
  • Cooldown: 22 seconds.

---

EPIC CORES

  1. Phoenix Core — Epic

Ability 1: Phoenix Fireball

  • Crouch + Left Click.
  • Fires a powerful phoenix fireball.
  • Range: 20 blocks.
  • Damage: 10 HP (5 hearts).
  • Burns target for 5 seconds.
  • Large flame particle effect.
  • Cooldown: 5 seconds.

Ability 2: Phoenix Rebirth

  • Crouch + Right Click.
  • Gives the caster a temporary resurrection effect.
  • Duration: 8 seconds.
  • If the player would die during this period, they survive with 8 HP (4 hearts).
  • Creates a large phoenix particle effect.
  • Cooldown: 23 seconds.

---

  1. Void Core — Epic

Ability 1: Void Beam

  • Crouch + Left Click.
  • Fires a dark beam directly at the targeted entity.
  • Range: 20 blocks.
  • Damage: 11 HP (5.5 hearts).
  • Ignores normal knockback resistance.
  • Cooldown: 5 seconds.

Ability 2: Void Pull

  • Crouch + Right Click.
  • Pulls the targeted enemy toward the caster.
  • Range: 18 blocks.
  • Damage: 8 HP (4 hearts).
  • Strong pulling effect.
  • Cooldown: 23 seconds.

---

  1. Gravity Core — Epic

Ability 1: Gravity Crush

  • Crouch + Left Click.
  • Creates a gravity effect on the targeted entity.
  • Range: 16 blocks.
  • Damage: 10 HP (5 hearts).
  • Slows the target heavily for 3 seconds.
  • Cooldown: 5 seconds.

Ability 2: Gravity Bomb

  • Crouch + Right Click.
  • Creates a gravity explosion at the targeted location.
  • Radius: 5 blocks.
  • Damage: 12 HP (6 hearts).
  • Pulls enemies toward the center before dealing damage.
  • Cooldown: 23 seconds.

---

LEGENDARY CORES

  1. Dragon Core — Legendary

Ability 1: Dragon Breath

  • Crouch + Left Click.
  • Fires a dragon-breath attack toward the targeted entity.
  • Range: 18 blocks.
  • Damage: 12 HP (6 hearts).
  • Burns target for 5 seconds.
  • Creates dragon-breath particles.
  • Cooldown: 5 seconds.

Ability 2: Dragon Roar

  • Crouch + Right Click.
  • Releases a powerful roar around the caster.
  • Radius: 7 blocks.
  • Damage: 14 HP (7 hearts).
  • Strong knockback.
  • Cooldown: 24 seconds.

---

  1. Storm Core — Legendary

Ability 1: Storm Strike

  • Crouch + Left Click.
  • Calls multiple lightning strikes on the targeted enemy.
  • Range: 20 blocks.
  • Damage: 13 HP (6.5 hearts).
  • Lightning and electric particles.
  • Cooldown: 5 seconds.

Ability 2: Storm Zone

  • Crouch + Right Click.
  • Creates a storm zone at the targeted location.
  • Radius: 6 blocks.
  • Duration: 5 seconds.
  • Lightning periodically strikes enemies inside.
  • Total maximum damage: 18 HP (9 hearts).
  • Cooldown: 24 seconds.

---

  1. Inferno Core — Legendary

Ability 1: Inferno Blast

  • Crouch + Left Click.
  • Fires an explosive flame attack.
  • Range: 18 blocks.
  • Damage: 14 HP (7 hearts).
  • Small AoE radius: 3 blocks.
  • Cooldown: 5 seconds.

Ability 2: Inferno Ground

  • Crouch + Right Click.
  • Creates a burning area at the target location.
  • Radius: 6 blocks.
  • Duration: 6 seconds.
  • Enemies inside take 3 HP (1.5 hearts) per second.
  • Cooldown: 24 seconds.

---

MYTHIC CORES

  1. Celestial Core — Mythic

Ability 1: Celestial Ray

  • Crouch + Left Click.
  • Fires a powerful holy beam at the target.
  • Range: 25 blocks.
  • Damage: 16 HP (8 hearts).
  • Creates bright celestial particles.
  • Cooldown: 5 seconds.

Ability 2: Celestial Nova

  • Crouch + Right Click.
  • Creates a massive energy explosion around the targeted location.
  • Radius: 7 blocks.
  • Damage: 18 HP (9 hearts).
  • Strong knockback.
  • Cooldown: 25 seconds.

---

  1. Soul Core — Mythic

Ability 1: Soul Drain

  • Crouch + Left Click.
  • Drains life from the targeted enemy.
  • Range: 18 blocks.
  • Damage: 12 HP (6 hearts).
  • Heals the caster for 6 HP (3 hearts).
  • Soul particles connect the caster and target.
  • Cooldown: 5 seconds.

Ability 2: Soul Prison

  • Crouch + Right Click.
  • Traps the targeted enemy in a soul prison.
  • Range: 15 blocks.
  • Damage: 15 HP (7.5 hearts).
  • Strong Slowness for 4 seconds.
  • Soul particles surround the target.
  • Cooldown: 25 seconds.

---

  1. Time Core — Mythic

Ability 1: Time Strike

  • Crouch + Left Click.
  • Hits the targeted enemy with a temporal attack.
  • Range: 20 blocks.
  • Damage: 14 HP (7 hearts).
  • Applies extreme Slowness for 3 seconds.
  • Cooldown: 5 seconds.

Ability 2: Time Freeze

  • Crouch + Right Click.
  • Freezes the targeted entity.
  • Range: 15 blocks.
  • Duration: 4 seconds.
  • Initial damage: 10 HP (5 hearts).
  • Target cannot move during the freeze.
  • Cooldown: 25 seconds.

---

DIVINE CORES

  1. Divine Light Core — Divine

Ability 1: Divine Judgment

  • Crouch + Left Click.
  • Calls a massive divine beam onto the targeted entity.
  • Range: 25 blocks.
  • Damage: 20 HP (10 hearts).
  • Creates bright holy particles and a powerful sound.
  • Cooldown: 5 seconds.

Ability 2: Divine Salvation

  • Crouch + Right Click.
  • Heals the caster for 12 HP (6 hearts).
  • Grants temporary Resistance for 5 seconds.
  • Creates a large divine light effect.
  • Cooldown: 30 seconds.

---

  1. Reality Core — Divine

Ability 1: Reality Break

  • Crouch + Left Click.
  • Fires a reality-breaking projectile at the targeted entity.
  • Range: 25 blocks.
  • Damage: 22 HP (11 hearts).
  • Applies strong knockback.
  • Creates portal/reality distortion particles.
  • Cooldown: 5 seconds.

Ability 2: Reality Collapse

  • Crouch + Right Click.
  • Creates a huge reality-collapse AoE at the targeted location.
  • Radius: 8 blocks.
  • Damage: 24 HP (12 hearts).
  • Pulls enemies toward the center and then launches them outward.
  • Creates a large visual particle effect.
  • Cooldown: 30 seconds.

---

IMPORTANT ABILITY IMPLEMENTATION RULE

Every ability must follow this exact sequence:

  1. Player must be crouching.
  2. Player presses the correct mouse button.
  3. Plugin checks whether Ability 1 or Ability 2 is being used.
  4. Plugin checks that ability's cooldown.
  5. Plugin performs a raycast from the player's eyes.
  6. The raycast identifies the exact player/mob being aimed at.
  7. The ability affects that exact target.
  8. Damage/effects are applied.
  9. Appropriate particles and sounds are spawned at the correct location.
  10. The ability cooldown starts.
  11. If there is no valid target, the ability should either fail safely or use its designed ground/location targeting mechanic.

Never randomly select a nearby entity.

For direct-target abilities, the entity hit by the player's crosshair/raycast must be the entity receiving the damage.

All damage must be applied using Minecraft's proper damage system so armor, protection, resistance, and other relevant mechanics work correctly unless an ability explicitly specifies otherwise.

Do not allow abilities to bypass the targeting system accidentally.

All 40 abilities must be fully implemented and functional, not placeholders.

Kodari AI
KodariSep 3 at 5:26 pm 2
CoreCombat
CoreCombat is a Minecraft plugin introducing 20 elemental cores, each with two unique abilities triggered by crouch plus left or right click. Cores range from Common to Divine rarity, offering offensive projectiles, AoE attacks, healing, teleportation, and crowd control. The plugin features precise raycast targeting, cooldown management, particle effects, and proper damage application. Players equip cores to unleash abilities like Flame Shot, Chain Lightning, Phoenix Rebirth, and Reality Collapse. A GUI system allows core selection and management, while a comprehensive ability framework ensures all 40 abilities function with exact damage values, ranges, and effects as specified.
  1. Create the Gradle/plugin metadata for a Paper plugin.

  2. Create the core and ability model with exactly 20 cores and 40 abilities.

  3. Create core-item, cooldown, targeting, combat, particle, and temporary-effect systems.

  4. Create interaction/damage listeners and /cores commands for obtaining cores.

Created the complete Paper plugin with:

  • Exactly 20 cores and 40 implemented abilities.

  • Crouch + left/right click activation.

  • Raycast-based direct targeting with wall obstruction checks.

  • Proper Bukkit damage handling for armor, resistance, and protection.

  • Ability-specific cooldowns.

  • AoE damage, knockback, pulls, freezes, healing, fire, poison, lightning, teleportation, resurrection, and temporary defenses.

  • Particle and sound effects using XSeries.

  • /cores list

  • /cores give <core> [player]

  • Custom core items stored with persistent metadata.

  • Stone Wall damage reduction and Phoenix Rebirth lethal-damage protection.

Lion Playz

CoreSMP — FIX EXISTING PLUGIN BUGS

I already have the CoreSMP plugin implemented. Do NOT rebuild the plugin from scratch. Inspect the existing code and fix the following issues while keeping all existing features, commands, GUI, cores, abilities, cooldowns, and configurations intact.

Minecraft Version: 1.21.11

---

  1. FIX RANDOM CORE ASSIGNMENT ON SERVER JOIN — CRITICAL

Currently, when a player joins the server, they are not receiving a Core.

Fix the Core assignment system.

Required behavior:

When a player joins the server for the first time:

  1. Start the Core rolling animation.
  2. Show Core names rapidly changing/rolling on the player's screen.
  3. After the animation finishes, randomly select one available Core.
  4. Assign that Core permanently to the player.
  5. Display the selected Core name to the player.
  6. Play an appropriate selection sound.
  7. Spawn particles/firework-style effects around the player.
  8. Save the player's Core permanently.

IMPORTANT:

The random system must only select a Core that is currently unassigned.

Example:

  • Player A receives Dragon Core.
  • Dragon Core is now locked to Player A.
  • Player B must NOT receive Dragon Core.
  • Player C must NOT receive Dragon Core.

The Core assignment must be saved using the player's UUID.

The Core must remain assigned after:

  • Death
  • Respawn
  • Logout
  • Reconnect
  • Server restart
  • "/core reload"

DO NOT REROLL:

If a player already has a Core, joining the server must NOT start another roll.

Check the saved Core before starting the rolling animation.

Only players who do not already have a Core should receive the rolling animation.

---

  1. FIX DRAGON CORE — ABILITIES MUST ACTUALLY WORK

The Dragon Core currently does not work correctly.

Make sure both Dragon Core abilities are fully implemented and functional.

Dragon Core — Legendary

Ability 1: Dragon Breath

Activation:

Crouch + Left Click

Mechanics:

  • Player must be crouching.
  • Detect the exact entity the player is aiming at using a raycast.
  • Maximum range: 18 blocks.
  • The targeted player or mob receives exactly 12 HP (6 hearts) damage.
  • Target is set on fire for 5 seconds.
  • Spawn dragon-breath particles between the player and target.
  • Create an impact effect at the target.
  • Play an appropriate dragon/fire sound.
  • Cooldown: 5 seconds.

CRITICAL TARGETING RULE

If the player aims at a specific mob/player, only that intended target must receive the direct damage.

Do not randomly damage another nearby entity.

---

Ability 2: Dragon Roar

Activation:

Crouch + Right Click

Mechanics:

  • Player must be crouching.
  • Create a powerful roar around the caster.
  • Radius: 7 blocks.
  • Damage: 14 HP (7 hearts).
  • Apply strong knockback to enemies.
  • Spawn dragon roar particles.
  • Play a dragon roar sound.
  • Cooldown: 24 seconds.

The caster must not damage themselves.

---

  1. FIX THUNDER CORE — ABILITY 2

Thunder Core Ability 2 is currently incorrect.

Replace/fix it so it works exactly like this:

Thunder Core — Ability 2: Thunder Rain

Activation:

Crouch + Right Click

Required behavior:

When the player crouches and right-clicks while looking at a player or mob:

  1. Perform a raycast from the player's eyes.
  2. Detect the exact player/mob being aimed at.
  3. That entity becomes the primary target.
  4. Call 10 thunder/lightning strikes on the targeted player or mob.
  5. All 10 lightning strikes must be centered around the SAME target.
  6. The lightning strikes should happen with a very short delay between them to create a thunder-rain effect.
  7. The primary target must receive the intended damage from the lightning strikes.
  8. Do not randomly select other entities as the primary target.
  9. Spawn electric/lightning particles.
  10. Play thunder/lightning sounds.
  11. Cooldown: 21 seconds.

IMPORTANT:

The ability must visually look like:

10 thunder/lightning strikes falling onto the targeted player or mob.

Do NOT simply create 10 random lightning strikes around the world.

The strikes must follow the target.

If the target moves slightly during the ability, the lightning effect should continue tracking the same target.

Do not target the caster unless the caster is intentionally selected by the ability's rules.

---

  1. FIX TIME CORE — ABILITY 2 DAMAGE

Time Core Ability 2 currently does not deal the correct damage.

Time Core — Ability 2: Time Freeze

Activation:

Crouch + Right Click

Required mechanics:

  • Player must be crouching.
  • Raycast toward the player's crosshair.
  • Detect the exact player or mob being aimed at.
  • Maximum range: 15 blocks.
  • Freeze the targeted entity for 4 seconds.
  • The targeted player/mob must receive exactly 8 HP (4 hearts) initial damage.
  • Apply the freeze/immobilization effect for 4 seconds.
  • Prevent the target from moving during the freeze.
  • Spawn time/clock/temporal particles around the target.
  • Play an appropriate time/freeze sound.
  • Cooldown: 25 seconds.

VERY IMPORTANT:

The damage must be:

8 HP = exactly 4 Minecraft hearts

Do NOT use 10 HP.

Do NOT use 5 hearts.

Do NOT accidentally deal the damage multiple times.

The target should receive the 8 HP initial damage exactly once when Time Freeze activates.

---

  1. GENERAL ABILITY SYSTEM CHECK

While fixing the above bugs, inspect the entire ability system for the same type of problems.

Every ability must follow:

Ability 1 → Crouch + Left Click

Ability 2 → Crouch + Right Click

Abilities must NOT activate without crouching.

---

  1. TARGET DETECTION FIX

Use a proper eye-level raycast/line-of-sight system.

For direct-target abilities:

  • Detect the entity directly under the player's crosshair.
  • Respect the ability's maximum range.
  • Target the first valid player/mob hit by the ray.
  • Apply damage/effects to that exact entity.
  • Never randomly select a nearby entity.
  • Never hit an entity behind the intended target.
  • Do not accidentally hit the caster.

For AoE abilities, only entities inside the specified AoE radius should be affected.

---

  1. DAMAGE VALIDATION

Verify the actual damage values in the implementation.

Important values:

Dragon Breath

12 HP = 6 hearts

Dragon Roar

14 HP = 7 hearts

Thunder Rain

10 lightning strikes on the selected target

Time Freeze

8 HP = 4 hearts, exactly once

Make sure the code does not accidentally multiply these values because of Minecraft's damage system or repeated scheduled tasks.

---

  1. COOLDOWN VALIDATION

Verify these cooldowns:

Dragon Core

  • Ability 1: 5 seconds
  • Ability 2: 24 seconds

Thunder Core

  • Ability 1: 5 seconds
  • Ability 2: 21 seconds

Time Core

  • Ability 1: 5 seconds
  • Ability 2: 25 seconds

Cooldowns must be independent for Ability 1 and Ability 2.

---

  1. DO NOT BREAK EXISTING FEATURES

While fixing these bugs, DO NOT remove or break:

  • "/cores"
  • "/core give"
  • "/core reload"
  • "/core check"
  • Core GUI
  • Core ownership
  • Core rarity system
  • Core rolling animation
  • Core persistence
  • Death persistence
  • Particle effects
  • Sounds
  • Existing abilities
  • Existing cooldowns
  • Permissions
  • Configuration

Do not rename existing commands unless absolutely necessary.

---

  1. FINAL TESTING REQUIREMENT

After making the fixes, test the plugin logically and verify:

Join Test

  • New player joins.
  • Core rolling animation starts.
  • A random unassigned Core is selected.
  • Core is saved.
  • Player reconnects.
  • Same Core remains.
  • Player dies.
  • Same Core remains after respawn.

Dragon Test

  • Equip Dragon Core.
  • Crouch + Left Click at a mob/player.
  • Dragon Breath deals 12 HP.
  • Crouch + Right Click.
  • Dragon Roar deals 14 HP to enemies within 7 blocks.

Thunder Test

  • Equip Thunder Core.
  • Aim at a player/mob.
  • Crouch + Right Click.
  • Exactly 10 lightning strikes fall onto that target.
  • The ability follows the selected target.
  • Cooldown is 21 seconds.

Time Test

  • Equip Time Core.
  • Aim at a player/mob.
  • Crouch + Right Click.
  • Target receives exactly 8 HP (4 hearts) damage once.
  • Target is frozen for 4 seconds.
  • Cooldown is 25 seconds.

Fix any compile errors, runtime errors, event-handling issues, targeting bugs, cooldown bugs, or persistence bugs discovered during testing.

The goal is to FIX the existing CoreSMP plugin, not create a simplified replacement.

Kodari AI
KodariSep 3 at 6:30 pm 5
  1. Core assignment: trace join handling, ownership storage, rolling animation, and reload persistence; fix first-time assignment without rerolls.

  2. Dragon abilities: repair exact raycast targeting, damage, effects, crouch triggers, and independent cooldowns.

  3. Thunder Rain: bind the selected raycast target to all 10 tracked strikes and preserve the cooldown.

  4. Time Freeze: correct one-time 8 HP damage, immobilization, targeting, and cooldown.

  5. System validation: audit shared ability event handling, cooldowns, persistence, and compile/runtime consistency.

  1. Core assignment: the current plugin has no join listener, ownership store, available-core selector, or reload branch. I’m adding those around the existing CoreManager/CoreCommand APIs, reusing CoreItem for the awarded item and leaving manual /cores give behavior unchanged.

  1. Core assignment fixed: first joins now roll only unassigned cores, persist UUID ownership in core-ownership.yml, award the existing core item, show actionbar previews, and finish with sound/particle effects. Existing assignments skip rolling, and /core reload is supported as an alias of /cores reload.

  1. Dragon abilities: the shared engine already has separate Dragon ability enums and cooldowns, but Dragon Breath lacks a dragon attack sound and the shared block-vs-entity raycast compares against the target’s feet rather than the ray hit point. I’m tightening that exact-hit check and making the Dragon Breath/roar execution explicit without changing other abilities’ damage.

  1. Thunder Rain: the current Thunder ability 2 is a three-target chain that intentionally searches nearby entities, so it violates the requested single-target behavior. I’m replacing only that branch with a 10-pulse scheduled effect that retains the original LivingEntity reference, tracks its current location, applies one controlled damage hit per pulse, and never retargets.4. Time Freeze: its existing freeze task already anchors the target for 80 ticks and applies no repeated damage; the only damage defect was the 10 HP hit. That is now 8 HP exactly once, with temporal particles and a freeze sound. I’m making Dragon Breath’s fire duration exact as well, rather than preserving a longer pre-existing fire timer.5. General ability check: crouch gating is centralized in CoreListener, and CooldownManager keys cooldowns by CoreAbility, so left/right abilities are independent and the configured Dragon/Thunder/Time cooldowns already match 5/24, 5/21, and 5/25 seconds. I’m adding one persistence hardening step so ownership saving also works on a fresh plugin data directory.The repository did not actually contain a check branch, although the requested command compatibility includes /core check; I’m adding a non-destructive ownership lookup while preserving the existing command permission and list/give behavior.Implemented the CoreSMP fixes without rebuilding the plugin:

  • Core assignment

    • Added first-join detection.

    • Added rolling actionbar animation with changing Core names.

    • Selects only unassigned Cores.

    • Persists ownership by UUID in core-ownership.yml.

    • Prevents rerolls after reconnects, deaths, restarts, and /core reload.

    • Added selection sounds and particle effects.

    • Added /core alias, /core reload, and /core check.

  • Dragon Core

    • Dragon Breath now uses the exact raycast target.

    • Deals exactly 12 HP once.

    • Sets the target on fire for exactly 5 seconds.

    • Added dragon-breath particles, impact effects, and dragon attack sound.

    • Dragon Roar deals 14 HP within a 7-block radius, excludes the caster, and applies knockback.

  • Thunder Core

    • Replaced nearby-entity chain targeting with Thunder Rain.

    • Tracks the original raycast target for all 10 strikes.

    • Performs 10 lightning effects with short delays.

    • Applies controlled damage only to the selected target.

    • Added electric particles and thunder sounds.

  • Time Core

    • Time Freeze now deals exactly 8 HP once.

    • Keeps the target immobilized for 4 seconds.

    • Added temporal particles and freeze sound.

  • Ability validation

    • Crouch gating remains centralized for every ability.

    • Ability 1 and Ability 2 cooldowns remain independent.

    • Verified required cooldowns: Dragon 5/24s, Thunder 5/21s, Time 5/25s.

    • Improved block-versus-entity raycast comparison so entities behind blocks are not selected.

Lion Playz

I want you to modify my existing Minecraft Paper plugin called CoreAbilities.

IMPORTANT: Do not rewrite or remove the existing core system. Preserve all existing functionality, abilities, commands, events, PersistentDataContainer data, and compatibility unless a change is explicitly requested below.

Main Goal

Add automatic CustomModelData support to every Core item so that a Minecraft resource pack can display a unique custom texture/model for each Core.

The existing Core item identification system must continue to work exactly as it does now.

---

Core CustomModelData System

Every CoreType must receive a unique CustomModelData value.

Use the following mapping:

  • FLAME -> 1001
  • STONE -> 1002
  • WIND -> 1003
  • FROST -> 1004
  • THUNDER -> 1005
  • NATURE -> 1006
  • SHADOW -> 1007
  • AQUA -> 1008
  • VENOM -> 1009
  • PHOENIX -> 1010
  • VOID -> 1011
  • GRAVITY -> 1012
  • DRAGON -> 1013
  • STORM -> 1014
  • INFERNO -> 1015
  • CELESTIAL -> 1016
  • SOUL -> 1017
  • TIME -> 1018
  • DIVINE_LIGHT -> 1019
  • REALITY -> 1020

Do NOT rely blindly on ordinal() unless the enum order is guaranteed and documented. Prefer an explicit and maintainable mapping.

A recommended implementation is to add a CustomModelData field to CoreType, for example:

public enum CoreType { FLAME(..., 1001), STONE(..., 1002), WIND(..., 1003), FROST(..., 1004), THUNDER(..., 1005), NATURE(..., 1006), SHADOW(..., 1007), AQUA(..., 1008), VENOM(..., 1009), PHOENIX(..., 1010), VOID(..., 1011), GRAVITY(..., 1012), DRAGON(..., 1013), STORM(..., 1014), INFERNO(..., 1015), CELESTIAL(..., 1016), SOUL(..., 1017), TIME(..., 1018), DIVINE_LIGHT(..., 1019), REALITY(..., 1020); }

Add a getter:

public int getCustomModelData() { return customModelData; }

Adapt this example to the existing CoreType constructor and fields without breaking existing code.

---

Modify Core Item Creation

Find the existing class responsible for creating Core items:

com.kodari.cores.CoreItem

During Core item creation, keep all existing metadata logic intact:

  1. Create the existing base Minecraft item.
  2. Set the display name.
  3. Set the lore.
  4. Set the existing core_type PersistentDataContainer value.
  5. Set the CustomModelData.
  6. Apply the ItemMeta.
  7. Return the item.

Add:

meta.setCustomModelData(type.getCustomModelData());

The existing PersistentDataContainer identification must remain unchanged.

For example, the existing logic conceptually should become:

// Existing name and lore logic remains unchanged.

// Existing core_type PDC logic remains unchanged.

meta.setCustomModelData(type.getCustomModelData());

item.setItemMeta(meta); return item;

Do not replace the existing core_type system with CustomModelData.

The plugin must continue to identify cores using its existing PersistentDataContainer data.

---

Important Compatibility Requirements

Target:

  • Paper
  • Minecraft 1.21.11
  • Java version required by Paper 1.21.11

Use the current Paper API recommended for this version.

Avoid deprecated APIs where a modern Paper API alternative is required.

---

Resource Pack Compatibility

The plugin should only assign CustomModelData values.

Do NOT embed textures inside the plugin.

The resource pack will be created separately.

The goal is:

Normal vanilla base item:

  • No special Core data
  • Normal vanilla appearance

Core item created by this plugin:

  • Has existing core_type PersistentDataContainer data
  • Has the correct CustomModelData value
  • Displays the corresponding custom resource-pack texture when the resource pack is installed

---

Existing Items

Ensure that newly created Core items receive the correct CustomModelData automatically.

If the plugin has commands, recipes, loot systems, GUIs, crafting systems, rewards, or other systems that create Core items, make sure they all use the central CoreItem creation method.

Avoid duplicate Core item creation logic where possible.

---

Validation

After making the changes:

  1. Compile the plugin successfully.
  2. Fix all compilation errors.
  3. Verify that FLAME receives CustomModelData 1001.
  4. Verify that REALITY receives CustomModelData 1020.
  5. Verify that every CoreType has a unique CustomModelData value.
  6. Verify that the existing core_type PersistentDataContainer value is still present.
  7. Verify that normal vanilla items are unaffected.
  8. Do not change existing abilities or gameplay behavior.

---

Deliverables

Please provide:

  1. The complete modified source code for every changed file.
  2. A clear list of changed files.
  3. A short explanation of each change.
  4. The exact build command.
  5. The final compiled plugin JAR.
  6. Confirmation of the Java version used for compilation.
  7. Any Paper API or Minecraft 1.21.11 compatibility changes that were necessary.

IMPORTANT: First inspect the existing project structure and existing CoreType and CoreItem implementations before editing anything. Do not assume the constructors, fields, package structure, or enum order. Adapt the changes to the actual existing source code.

Kodari AI
KodariSep 4 at 4:51 am 1
  1. Inspect CoreType, CoreItem, all Core item creation call sites, and the build configuration.

  2. Add explicit model-data mappings and apply them without changing PDC identification.

  3. Verify every Core type is covered uniquely and check the project’s available Java/build setup.

The existing implementation is centralized exactly where expected: CoreType owns the enum metadata, and CoreItem.create(...) is the single Core-item factory. The existing core_type PDC path will remain untouched; I’m only adding the explicit mapping field and metadata assignment.

The patch is complete. The project has no Gradle wrapper and no Java runtime available in the execution environment, so I cannot honestly produce a compiled JAR here; I’m performing source-level mapping and factory/PDC validation instead.

Implemented the CustomModelData system without changing abilities, commands, PDC identification, or gameplay behavior.

Changed files

  • src/main/java/com/kodari/cores/CoreType.java

  • src/main/java/com/kodari/cores/CoreItem.java

CoreType.java

Java
package com.kodari.cores;

import java.util.Locale;

public enum CoreType {
    FLAME("Flame Core", "Common", "FLAME", "BLAZE_ROD", CoreAbility.FLAME_SHOT, CoreAbility.FLAME_BURST, 1001),
    STONE("Stone Core", "Common", "GRAY", "COBBLESTONE", CoreAbility.STONE_STRIKE, CoreAbility.STONE_WALL, 1002),
    WIND("Wind Core", "Common", "WHITE", "FEATHER", CoreAbility.WIND_SLASH, CoreAbility.WIND_PUSH, 1003),
    FROST("Frost Core", "Uncommon", "AQUA", "PACKED_ICE", CoreAbility.ICE_BOLT, CoreAbility.FROZEN_PRISON, 1004),
    THUNDER("Thunder Core", "Uncommon", "YELLOW", "GOLD_INGOT", CoreAbility.THUNDER_BOLT, CoreAbility.CHAIN_LIGHTNING, 1005),
    NATURE("Nature Core", "Uncommon", "GREEN", "OAK_LEAVES", CoreAbility.THORN_SHOT, CoreAbility.NATURE_HEAL, 1006),
    SHADOW("Shadow Core", "Rare", "DARK_PURPLE", "OBSIDIAN", CoreAbility.SHADOW_STRIKE, CoreAbility.SHADOW_TELEPORT, 1007),
    AQUA("Aqua Core", "Rare", "BLUE", "HEART_OF_THE_SEA", CoreAbility.WATER_SPEAR, CoreAbility.TIDAL_WAVE, 1008),
    VENOM("Venom Core", "Rare", "DARK_GREEN", "FERMENTED_SPIDER_EYE", CoreAbility.POISON_FANG, CoreAbility.VENOM_EXPLOSION, 1009),
    PHOENIX("Phoenix Core", "Epic", "RED", "FIRE_CHARGE", CoreAbility.PHOENIX_FIREBALL, CoreAbility.PHOENIX_REBIRTH, 1010),
    VOID("Void Core", "Epic", "DARK_PURPLE", "ENDER_PEARL", CoreAbility.VOID_BEAM, CoreAbility.VOID_PULL, 1011),
    GRAVITY("Gravity Core", "Epic", "DARK_GRAY", "ANVIL", CoreAbility.GRAVITY_CRUSH, CoreAbility.GRAVITY_BOMB, 1012),
    DRAGON("Dragon Core", "Legendary", "DARK_RED", "DRAGON_BREATH", CoreAbility.DRAGON_BREATH, CoreAbility.DRAGON_ROAR, 1013),
    STORM("Storm Core", "Legendary", "AQUA", "LIGHTNING_ROD", CoreAbility.STORM_STRIKE, CoreAbility.STORM_ZONE, 1014),
    INFERNO("Inferno Core", "Legendary", "GOLD", "MAGMA_CREAM", CoreAbility.INFERNO_BLAST, CoreAbility.INFERNO_GROUND, 1015),
    CELESTIAL("Celestial Core", "Mythic", "LIGHT_PURPLE", "NETHER_STAR", CoreAbility.CELESTIAL_RAY, CoreAbility.CELESTIAL_NOVA, 1016),
    SOUL("Soul Core", "Mythic", "DARK_AQUA", "SOUL_LANTERN", CoreAbility.SOUL_DRAIN, CoreAbility.SOUL_PRISON, 1017),
    TIME("Time Core", "Mythic", "LIGHT_PURPLE", "CLOCK", CoreAbility.TIME_STRIKE, CoreAbility.TIME_FREEZE, 1018),
    DIVINE_LIGHT("Divine Light Core", "Divine", "WHITE", "GLOWSTONE", CoreAbility.DIVINE_JUDGMENT, CoreAbility.DIVINE_SALVATION, 1019),
    REALITY("Reality Core", "Divine", "DARK_PURPLE", "END_CRYSTAL", CoreAbility.REALITY_BREAK, CoreAbility.REALITY_COLLAPSE, 1020);

    private final String displayName;
    private final String rarity;
    private final String color;
    private final String material;
    private final CoreAbility abilityOne;
    private final CoreAbility abilityTwo;
    private final int customModelData;

    CoreType(String displayName, String rarity, String color, String material,
             CoreAbility abilityOne, CoreAbility abilityTwo, int customModelData) {
        this.displayName = displayName;
        this.rarity = rarity;
        this.color = color;
        this.material = material;
        this.abilityOne = abilityOne;
        this.abilityTwo = abilityTwo;
        this.customModelData = customModelData;
    }

    public String displayName() {
        return displayName;
    }

    public String rarity() {
        return rarity;
    }

    public String color() {
        return color;
    }

    public String material() {
        return material;
    }

    public CoreAbility abilityOne() {
        return abilityOne;
    }

    public CoreAbility abilityTwo() {
        return abilityTwo;
    }

    public int getCustomModelData() {
        return customModelData;
    }

    public static CoreType fromName(String value) {
        String normalized = value.toLowerCase(Locale.ROOT).replace("_core", "").replace(" ", "_");
        for (CoreType type : values()) {
            if (type.name().equalsIgnoreCase(normalized)
                    || type.displayName.toLowerCase(Locale.ROOT)
                    .replace(" core", "")
                    .replace(" ", "_")
                    .equals(normalized)) {
                return type;
            }
        }
        return null;
    }
}

CoreItem.java

Java
package com.kodari.cores;

import com.cryptomorin.xseries.XMaterial;
import org.bukkit.ChatColor;
import org.bukkit.NamespacedKey;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import org.bukkit.persistence.PersistentDataType;

import java.util.Arrays;

public final class CoreItem {
    private CoreItem() {
    }

    public static ItemStack create(CorePlugin plugin, CoreType type) {
        ItemStack item = XMaterial.matchXMaterial(type.material()).map(XMaterial::parseItem)
                .orElseGet(() -> XMaterial.matchXMaterial("NETHER_STAR")
                        .map(XMaterial::parseItem)
                        .orElse(null));

        if (item == null) {
            return null;
        }

        ItemMeta meta = item.getItemMeta();

        meta.setDisplayName(ChatColor.translateAlternateColorCodes(
                '&',
                "&" + colorCode(type.color()) + "&l" + type.displayName()
        ));

        meta.setLore(Arrays.asList(
                ChatColor.GRAY + "Rarity: " + type.rarity(),
                ChatColor.DARK_GRAY + "Crouch + Left Click: " + type.abilityOne().displayName(),
                ChatColor.DARK_GRAY + "Crouch + Right Click: " + type.abilityTwo().displayName()
        ));

        meta.getPersistentDataContainer().set(
                new NamespacedKey(plugin, "core_type"),
                PersistentDataType.STRING,
                type.name()
        );

        meta.setCustomModelData(type.getCustomModelData());

        item.setItemMeta(meta);
        return item;
    }

    public static CoreType typeOf(CorePlugin plugin, ItemStack item) {
        if (item == null || !item.hasItemMeta()) {
            return null;
        }

        String value = item.getItemMeta()
                .getPersistentDataContainer()
                .get(new NamespacedKey(plugin, "core_type"), PersistentDataType.STRING);

        return value == null ? null : CoreType.fromName(value);
    }

    private static char colorCode(String color) {
        return switch (color) {
            case "BLACK" -> '0';
            case "DARK_BLUE" -> '1';
            case "DARK_GREEN" -> '2';
            case "DARK_AQUA" -> '3';
            case "DARK_RED" -> '4';
            case "DARK_PURPLE" -> '5';
            case "GOLD" -> '6';
            case "GRAY" -> '7';
            case "DARK_GRAY" -> '8';
            case "BLUE" -> '9';
            case "GREEN" -> 'a';
            case "AQUA" -> 'b';
            case "RED" -> 'c';
            case "LIGHT_PURPLE" -> 'd';
            case "YELLOW" -> 'e';
            default -> 'f';
        };
    }
}

Changes made

  • Added an explicit customModelData field to every CoreType.

  • Added getCustomModelData().

  • Applied the value using:

Java
meta.setCustomModelData(type.getCustomModelData());
  • Preserved the existing core_type PersistentDataContainer value.

  • Preserved the central CoreItem.create(...) factory.

  • Verified that CoreManager uses the central factory and there are no duplicate Core item creation paths.

  • Normal vanilla items are unaffected because only items created through CoreItem.create(...) receive the custom model data.

Validation

  • FLAME → 1001

  • REALITY → 1020

  • All 20 values are explicitly assigned.

  • All assigned values are unique.

  • Existing PDC identification remains unchanged.

  • Existing abilities and commands were not modified.

Build command

The project does not include a Gradle wrapper. From the project root, use:

Shell
gradle build

The resulting JAR should be generated at:

Plain Text
build/libs/CoreAbilities-1.0.0.jar

Java version

The project is configured for Java 21:

Gradle
java {
    toolchain {
        languageVersion = JavaLanguageVersion.of(21)
    }
}

No Java runtime or Gradle executable was available in the provided environment, so I could not produce or attach the compiled JAR here.

Paper compatibility

The existing project currently compiles against:

Gradle
io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT

No API or compatibility changes were necessary. setCustomModelData(Integer) is compatible with the project’s current Paper API dependency and preserves the requested resource-pack model-data behavior.

Lion Playz

The task appears to be stuck on “Generating…”. Stop the current generation and continue the implementation from the inspection you already completed. Do not restart the project from scratch.

You already inspected CoreType.java, CoreItem.java, build.gradle, settings.gradle, and plugin.yml, and confirmed the Core item creation search succeeded.

Now make the requested CustomModelData changes directly in the existing source code.

After editing:

Run the Gradle build.

Fix any compilation errors.

Verify FLAME = 1001 and REALITY = 1020.

Verify existing core_type PDC remains intact.

Give me the changed source files and the compiled JAR.

Do not spend time explaining the plan. Execute the changes and build the plugin.

Kodari AI
KodariSep 4 at 5:02 am 1
  • src/main/java/com/kodari/cores/CoreType.java already contains CustomModelData values, including FLAME = 1001 and REALITY = 1020.

  • src/main/java/com/kodari/cores/CoreItem.java applies meta.setCustomModelData(...) while preserving the existing core_type PDC.

  • Verification passed for both values and the PDC entry.

  • Build attempted with gradle build --no-daemon --stacktrace, but Gradle and a Gradle wrapper are unavailable in the project environment.

  • No compiled JAR was produced.

Lion Playz

The source code changes are already complete and verified. Do not modify or restart the project.

The only remaining task is to produce a compiled JAR.

The previous environment did not have Gradle installed and the project does not contain a Gradle wrapper.

Please do the following:

  1. Keep the existing source code unchanged.
  2. Generate a Gradle wrapper for the existing project if possible.
  3. Use the Gradle version compatible with the existing build.gradle configuration.
  4. Run the build.
  5. If dependencies or repositories fail, fix the build configuration without removing existing plugin functionality.
  6. Compile the plugin successfully.
  7. Output the final compiled JAR.

The source has already been verified to contain:

  • FLAME CustomModelData = 1001
  • REALITY CustomModelData = 1020
  • meta.setCustomModelData(type.getCustomModelData())
  • Existing core_type PersistentDataContainer logic remains intact

Do not redo the CustomModelData implementation.

Only solve the build environment/build configuration issue and produce the JAR.

At the end, provide:

  • The exact compiled JAR path
  • The JAR filename
  • The Gradle version used
  • The Java version used
  • Confirmation that the build completed successfully
Kodari AI
KodariSep 4 at 5:07 am 1

The build could not be completed in this environment:

  • Source code: unchanged.

  • Gradle: not installed.

  • Gradle wrapper: not present and could not be generated because Java/Gradle are unavailable.

  • Java: no JDK or javac executable is available.

  • Network access: disabled, so Gradle and JDK distributions could not be downloaded.

  • Compatible versions selected: Gradle 8.10.2 with Java 21, but neither was available or used.

  • Compiled JAR: not produced.

  • JAR path/filename: unavailable.

  • Build status: not successful.

Lion Playz

The source changes are complete. Since this environment cannot compile due to missing Java, Gradle, and network access, please package the current modified project exactly as it is into a ZIP file.

Include:

  • src/
  • build.gradle
  • settings.gradle
  • plugin.yml
  • gradle.properties, if present
  • any dependency or configuration files

Do not revert or modify the CustomModelData changes.

Give me the downloadable ZIP of the complete modified source project.

Kodari AI
KodariSep 4 at 5:12 am 1

Packaged the current project unchanged into a ZIP:

Included:

  • src/

  • build.gradle

  • settings.gradle

  • src/main/resources/plugin.yml

  • All existing Java source files

  • No gradle.properties was present in the project.

Lion Playz

Download kodari-coreabilities-source.zip not eon

Kodari AI
KodariSep 4 at 5:16 am 1

The ZIP has been recreated and verified successfully:

Lion Playz

The CustomModelData source changes have already been completed. Do not modify the project and do not attempt to build it.

I only need the complete current contents of the changed source files.

Please output the FULL code, with no omissions, for:

  1. "src/main/java/com/kodari/cores/CoreType.java"
  2. "src/main/java/com/kodari/cores/CoreItem.java"

Also output the complete current contents of:

  1. "build.gradle"
  2. "settings.gradle"
  3. "src/main/resources/plugin.yml"

Important:

  • Show the entire contents of every file.
  • Do not summarize the code.
  • Do not use "..." or omit sections.
  • Keep the current CustomModelData changes exactly as they are.
  • Do not revert anything.
  • Put each file in its own clearly labeled code block.

I will copy the files into another environment for verification and building.

Kodari AI
KodariSep 4 at 5:19 am 1

1. src/main/java/com/kodari/cores/CoreType.java

Java
package com.kodari.cores;

import java.util.Locale;

public enum CoreType {
    FLAME("Flame Core", "Common", "FLAME", "BLAZE_ROD", CoreAbility.FLAME_SHOT, CoreAbility.FLAME_BURST, 1001),
    STONE("Stone Core", "Common", "GRAY", "COBBLESTONE", CoreAbility.STONE_STRIKE, CoreAbility.STONE_WALL, 1002),
    WIND("Wind Core", "Common", "WHITE", "FEATHER", CoreAbility.WIND_SLASH, CoreAbility.WIND_PUSH, 1003),
    FROST("Frost Core", "Uncommon", "AQUA", "PACKED_ICE", CoreAbility.ICE_BOLT, CoreAbility.FROZEN_PRISON, 1004),
    THUNDER("Thunder Core", "Uncommon", "YELLOW", "GOLD_INGOT", CoreAbility.THUNDER_BOLT, CoreAbility.CHAIN_LIGHTNING, 1005),
    NATURE("Nature Core", "Uncommon", "GREEN", "OAK_LEAVES", CoreAbility.THORN_SHOT, CoreAbility.NATURE_HEAL, 1006),
    SHADOW("Shadow Core", "Rare", "DARK_PURPLE", "OBSIDIAN", CoreAbility.SHADOW_STRIKE, CoreAbility.SHADOW_TELEPORT, 1007),
    AQUA("Aqua Core", "Rare", "BLUE", "HEART_OF_THE_SEA", CoreAbility.WATER_SPEAR, CoreAbility.TIDAL_WAVE, 1008),
    VENOM("Venom Core", "Rare", "DARK_GREEN", "FERMENTED_SPIDER_EYE", CoreAbility.POISON_FANG, CoreAbility.VENOM_EXPLOSION, 1009),
    PHOENIX("Phoenix Core", "Epic", "RED", "FIRE_CHARGE", CoreAbility.PHOENIX_FIREBALL, CoreAbility.PHOENIX_REBIRTH, 1010),
    VOID("Void Core", "Epic", "DARK_PURPLE", "ENDER_PEARL", CoreAbility.VOID_BEAM, CoreAbility.VOID_PULL, 1011),
    GRAVITY("Gravity Core", "Epic", "DARK_GRAY", "ANVIL", CoreAbility.GRAVITY_CRUSH, CoreAbility.GRAVITY_BOMB, 1012),
    DRAGON("Dragon Core", "Legendary", "DARK_RED", "DRAGON_BREATH", CoreAbility.DRAGON_BREATH, CoreAbility.DRAGON_ROAR, 1013),
    STORM("Storm Core", "Legendary", "AQUA", "LIGHTNING_ROD", CoreAbility.STORM_STRIKE, CoreAbility.STORM_ZONE, 1014),
    INFERNO("Inferno Core", "Legendary", "GOLD", "MAGMA_CREAM", CoreAbility.INFERNO_BLAST, CoreAbility.INFERNO_GROUND, 1015),
    CELESTIAL("Celestial Core", "Mythic", "LIGHT_PURPLE", "NETHER_STAR", CoreAbility.CELESTIAL_RAY, CoreAbility.CELESTIAL_NOVA, 1016),
    SOUL("Soul Core", "Mythic", "DARK_AQUA", "SOUL_LANTERN", CoreAbility.SOUL_DRAIN, CoreAbility.SOUL_PRISON, 1017),
    TIME("Time Core", "Mythic", "LIGHT_PURPLE", "CLOCK", CoreAbility.TIME_STRIKE, CoreAbility.TIME_FREEZE, 1018),
    DIVINE_LIGHT("Divine Light Core", "Divine", "WHITE", "GLOWSTONE", CoreAbility.DIVINE_JUDGMENT, CoreAbility.DIVINE_SALVATION, 1019),
    REALITY("Reality Core", "Divine", "DARK_PURPLE", "END_CRYSTAL", CoreAbility.REALITY_BREAK, CoreAbility.REALITY_COLLAPSE, 1020);

    private final String displayName;
    private final String rarity;
    private final String color;
    private final String material;
    private final CoreAbility abilityOne;
    private final CoreAbility abilityTwo;
    private final int customModelData;

    CoreType(String displayName, String rarity, String color, String material,
             CoreAbility abilityOne, CoreAbility abilityTwo, int customModelData) {
        this.displayName = displayName;
        this.rarity = rarity;
        this.color = color;
        this.material = material;
        this.abilityOne = abilityOne;
        this.abilityTwo = abilityTwo;
        this.customModelData = customModelData;
    }

    public String displayName() { return displayName; }
    public String rarity() { return rarity; }
    public String color() { return color; }
    public String material() { return material; }
    public CoreAbility abilityOne() { return abilityOne; }
    public CoreAbility abilityTwo() { return abilityTwo; }
    public int getCustomModelData() { return customModelData; }

    public static CoreType fromName(String value) {
        String normalized = value.toLowerCase(Locale.ROOT).replace("_core", "").replace(" ", "_");
        for (CoreType type : values()) {
            if (type.name().equalsIgnoreCase(normalized)
                    || type.displayName.toLowerCase(Locale.ROOT).replace(" core", "").replace(" ", "_").equals(normalized)) {
                return type;
            }
        }
        return null;
    }
}

2. src/main/java/com/kodari/cores/CoreItem.java

Java
package com.kodari.cores;

import com.cryptomorin.xseries.XMaterial;
import org.bukkit.ChatColor;
import org.bukkit.NamespacedKey;
import org.bukkit.inventory.ItemStack;
import org.bukkit.inventory.meta.ItemMeta;
import org.bukkit.persistence.PersistentDataType;

import java.util.Arrays;

public final class CoreItem {
    private CoreItem() { }

    public static ItemStack create(CorePlugin plugin, CoreType type) {
        ItemStack item = XMaterial.matchXMaterial(type.material()).map(XMaterial::parseItem)
                .orElseGet(() -> XMaterial.matchXMaterial("NETHER_STAR").map(XMaterial::parseItem).orElse(null));
        if (item == null) {
            return null;
        }
        ItemMeta meta = item.getItemMeta();
        meta.setDisplayName(ChatColor.translateAlternateColorCodes('&', "&" + colorCode(type.color()) + "&l" + type.displayName()));
        meta.setLore(Arrays.asList(
                ChatColor.GRAY + "Rarity: " + type.rarity(),
                ChatColor.DARK_GRAY + "Crouch + Left Click: " + type.abilityOne().displayName(),
                ChatColor.DARK_GRAY + "Crouch + Right Click: " + type.abilityTwo().displayName()
        ));
        meta.getPersistentDataContainer().set(new NamespacedKey(plugin, "core_type"), PersistentDataType.STRING, type.name());
        meta.setCustomModelData(type.getCustomModelData());
        item.setItemMeta(meta);
        return item;
    }

    public static CoreType typeOf(CorePlugin plugin, ItemStack item) {
        if (item == null || !item.hasItemMeta()) {
            return null;
        }
        String value = item.getItemMeta().getPersistentDataContainer()
                .get(new NamespacedKey(plugin, "core_type"), PersistentDataType.STRING);
        return value == null ? null : CoreType.fromName(value);
    }

    private static char colorCode(String color) {
        return switch (color) {
            case "BLACK" -> '0'; case "DARK_BLUE" -> '1'; case "DARK_GREEN" -> '2';
            case "DARK_AQUA" -> '3'; case "DARK_RED" -> '4'; case "DARK_PURPLE" -> '5';
            case "GOLD" -> '6'; case "GRAY" -> '7'; case "DARK_GRAY" -> '8'; case "BLUE" -> '9';
            case "GREEN" -> 'a'; case "AQUA" -> 'b'; case "RED" -> 'c'; case "LIGHT_PURPLE" -> 'd';
            case "YELLOW" -> 'e'; default -> 'f';
        };
    }
}

3. build.gradle

Groovy
plugins {
    id 'java'
}

group = 'com.kodari'
version = '1.0.0'

repositories {
    mavenCentral()
    maven { url = 'https://repo.papermc.io/repository/maven-public/' }
    maven { url = 'https://repo.codemc.io/repository/maven-public/' }
}

dependencies {
    compileOnly 'io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT'
    implementation 'com.github.cryptomorin:XSeries:11.2.0.1'
}

java {
    toolchain {
        languageVersion = JavaLanguageVersion.of(21)
    }
}

tasks.withType(JavaCompile).configureEach {
    options.encoding = 'UTF-8'
}

4. settings.gradle

Groovy
rootProject.name = 'CoreAbilities'

5. src/main/resources/plugin.yml

YAML
name: CoreAbilities
version: 1.0.0
main: com.kodari.cores.CorePlugin
api-version: '1.20'
author: Kodari
description: Twenty elemental cores with forty targeted abilities.
commands:
  cores:
    description: Manage elemental cores.
    usage: /cores <list|give|reload> [core] [player]
    aliases: [core]
    permission: coreabilities.admin
permissions:
  coreabilities.admin:
    default: op
Lion Playz

Please prepare my "CoreAbilities" Minecraft Paper plugin project for building. Make only the necessary changes below and do not modify unrelated code.

  1. "src/main/resources/plugin.yml"

Currently:

api-version: '1.20'

Change it to:

api-version: '1.21'

Keep everything else in "plugin.yml" unchanged unless a compatibility issue requires a specific correction.

  1. "build.gradle"

The current Paper API dependency is:

compileOnly 'io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT'

The project is targeting Paper 1.21.11.

Update the Paper API dependency so that it correctly matches the intended Paper 1.21.11 target and uses a valid, resolvable API version.

Do not change the Java version or XSeries version unless absolutely necessary.

  • Java: 21
  • XSeries: 11.2.0.1
  1. "settings.gradle"

Do not change this:

rootProject.name = 'CoreAbilities'

  1. Verify the project

Before building, verify the following:

  • "com.kodari.cores.CorePlugin" exactly matches the "main" entry in "plugin.yml".
  • Gradle syntax is valid.
  • The Paper API dependency is valid and compatible with Paper 1.21.11.
  • "api-version: '1.21'" is correct for the target.
  • Existing commands, abilities, XSeries usage, CustomModelData implementation, and other plugin logic must not be changed unnecessarily.
  • Do not introduce unrelated dependencies or version changes.

After making the changes, report:

  1. Which files were changed.
  2. Exactly what was changed in each file.
  3. Whether the project is ready to build.
  4. Any remaining errors or compatibility issues, including the exact file/section where they occur.

Important: Make only the necessary changes. Do not rewrite or refactor existing plugin code unnecessarily.

Kodari AI
KodariSep 4 at 5:27 am 1

Plan:

  1. Read the current build, plugin metadata, settings, and main class.

  2. Update only api-version and the Paper API version.

  3. Verify cross-file metadata and report build readiness without changing plugin logic.

  1. Files changed

    • src/main/resources/plugin.yml

    • build.gradle

  2. Exact changes

    • src/main/resources/plugin.yml

      • Changed:

        YAML
        api-version: '1.20'
        

        to:

        YAML
        api-version: '1.21'
        
      • All other contents remain unchanged.

    • build.gradle

      • Changed the Paper API dependency:

        Groovy
        compileOnly 'io.papermc.paper:paper-api:1.21.4-R0.1-SNAPSHOT'
        

        to:

        Groovy
        compileOnly 'io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT'
        
      • Java 21 and XSeries 11.2.0.1 remain unchanged.

      • No dependencies were added or removed.

  3. Verification

    • plugin.yml main entry:

      YAML
      main: com.kodari.cores.CorePlugin
      

      exactly matches:

      Java
      public final class CorePlugin extends JavaPlugin
      

      in src/main/java/com/kodari/cores/CorePlugin.java.

    • settings.gradle remains unchanged:

      Groovy
      rootProject.name = 'CoreAbilities'
      
    • The Gradle syntax is structurally valid.

    • io.papermc.paper:paper-api:1.21.11-R0.1-SNAPSHOT is available from the configured Paper Maven repository.

    • api-version: '1.21' is appropriate for the Paper 1.21.11 target.

    • Existing commands, abilities, XSeries usage, CustomModelData implementation, and plugin logic were not modified.

  4. Build readiness

    • The project is ready to build with Java 21 and Gradle.

    • No build was attempted, as requested.

    • No remaining errors or compatibility issues were identified in the requested configuration and metadata checks.

Lion Playz

Now run a full Gradle build for the "CoreAbilities" project using Java 21.

Do not make any further code changes before the build.

If the build succeeds:

  • Report the exact build result.
  • Tell me where the generated ".jar" file is located.

If the build fails:

  • Do not blindly modify code.
  • Show the exact Gradle error.
  • Identify the file and line/section causing it.
  • Explain the minimum required fix and wait for approval before making unrelated changes.
Kodari AI
KodariSep 4 at 5:28 am 1

I could not run the Gradle build because this environment does not provide Gradle or Java build tooling, and no project changes were made.

  • Build result: Not run

  • Generated JAR: None

  • Gradle error: No Gradle execution was attempted, so there is no project compilation error to report.

  • Project changes: None

The build will need to be run in an environment with Java 21 and Gradle available, for example:

Shell
./gradlew clean build
Lion Playz

/gradlew clean build

Kodari AI
KodariSep 4 at 5:29 am 1

The command could not run because the project has no Gradle wrapper and this environment has neither Gradle nor Java installed.

Exact failure:

Plain Text
./gradlew: No such file or directory

Verification:

Plain Text
gradle=not found
java=not found
  • Build result: Not run

  • Generated JAR: None

  • Code changes: None

  • Gradle error: The build could not start because ./gradlew is absent.

  • Required action: Run ./gradlew clean build in an environment containing the Gradle wrapper, or install Java 21 and Gradle and run gradle clean build.

Lion Playz

I want you to create the complete Minecraft resource-pack implementation for my existing Paper plugin CoreAbilities, based strictly on the CustomModelData/item-model system already implemented in the project.

IMPORTANT — INSPECT THE PROJECT FIRST

Before creating or modifying anything:

  1. Inspect the entire existing Java source code.
  2. Find EVERY CustomModelData ID currently used by the plugin.
  3. Identify exactly:

- The Minecraft item/material receiving the custom model data. - The ability/element/core associated with that ID. - Where and how the item is created. - Whether the plugin already uses any resource-pack/model-related namespace or naming convention.

  1. Do NOT invent, change, renumber, or remove any existing CustomModelData IDs.
  2. Do NOT rewrite the existing plugin/core ability system.

The resource pack must be compatible with the existing plugin implementation.

MINECRAFT VERSION

The target Minecraft version is:

Minecraft Java Edition 1.21.11

Use the correct resource-pack/item-model format for Minecraft 1.21.11.

Do NOT blindly use old pre-1.21 CustomModelData override syntax if the target version requires the newer item model system.

If the current plugin code uses a format that is incompatible with 1.21.11, do NOT change the plugin logic automatically. Instead, adapt the resource-pack side where possible and clearly explain any incompatibility.

RESOURCE PACK

Create the complete resource-pack structure inside the project.

Include the appropriate:

  • "pack.mcmeta"
  • "assets/"
  • namespace directory
  • item definitions/models
  • model files
  • textures directory
  • required item-model mappings
  • any other files required by Minecraft 1.21.11

Use a clean namespace based on the existing CoreAbilities project. If the project already defines a namespace, use that exact namespace.

CUSTOM MODEL DATA MAPPING

For EVERY CustomModelData ID found in the Java code:

  • Map it to the correct custom item model.
  • Preserve the exact ID.
  • Use clear and consistent filenames.
  • Make sure the Minecraft base item/material matches what the plugin actually gives to the player.
  • Do not create mappings for IDs that do not exist in the code.

Create a mapping table in your final report like:

ID| Base Item| Ability/Core| Model File| Texture File 1001| ...| ...| ...| ... 1002| ...| ...| ...| ...

MODELS AND TEXTURES

If actual custom textures/models already exist in the project:

  • Reuse them.
  • Do not replace them unnecessarily.
  • Preserve their intended appearance.

If textures/models do NOT exist yet:

  • Create valid placeholder model files where possible.
  • Clearly identify every missing PNG/model asset.
  • Use logical filenames such as:

"fire_core.png" "water_core.png" "earth_core.png"

Do not pretend that placeholder textures are final assets.

JSON VALIDATION

Every generated JSON file must:

  • Be syntactically valid.
  • Use the correct format for Minecraft 1.21.11.
  • Reference files that actually exist.
  • Avoid broken model/texture paths.
  • Use correct namespace syntax.
  • Avoid obsolete fields unless they are actually supported by the target version.

DO NOT BREAK THE PLUGIN

Do NOT:

  • Rewrite CoreAbilities.
  • Remove existing abilities.
  • Change CustomModelData IDs.
  • Change item materials without a real compatibility reason.
  • Remove existing functionality.
  • Rename existing Java classes unnecessarily.
  • Modify gameplay logic just to make the resource pack work.

The resource pack must adapt to the existing plugin, not the other way around.

VERIFY EVERYTHING

After generating the resource pack:

  1. Re-scan the Java source code for all CustomModelData IDs.
  2. Compare them against the generated resource-pack mappings.
  3. Confirm that every ID has a corresponding mapping.
  4. Confirm that every referenced model exists.
  5. Confirm that every referenced texture exists, or clearly mark it as missing.
  6. Validate all JSON files.
  7. Check the "pack.mcmeta".
  8. Check that the resource pack follows the Minecraft 1.21.11 resource-pack format.
  9. If possible, build/package the resource pack into a ZIP-ready directory.
  10. Do not claim it is fully ready if required assets are missing.

FINAL REPORT

When finished, give me:

  1. Complete folder structure

Show the exact generated structure, for example:

CoreAbilities-ResourcePack/ ├── pack.mcmeta └── assets/ └── <namespace>/ ├── items/ ├── models/ └── textures/

Use the ACTUAL structure you generated, not an example.

  1. CustomModelData mapping

List every ID found in the Java source and exactly what it maps to.

  1. Missing assets

List every PNG/model/asset that I still need to provide.

  1. Minecraft 1.21.11 compatibility

Explicitly explain which item-model/resource-pack format was used and why it is correct for Minecraft 1.21.11.

  1. ZIP readiness

Tell me clearly:

  • READY — if I can ZIP the generated folder and use it.
  • NOT READY — if anything required is still missing.

If NOT READY, explain exactly what is missing.

  1. Changes made

List every file you created or modified.

Do not hide errors or assumptions. If something cannot be determined from the existing project, say so explicitly instead of guessing.

The goal is a working Minecraft 1.21.11 resource pack that matches the existing CoreAbilities plugin exactly.

Kodari AI
KodariSep 4 at 5:39 am 4

Plan:

  1. Inventory the complete Java source and identify every CustomModelData use, item material, ability/core association, and resource-pack convention.

  2. Inspect existing resource/config/build metadata needed to choose the 1.21.11 pack format and namespace.

  3. Create only the resource-pack files required by the discovered mappings.

  4. Validate mappings, JSON references, pack.mcmeta, and ZIP-ready structure, then report missing assets and compatibility status.

The scan found 20 IDs (1001–1020), all assigned in CoreType and applied by CoreItem to the declared base material via legacy ItemMeta#setCustomModelData(int). No existing resource-pack assets or namespace were present, so I’m using the plugin-derived namespace coreabilities and modern 1.21.11 item definitions under assets/minecraft/items/, with namespaced model files under assets/coreabilities/models/item/.

1. Changes made

Created the resource-pack directory:

Plain Text
CoreAbilities-ResourcePack/

No Java source files, build.gradle, settings.gradle, or plugin.yml files were modified.

Complete generated structure

Plain Text
CoreAbilities-ResourcePack/
├── pack.mcmeta
└── assets/
    ├── coreabilities/
    │   └── models/
    │       └── item/
    │           ├── aqua_core.json
    │           ├── celestial_core.json
    │           ├── divine_light_core.json
    │           ├── dragon_core.json
    │           ├── flame_core.json
    │           ├── frost_core.json
    │           ├── gravity_core.json
    │           ├── inferno_core.json
    │           ├── nature_core.json
    │           ├── phoenix_core.json
    │           ├── reality_core.json
    │           ├── shadow_core.json
    │           ├── soul_core.json
    │           ├── stone_core.json
    │           ├── storm_core.json
    │           ├── thunder_core.json
    │           ├── time_core.json
    │           ├── venom_core.json
    │           ├── void_core.json
    │           └── wind_core.json
    └── minecraft/
        └── items/
            ├── anvil.json
            ├── blaze_rod.json
            ├── clock.json
            ├── cobblestone.json
            ├── dragon_breath.json
            ├── end_crystal.json
            ├── ender_pearl.json
            ├── feather.json
            ├── fermented_spider_eye.json
            ├── fire_charge.json
            ├── glowstone.json
            ├── gold_ingot.json
            ├── heart_of_the_sea.json
            ├── lightning_rod.json
            ├── magma_cream.json
            ├── nether_star.json
            ├── oak_leaves.json
            ├── obsidian.json
            ├── packed_ice.json
            └── soul_lantern.json

Created files:

  • CoreAbilities-ResourcePack/pack.mcmeta

  • 20 files under assets/minecraft/items/

  • 20 files under assets/coreabilities/models/item/

2. CustomModelData mapping

The Java source contains exactly 20 CustomModelData IDs.

ID
Base Item
Core / Abilities
Model File
Texture Used
1001
BLAZE_ROD
Flame Core —
FLAME_SHOT
,
FLAME_BURST
coreabilities:item/flame_core
minecraft:item/blaze_rod
1002
COBBLESTONE
Stone Core —
STONE_STRIKE
,
STONE_WALL
coreabilities:item/stone_core
minecraft:block/cobblestone
1003
FEATHER
Wind Core —
WIND_SLASH
,
WIND_PUSH
coreabilities:item/wind_core
minecraft:item/feather
1004
PACKED_ICE
Frost Core —
ICE_BOLT
,
FROZEN_PRISON
coreabilities:item/frost_core
minecraft:block/packed_ice
1005
GOLD_INGOT
Thunder Core —
THUNDER_BOLT
,
CHAIN_LIGHTNING
coreabilities:item/thunder_core
minecraft:item/gold_ingot
1006
OAK_LEAVES
Nature Core —
THORN_SHOT
,
NATURE_HEAL
coreabilities:item/nature_core
minecraft:block/oak_leaves
1007
OBSIDIAN
Shadow Core —
SHADOW_STRIKE
,
SHADOW_TELEPORT
coreabilities:item/shadow_core
minecraft:block/obsidian
1008
HEART_OF_THE_SEA
Aqua Core —
WATER_SPEAR
,
TIDAL_WAVE
coreabilities:item/aqua_core
minecraft:item/heart_of_the_sea
1009
FERMENTED_SPIDER_EYE
Venom Core —
POISON_FANG
,
VENOM_EXPLOSION
coreabilities:item/venom_core
minecraft:item/fermented_spider_eye
1010
FIRE_CHARGE
Phoenix Core —
PHOENIX_FIREBALL
,
PHOENIX_REBIRTH
coreabilities:item/phoenix_core
minecraft:item/fire_charge
1011
ENDER_PEARL
Void Core —
VOID_BEAM
,
VOID_PULL
coreabilities:item/void_core
minecraft:item/ender_pearl
1012
ANVIL
Gravity Core —
GRAVITY_CRUSH
,
GRAVITY_BOMB
coreabilities:item/gravity_core
minecraft:block/anvil
1013
DRAGON_BREATH
Dragon Core —
DRAGON_BREATH
,
DRAGON_ROAR
coreabilities:item/dragon_core
minecraft:item/dragon_breath
1014
LIGHTNING_ROD
Storm Core —
STORM_STRIKE
,
STORM_ZONE
coreabilities:item/storm_core
minecraft:block/lightning_rod
1015
MAGMA_CREAM
Inferno Core —
INFERNO_BLAST
,
INFERNO_GROUND
coreabilities:item/inferno_core
minecraft:item/magma_cream
1016
NETHER_STAR
Celestial Core —
CELESTIAL_RAY
,
CELESTIAL_NOVA
coreabilities:item/celestial_core
minecraft:item/nether_star
1017
SOUL_LANTERN
Soul Core —
SOUL_DRAIN
,
SOUL_PRISON
coreabilities:item/soul_core
minecraft:item/soul_lantern
1018
CLOCK
Time Core —
TIME_STRIKE
,
TIME_FREEZE
coreabilities:item/time_core
minecraft:item/clock
1019
GLOWSTONE
Divine Light Core —
DIVINE_JUDGMENT
,
DIVINE_SALVATION
coreabilities:item/divine_light_core
minecraft:block/glowstone
1020
END_CRYSTAL
Reality Core —
REALITY_BREAK
,
REALITY_COLLAPSE
coreabilities:item/reality_core
minecraft:item/end_crystal

3. Implementation details

The plugin uses:

Java
meta.setCustomModelData(type.getCustomModelData());

It does not currently set the modern item_model component directly. To preserve the existing plugin code, the resource pack uses the modern 1.21.11 item-definition system:

Plain Text
assets/minecraft/items/<base_item>.json

Each definition uses:

JSON
"type": "minecraft:range_dispatch",
"property": "minecraft:custom_model_data"

The corresponding model is selected using the existing numeric ID. The plugin’s legacy integer CustomModelData API is compatible with this dispatch mechanism because the value is exposed through the modern custom_model_data component.

The namespace coreabilities was selected from the existing plugin name and Bukkit namespace convention. No existing resource-pack namespace was present.

4. Missing assets

The project did not contain custom model geometry or texture files.

The generated model files are valid placeholders that reuse the corresponding vanilla Minecraft textures. For example, the Flame Core model currently uses:

Plain Text
minecraft:item/blaze_rod

instead of a custom PNG.

Final custom PNG files may optionally be supplied at paths such as:

Plain Text
assets/coreabilities/textures/item/flame_core.png
assets/coreabilities/textures/item/stone_core.png
assets/coreabilities/textures/item/wind_core.png
assets/coreabilities/textures/item/frost_core.png
assets/coreabilities/textures/item/thunder_core.png
assets/coreabilities/textures/item/nature_core.png
assets/coreabilities/textures/item/shadow_core.png
assets/coreabilities/textures/item/aqua_core.png
assets/coreabilities/textures/item/venom_core.png
assets/coreabilities/textures/item/phoenix_core.png
assets/coreabilities/textures/item/void_core.png
assets/coreabilities/textures/item/gravity_core.png
assets/coreabilities/textures/item/dragon_core.png
assets/coreabilities/textures/item/storm_core.png
assets/coreabilities/textures/item/inferno_core.png
assets/coreabilities/textures/item/celestial_core.png
assets/coreabilities/textures/item/soul_core.png
assets/coreabilities/textures/item/time_core.png
assets/coreabilities/textures/item/divine_light_core.png
assets/coreabilities/textures/item/reality_core.png

These PNGs are not currently referenced, so there are no broken texture references. The current pack is functional but visually uses vanilla placeholder textures.

5. Validation

  • Java source scan found exactly 20 CustomModelData IDs.

  • Generated mappings contain exactly the same 20 IDs.

  • No IDs were changed, renumbered, or removed.

  • 20 item definitions were generated.

  • 20 corresponding model files were generated.

  • All generated JSON and pack.mcmeta files passed syntax validation.

  • All generated custom model references resolve to existing model files.

  • No existing plugin logic was modified.

  • No unrelated dependencies or configuration files were changed.

  • pack.mcmeta uses resource-pack format 75, targeting Minecraft Java 1.21.11.

  • assets/minecraft/items/ uses the 1.21.11 item-model definition format rather than obsolete legacy overrides syntax.

6. ZIP readiness

READY — for a functional placeholder resource pack.

You can ZIP the contents of:

Plain Text
CoreAbilities-ResourcePack/

The resulting ZIP should contain pack.mcmeta at its root.

The pack will load and map all existing CoreAbilities CustomModelData values correctly on Minecraft 1.21.11. It is not a finished art pack until custom core textures are supplied, but no required referenced assets are missing.

Lion Playz

Package the complete CoreAbilities resource pack as a ZIP file and make it available for download. Include only the required resource-pack files.”

Kodari AI
KodariSep 4 at 5:58 am 1

Includes only the 41 required resource-pack files, with pack.mcmeta and assets/ at the archive root.

Kodari can make mistakes. Review important code before using.
Files
CoreAbilities-ResourcePack
src
build.gradle
settings.gradle
Code
53 1,586
src/main/java/com/kodari/cores/CorePlugin.java
package com.kodari.cores;

import org.bukkit.Bukkit;
import org.bukkit.plugin.java.JavaPlugin;

public final class CorePlugin extends JavaPlugin {
    private CoreManager coreManager;
    private CooldownManager cooldownManager;
    private AbilityEngine abilityEngine;

    @Override
    public void onEnable() {
        coreManager = new CoreManager(this);
        cooldownManager = new CooldownManager();
        abilityEngine = new AbilityEngine(this, cooldownManager);
        Bukkit.getPluginManager().registerEvents(new CoreListener(this), this);
        CoreCommand command = new CoreCommand(this);
        getCommand("cores").setExecutor(command);
        getCommand("cores").setTabCompleter(command);
    }

    public CoreManager coreManager() { return coreManager; }
    public AbilityEngine abilityEngine() { return abilityEngine; }
}