Ability Carpets for Llamas
This datapack adds 15 unique ability carpets to Minecraft that grant special capabilities to llamas wearing them. Each carpet unlocks a new function that helps players in combat, solving specific tasks, or simply adds fun to the game.
Feature Overview
Carpets can be freely put on and taken off llamas. If placed on the ground, they lose their properties. Crafting recipes are shown in the images below.
Commands
Use /function llama_abilities:give_all_carpets to get all carpets for testing. The command /trigger seeShieldParticles toggles the shield particles of the protective carpet.
Carpets and Their Abilities
Shulker Neutralizer Carpet
Destroys all shulker projectiles within a 12-block radius.

Party Carpet
Plays music when equipped and launches random fireworks every 8 seconds.
Important: With low ceilings, the llama may die from fireworks. Any music disc can be used for crafting.

Ninja-Thief Carpet
Gives the player riding the llama Speed IV and invisibility for 22 seconds.
Effects don't create particles, making the player completely invisible. Llamas with this carpet make no sounds until the carpet is removed.

Effect Cleansing Carpet
Removes negative effects from the player and their companions within a 16-block radius.

Crop Harvesting Carpet
Automatically harvests and replants crops within a 3x3 block radius. Works with wheat, potatoes, carrots, and beetroot.

Nether Wart Harvesting Carpet
Harvests and replants nether wart within a 3x3 block radius — finally, an automatic nether wart farm!

Fire Extinguisher Carpet
Extinguishes fire within a 5-block radius, including fire on the player and companions.
Extinguishing the player works by quickly placing and removing water at their feet, which may cause unexpected effects.

Clock Cloak Carpet
At night, the llama glows and notifies the nearest player to sleep. Glowing stops during the day.

Experience Magnet
Teleports experience orbs to the nearest player if both are within 10 blocks of the llama.

Creeper Calming Carpet
Neutralizes creepers within a 16-block radius: their explosions don't destroy blocks or deal damage. Now you can safely hug creepers!

Scent Disrupting Carpet
Resets the warden's targets and suspicions every 2 seconds within a 12-block radius. Useful for escaping but not for combat — hitting the warden makes it immune to the effect.

Protective Shield Carpet
Creates a force field that blocks most projectiles. Doesn't deflect tridents, wither skulls, or shulker projectiles.
Firing bows or throwing projectiles from inside the field is impossible — they bounce off. Mobs can freely walk through the field.

Villager Transport Carpet
Allows nearby villagers to mount the llama (one at a time). When the llama is leashed to a fence, the villager dismounts. Create a llama caravan to transport an entire village!

Teleportation Carpet
Teleports the player back 60 seconds after dismounting. Side effects may occur. Removing the carpet doesn't cancel the side effects.
Multiplayer bugs may occur with multiple teleportation llamas.

Fireball Spitting Carpet
The llama spits fireballs. Powerful but inaccurate — use with caution.

Magenta Carpet
Currently, no abilities are implemented for the magenta carpet — ideas are welcome!
Who Counts as Companions
Companions include: players, villagers, iron golems, snow golems, wolves, cats, parrots, axolotls, llamas, horses, donkeys, mules, and foxes.