Skip to content

Releases: TomDesch/rainbow

🌈 Rainbow Armor v3.3.0

Choose a tag to compare

@TomDesch TomDesch released this 21 Feb 15:20

Thank you to MrSal for the persistence, in-game testing, and bug report that kept this issue alive, and to Cronu for looking into it as well.


What changed

🔧 Inventory interaction guard rewrite

The previous approach to preventing armor duplication and destruction was a blanket ban on all armor-related inventory interaction. This worked, but it was far too restrictive. Players couldn't even move a spare chestplate from their bag to a chest while wearing rainbow armor.

3.3.0 replaces this with a surgical approach. The guard now blocks only the exact interaction patterns that can actually cause a dupe or destroy a piece, and explicitly allows everything else.

✅ Now allowed while wearing rainbow armor

  • Freely moving armor pieces between bag slots (click, drag, pick up, place down)
  • Moving armor pieces into and out of external inventories (chests, barrels, shulkers, etc.)

❌ Still blocked — these are hard Minecraft limitations

Action Why it's blocked
Click on an armor slot The animator recreates the piece next tick → dupe
Drag onto an armor slot Overwrites the rainbow piece → destruction
Shift-click any armor item Minecraft always auto-routes to the nearest matching armor slot — the destination can't be intercepted
Right-click equip from hand Same auto-equip behaviour
Hotbar number-key swap involving armor Would move a piece into or out of the rainbow slot

🔔 Player feedback message

Blocked actions now show a configurable chat message so players understand why the interaction didn't work, rather than items silently disappearing.

New config.yml key (added automatically on first run):

armor-shift-click-blocked-message: '&(255,150,0)You can''t equip armor while wearing rainbow armor!'

🐛 Fixes

  • Fixed ARMOR_RAW_SLOTS incorrectly including hotbar slots 36–39 (Paper 1.21 raw slot numbering), which was causing all hotbar interaction to be blocked
  • Fixed creative mode consuming cancelled armor items due to client-side prediction — items are now explicitly restored to their slot server-side
  • Fixed interaction guard relying solely on SlotType.ARMOR which is inconsistently reported across Paper versions — now also checks raw slot numbers 5–8 as a fallback

Full changelog

  • ArmorListener: complete rewrite of inventoryClick, inventoryDrag, and onPlayerInteract guards
  • ConfigKey: new ARMOR_SHIFT_CLICK_BLOCKED_MESSAGE entry
  • config.yml: new armor-shift-click-blocked-message key
  • README.md: new Armor Interaction Restrictions section documenting all allowed/blocked actions and the reason for each
  • Updated to API v1.21.11

🌈 Rainbow Armor v3.2.0🐴

Choose a tag to compare

@TomDesch TomDesch released this 18 May 09:30

Rainbow Armor just got an upgrade — now your horses can shine too! 🐴✨

🆕 New Feature

  • ✨ Rainbow Horse Armor!

    • You can now apply animated leather armor to horses using /rainbowhorseitem
    • Just summon and tame a horse, then equip the rainbow armor like any normal horse armor
    • Animation speed is per-item, just like player-bound armor

Note: Wolf armor support is not yet included due to lack of official API access.

Enjoy the colors — and now let your trusty steed enjoy them too!
Thanks again to the community for the awesome feature suggestions ❤️

Plugin by StealingDaPenta
Feature suggested by Androskeleton 🐺

Rainbow Armor [1.21] v3.1.1

Choose a tag to compare

@TomDesch TomDesch released this 02 May 05:44

🛠️ Bug Fixes

  • Fixed a critical issue where players could manually override rainbow armor by right-clicking with other armor.
  • Now all armor interactions are blocked while rainbow armor is active.

Rainbow Armor [1.21] v3.0

Choose a tag to compare

@TomDesch TomDesch released this 18 Apr 17:43
d9d7130

Version 3.0 is here!

This is potentially the biggest update yet! Rainbow Armor now supports two completely separate modes of animation:

✨ Item-Bound Armor: Use /rainbowitem to give players real, tangible armor items that glow and animate on their own — even when stored!
⚔️ Player-Bound Armor: The classic toggle animation with /rainbow is still supported.
Fully Configurable Animation Context: Choose exactly where rainbow items animate!
Known Bug: Spam-clicking animated items may cause a duplication glitch. A fix is being explored.
New Config Options: Check out config.yml or the README on GitHub for details.

Enjoy the colors!
Plugin by StealingDaPenta — Feature proposed by Sytrex