
Allay Follow Always
Allays will follow the player that gave them an item always, even through portals.
About this Mod
Allay Follow Always
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 behaviourFOLLOW- 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
thanleashSlowDownDistanceStart
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
Next steps
Implement a test runner?
https://github.com/Geometrically/fabric-test-runner
Additional reading (for devs)
- Fabric wiki
- List of fabric events
- TODO Check this out: https://github.com/jaredlll08/MultiLoader-Template
- Set up your IDE using
gradle ideaSyncTaskto generate IDEA run configs
Available Versions
How to Install Allay Follow Always on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).
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
Minecraft Versions
1.21.11, 1.21.10, 1.21.9 (+21 more)
Server-side
✓ RequiredRecommended 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.
Similar Mods
Rent Modded Server
Install Allay Follow Always with just one click on your server.