Totem of Allying

Quick rating

Totem of Allying

No reviews yet

Use a Totem of Allying to teleport your tamed animal to you, across any distance and dimension!

Adventure/Exploration
QoL & Tweaks
Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
MIT License
Latest Version
totem-of-allying-1.1.0+1.21.11.jar
Authors
CurseForge
Modrinth

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID
Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

This mod adds a simple item: the Totem of Allying.

After using one on a tamed animal, a bond is created between the two. When right-clicking a bonded Totem of Allying, the animal assigned to it will teleport to you.

Totems of Allying have a usage cooldown of three seconds.

This mod requires the Fabric API.

totem of allying use

Requirements

Players can use any Totem of Allying, even if its bonded animal is not owned by them.

In order for Totems of Allying and animals to be bonded,

  1. The totem must not be bonded to another entity
  2. The animal must be either tamed by the player using the totem, or tamed and not have a set owner

An exception to this is the Happy Ghast, which is not tameable. Any player can bond their totems to any happy ghast.

Totems of Allying can only be unbonded if their corresponding animal dies.

Bondable Mobs

Mobs which can be bonded to Totems of Allying include:

  • Any vanilla tameable animal (horses, cats, etc.)
  • Happy ghasts
  • Allays that like the player
  • Any modded tameable entity (hopefully)!

Tooltip

When hovering over a bonded Totem of Allying, you will see the animal's name, or its entity type if it has no custom name. If the given animal has its named changed, you can right-click it again with the totem to update the tooltip.

totem of allying component

Animal Death

If a bonded animal dies (or used to be in a non-existent dimension and cannot be retrieved), its corresponding Totem of Allying will become unbonded.

Crafting

The Totem of Allying has the following shapeless crafting recipe:

two diamonds, one ender pearl, one totem of undying

/owner Command

As many mods and data packs add pregenerated tamed animals in structures, some of them may have an absent Owner. Because of this, a new admin command is added: /owner.

Syntax

Sets an animal's owner, tames the mob if untamed.

/owner [animal] set [new-owner]

Removes an animal's owner, untames the mob if tamed.

/owner [animal] clear

Technical Details

When a Totem of Allying is used to teleport a mob, it will first check if that entity is loaded. If it's not, it will forcibly load the chunk it's in and wait until the mob is loaded to teleport it. If the mob cannot be found within 10 ticks after the chunk has been loaded, it will be marked as dead and the totem will be unbonded. After either event, the chunk will become unloaded.

Totems of Allying work across vanilla and modded dimensions. They can be bonded to modded entities as well, as long as each mob implements the Tameable interface.

In order for the /owner command to work correctly, modded entities should also inherit from either the TameableEntity or AbstractHorseEntity classes. Even if not, though, the command will still try to access the Owner and Tame NBTs as a fallback.

Feel free to use this mod in your modpacks!

This mod adds a simple item: the Totem of Allying.

After using one on a tamed animal, a bond is created between the two. When right-clicking a bonded Totem of Allying, the animal assigned to it will teleport to you.

Totems of Allying have a usage cooldown of three seconds.

This mod requires the Fabric API.

totem of allying use

Requirements

Players can use any Totem of Allying, even if its bonded animal is not owned by them.

In order for Totems of Allying and animals to be bonded,

  1. The totem must not be bonded to another entity
  2. The animal must be either tamed by the player using the totem, or tamed and not have a set owner

An exception to this is the Happy Ghast, which is not tameable. Any player can bond their totems to any happy ghast.

Totems of Allying can only be unbonded if their corresponding animal dies.

Bondable Mobs

Mobs which can be bonded to Totems of Allying include:

  • Any vanilla tameable animal (horses, cats, etc.)
  • Happy ghasts
  • Allays that like the player
  • Any modded tameable entity (hopefully)!

Tooltip

When hovering over a bonded Totem of Allying, you will see the animal's name, or its entity type if it has no custom name. If the given animal has its named changed, you can right-click it again with the totem to update the tooltip.

totem of allying component

Animal Death

If a bonded animal dies (or used to be in a non-existent dimension and cannot be retrieved), its corresponding Totem of Allying will become unbonded.

Crafting

The Totem of Allying has the following shapeless crafting recipe:

two diamonds, one ender pearl, one totem of undying

/owner Command

As many mods and data packs add pregenerated tamed animals in structures, some of them may have an absent Owner. Because of this, a new admin command is added: /owner.

Syntax

Sets an animal's owner, tames the mob if untamed.

/owner [animal] set [new-owner]

Removes an animal's owner, untames the mob if tamed.

/owner [animal] clear

Technical Details

When a Totem of Allying is used to teleport a mob, it will first check if that entity is loaded. If it's not, it will forcibly load the chunk it's in and wait until the mob is loaded to teleport it. If the mob cannot be found within 10 ticks after the chunk has been loaded, it will be marked as dead and the totem will be unbonded. After either event, the chunk will become unloaded.

Totems of Allying work across vanilla and modded dimensions. They can be bonded to modded entities as well, as long as each mob implements the Tameable interface.

In order for the /owner command to work correctly, modded entities should also inherit from either the TameableEntity or AbstractHorseEntity classes. Even if not, though, the command will still try to access the Owner and Tame NBTs as a fallback.

Feel free to use this mod in your modpacks!

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Total Downloads
CurseForge
<1,000
Modrinth
<1,000
Last Updated
CurseForge
Modrinth
Created
CurseForge
Modrinth
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works