Allay Follow Always

Allay Follow Always

Allays will follow the player that gave them an item always, even through portals.

by
3.3K Downloads
fabricgame-mechanicsmobsutility
Rent Server with this Mod

About this Mod

Allay Follow Always

Build

Allays will follow the player that gave them an item always, even through portals.

Installation

To install this plugin fabric, fabric API is required.

This mod is available on modrinth with slug allay-follow-always.
The project source is available on github/michiruf with the latest
readme here.

Usage instructions

Use the commands below to set values for the options of the mod.
The actual value can get queried by not specifying a new value for a specific option.

All available options will be displayed with the command /allayfollowalways options.
Commands require a permission level of 4.

Configuration options

Configure the follow range factor of the allay by multiplying this value with the vanilla follow range of allays.
As of minecraft 1.19 this range is 64.
rangeFactor defaults to 1.

/allayfollowalways rangeFactor [double]

Configure the allays movement speed factor, which gets multiplied by the allays vanilla movement speed.
movementSpeedFactor defaults to 1.

/allayfollowalways movementSpeedFactor [float]

Enable teleportation if further away than teleportDistance. This behaviour does not exist in vanilla.
teleportEnabled defaults to true.

/allayfollowalways teleportEnabled [boolean]

Set the minimum distance for the allay to teleport to the player.
teleportDistance defaults to 65.

/allayfollowalways teleportDistance [float]

If this is set to true, the default minecraft teleportation cooldown for portals will be used also for the teleportation of the allay.
A side effect is, that chunks may have to be loaded a little bit longer because the allay may not follow the player immediately after
switching dimensions.
Reasons to set this to true might be, that it is possible to push allays through portals. If set to false, they will be teleported back immediately.
considerEntityTeleportationCooldown defaults to false.

/allayfollowalways considerEntityTeleportationCooldown [boolean]

If set, the allay will not teleport when it is dancing.
teleportWhenDancing defaults to true.

/allayfollowalways teleportWhenDancing [boolean]

If set, the allay will not teleport to a player that is touching water.
avoidTeleportingIntoWater defaults to true.

/allayfollowalways avoidTeleportingIntoWater [boolean]

If set, the allay will not teleport to a player that is in lava.
avoidTeleportingIntoLava defaults to true.

/allayfollowalways avoidTeleportingIntoLava [boolean]

If set, the allay will not teleport to a player that inside a wall.
avoidTeleportingIntoWalls defaults to true.

/allayfollowalways avoidTeleportingIntoWalls [boolean]

The player leash mode configures how the allay will behave:

  • NONE - vanilla behaviour
  • FOLLOW - the allay will follow the player (like dogs do e.g.)
  • DIRECTIONAL_SLOW_DOWN - the allay will slow down if it is moving away from the player and being further away
    than leashSlowDownDistanceStart

playerLeashMode defaults to NONE


The reason this leash mode got implemented for, is that allays sometimes move out of the range of a leash and so break
that leash. This can be very annoying and so the generalLeashMode got introduced. The allay will behave like described
for the player leash mode above.
generalLeashMode defaults to DIRECTIONAL_SLOW_DOWN


The leash slow down distance start is the distance to start applying directional slow down. At exactly 6 distance, no
slow down is applied and then the more distance until leashSlowDownDistanceEnd the slowness increases.
leashSlowDownDistanceStart defaults to 6


The leash slow down distance end is the distance where the allay will have 0 movement speed if not facing the entity
that it is leashed to.
leashSlowDownDistanceEnd defaults to 8

Changelog

Changelog per release cycle can be found here.
This changelog contains information from one release to the next one.

License

MIT License

Next steps

Implement a test runner?
https://github.com/Geometrically/fabric-test-runner

Additional reading (for devs)

Available Versions

Allay Follow Always 1.3release
MC 1.21.3fabric
March 23, 2025
Allay Follow Always 1.3release
MC 1.19.2fabric
March 23, 2025
Allay Follow Always 1.3release
MC 1.21.2fabric
March 23, 2025
Allay Follow Always 1.3release
MC 1.20.3fabric
March 23, 2025
Allay Follow Always 1.3release
MC 1.20.2fabric
March 23, 2025

How to Install Allay Follow Always on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).

3

Install Mod

Open the mod browser in the dashboard and search for "Allay Follow Always". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

fabric

Minecraft Versions

1.21.11, 1.21.10, 1.21.9 (+21 more)

Server-side

Required

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Allay Follow Always server crashes on startup – what to do?

Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.11). You can switch loaders with one click in the panel.

Is Allay Follow Always compatible with fabric?

Allay Follow Always officially supports fabric for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Allay Follow Always – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Allay Follow Always consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Allay Follow Always with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
MIT License
Server-side
Required

Supported Versions

1.21.111.21.101.21.91.21.81.21.71.21.61.21.51.21.41.21.31.21.2+14 more