Accidents happen — a stray sword swing while fighting mobs can instantly kill a tamed animal sitting nearby, or upset a villager you depend on for trades. Asset Protection intercepts every attack event before it reaches the server and cancels it if the target is one of your tamed animals or any villager, keeping your companions and trading partners safe without requiring you to re-bind or sheathe your weapon.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/qualk/take-care/llms.txt
Use this file to discover all available pages before exploring further.
Enabling the module
Settings
All three settings are enabled by default and can be toggled independently to suit your playstyle.Protects your tamed animals from your attacks. When enabled, any attack you land on an
OwnableEntity whose owner UUID matches your own player UUID is silently cancelled, covering all tameable mob types.Protects villagers from your attacks. When enabled, attacks against any
AbstractVillager — including regular villagers and wandering traders — are cancelled regardless of ownership.Plays the invulnerable hit sound (
PLAYER_ATTACK_NODAMAGE) when you try to attack a protected entity. This provides immediate audio confirmation that the attack was blocked, so you are never left wondering whether the module is working or the entity simply has high health.Sound feedback
Whenmimic-invulnerability is enabled, Meteor plays the standard Minecraft “no damage” hit sound locally on your client the moment a protected attack is cancelled. This is the same dull thud you hear when hitting an entity that is temporarily invulnerable after taking damage, so it blends in naturally without being jarring. The sound is played only for you — no packet is sent to the server — and it fires at full volume (1.0) and default pitch (1.0).
How it works
Asset Protection registers a Meteor event handler onAttackEntityEvent. The event is fired client-side before the attack packet is sent, so cancelling it prevents any damage from reaching the server entirely.
AssetProtection.java
OwnableEntity#getOwnerReference() and compares the stored UUID against mc.player.getUUID(), so only animals you personally tamed are protected — other players’ pets on a multiplayer server are unaffected.