Skip to content

chicken kit skeleton#138

Merged
BetrixDev merged 1 commit intoreimaginedfrom
kit/chicken
Sep 24, 2025
Merged

chicken kit skeleton#138
BetrixDev merged 1 commit intoreimaginedfrom
kit/chicken

Conversation

@BetrixDev
Copy link
Owner

@BetrixDev BetrixDev commented Sep 24, 2025

Summary by CodeRabbit

  • New Features
    • Introduced the Chicken kit: agile playstyle with Chicken disguise, feather icon, themed sounds, chainmail chestplate and boots.
    • Added abilities: Egg Blaster (rapid eggs) and Chicken Missile (explosive projectile).
    • Added Flap passive for energy-based mid-air jumps.
    • Regeneration passive is now configurable per kit (heal amount and interval), enabling tailored balance.
    • Enderman kit now includes chainmail boots.
    • Added English names and descriptions for the Chicken kit and its abilities.

@BetrixDev BetrixDev linked an issue Sep 24, 2025 that may be closed by this pull request
@BetrixDev BetrixDev merged commit 8287705 into reimagined Sep 24, 2025
1 of 3 checks passed
@vercel
Copy link

vercel bot commented Sep 24, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
ssm-brawl-docs Error Error Sep 24, 2025 0:42am
ssm-brawl-web Building Building Preview Comment Sep 24, 2025 0:42am

@coderabbitai
Copy link

coderabbitai bot commented Sep 24, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Introduces a new “chicken” kit with associated disguise, abilities (egg_blaster, chicken_missile), and a new flap passive. Wires these into BrawlKit and BrawlDisguiseFactory. Adds corresponding data entries (kits, abilities, passives, disguises, language). RegenerationPassive now reads heal config from metadata. ChickenMissile activate() is a TODO.

Changes

Cohort / File(s) Summary
Abilities — new Chicken kit actives
plugin/src/main/kotlin/dev/betrix/superSmashMobsBrawl/abilities/EggBlasterAbility.kt, plugin/src/main/kotlin/dev/betrix/superSmashMobsBrawl/abilities/ChickenMissileAbility.kt
Adds EggBlasterAbility and ChickenMissileAbility classes extending BrawlAbility; ChickenMissileAbility includes placeholder activate() with TODO.
Passives — new Flap, regen metadata
plugin/src/main/kotlin/dev/betrix/superSmashMobsBrawl/passives/FlapPassive.kt, plugin/src/main/kotlin/dev/betrix/superSmashMobsBrawl/passives/RegenerationPassive.kt
Adds FlapPassive skeleton; RegenerationPassive now reads heal amount and interval from metadata with defaults and min clamp.
Disguises — chicken support
plugin/src/main/kotlin/dev/betrix/superSmashMobsBrawl/disguises/ChickenDisguise.kt, plugin/src/main/kotlin/dev/betrix/superSmashMobsBrawl/disguises/BrawlDisguiseFactory.kt
Introduces ChickenDisguise (MobDisguise CHICKEN, hitbox 0.4×0.7) and registers "chicken" constructor in factory.
Kit wiring
plugin/src/main/kotlin/dev/betrix/superSmashMobsBrawl/kits/BrawlKit.kt
Maps abilities egg_blaster and chicken_missile; maps passive flap.
Data — abilities
plugin/src/main/resources/data/abilities.yml
Adds egg_blaster and chicken_missile entries with projectile metadata and cooldowns.
Data — passives
plugin/src/main/resources/data/passives.yml
Adds flap passive with user-facing display and flap/energy metadata.
Data — kits
plugin/src/main/resources/data/kits.yml
Adds chicken kit (stats, disguiseId, passives with regeneration overrides, abilities, armorItems). Adds boots: chainmail_boots to enderman armorItems.
Data — disguises
plugin/src/main/resources/data/disguises.yml
Adds disguise id "chicken".
Localization
plugin/src/main/resources/data/lang/en.yml
Adds strings for kit Chicken and abilities Egg Blaster and Chicken Missile.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor Player
  participant Kit as BrawlKit
  participant Abil as Abilities
  participant Pass as Passives
  participant Disg as DisguiseFactory
  participant Srv as Bukkit/Server

  Player->>Kit: Select "chicken" kit
  Kit->>Disg: create("chicken")
  Disg-->>Kit: ChickenDisguise
  Kit->>Abil: map("egg_blaster"), map("chicken_missile")
  Kit->>Pass: map("flap"), map("regeneration" w/ metadata)
  Note right of Pass: Regeneration reads healAmount, healIntervalTicks
  Kit->>Srv: Equip armorItems, apply disguise
  Srv-->>Player: Kit ready
Loading
sequenceDiagram
  autonumber
  actor Player
  participant EB as EggBlasterAbility
  participant CM as ChickenMissileAbility
  participant Data as abilities.yml
  participant Srv as Bukkit/World

  Player->>EB: Right-click (activate)
  EB->>Data: Read projectile metadata
  EB->>Srv: Spawn egg projectiles, apply effects

  Player->>CM: Right-click (activate)
  CM->>Data: Read missile metadata
  CM-->>Player: TODO activation (placeholder)
  Note over CM,Srv: Activation logic pending implementation
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested labels

Gameplay, Feature

Poem

I boop the ground—feathers flair, whee!
Eggs go zoom, missiles soon-to-be.
A flap, a hop, regen’s tick—
Chicken chic with chainmail slick.
Cluck! New kit in brawling night—
Rabbity cheers: “What a flight!” 🐔🥚🐇

✨ Finishing touches
  • 📝 Generate Docstrings
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch kit/chicken

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 7a56a1c and c91cd1a.

📒 Files selected for processing (12)
  • plugin/src/main/kotlin/dev/betrix/superSmashMobsBrawl/abilities/ChickenMissileAbility.kt (1 hunks)
  • plugin/src/main/kotlin/dev/betrix/superSmashMobsBrawl/abilities/EggBlasterAbility.kt (1 hunks)
  • plugin/src/main/kotlin/dev/betrix/superSmashMobsBrawl/disguises/BrawlDisguiseFactory.kt (1 hunks)
  • plugin/src/main/kotlin/dev/betrix/superSmashMobsBrawl/disguises/ChickenDisguise.kt (1 hunks)
  • plugin/src/main/kotlin/dev/betrix/superSmashMobsBrawl/kits/BrawlKit.kt (2 hunks)
  • plugin/src/main/kotlin/dev/betrix/superSmashMobsBrawl/passives/FlapPassive.kt (1 hunks)
  • plugin/src/main/kotlin/dev/betrix/superSmashMobsBrawl/passives/RegenerationPassive.kt (1 hunks)
  • plugin/src/main/resources/data/abilities.yml (1 hunks)
  • plugin/src/main/resources/data/disguises.yml (1 hunks)
  • plugin/src/main/resources/data/kits.yml (1 hunks)
  • plugin/src/main/resources/data/lang/en.yml (2 hunks)
  • plugin/src/main/resources/data/passives.yml (1 hunks)

Tip

👮 Agentic pre-merge checks are now available in preview!

Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.

  • Built-in checks – Quickly apply ready-made checks to enforce title conventions, require pull request descriptions that follow templates, validate linked issues for compliance, and more.
  • Custom agentic checks – Define your own rules using CodeRabbit’s advanced agentic capabilities to enforce organization-specific policies and workflows. For example, you can instruct CodeRabbit’s agent to verify that API documentation is updated whenever API schema files are modified in a PR. Note: Upto 5 custom checks are currently allowed during the preview period. Pricing for this feature will be announced in a few weeks.

Please see the documentation for more information.

Example:

reviews:
  pre_merge_checks:
    custom_checks:
      - name: "Undocumented Breaking Changes"
        mode: "warning"
        instructions: |
          Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).

Please share your feedback with us on this Discord post.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Chicken Kit

1 participant