Compatibility
Minecraft: Java Edition
Platforms
Supported environments
Tags
Creators
Details
Better Allay
Customize how allays differentiate potions and tipped arrows apart. Optionally make allays pick up items even when mob griefing is off, set how long an allay stays at a noteblock, or bind it to the noteblock permanently.
Features
- Potion and tipped arrow sorting: choose how allays differentiate potion variants (normal / splash / lingering) and tipped arrows apart, with 30 operation modes.
- Sort every variant of the same potion together, and optionally keep tipped arrows separate.
- Allays can ignore the mobGriefing gamerule, so they still pick up items when mob griefing is off.
- Set how long an allay likes a noteblock, or make it stay with the noteblock forever.
- Change settings in game with commands, no restart needed.
Commands and POTION_TYPES need mod version 1.5.0 or newer. The Fabric versions need Fabric API.
Commands
/betterallay- mod version/betterallay.HELP- help/betterallay.CONFIG- shows all current settings/betterallay.RELOAD_CONFIG- reloads the config file/betterallay.<SETTING> <value>- changes one setting, for example/betterallay.LIKES_NOTEBLOCK_TIME -1
Changing a setting needs operator level 3, on a dedicated server too. You can also edit the config file and run /betterallay.RELOAD_CONFIG.
Config
Usually (%appdata% -> .minecraft -> config -> betterallayconfig.properties)
| Setting | Default | Range | What it does |
|---|---|---|---|
| Operation_mode | 19 | 1 - 30 | How allays tell potions and tipped arrows apart, see the list below |
| POTION_TYPES | 1 | -1, 0, 1 | 1: normal, splash and lingering potions are sorted separately. 0: they are sorted together (lingering potion of regeneration goes with splash potion of regeneration). -1: potions are sorted together, but tipped arrows separately |
| Ignore_mob_griefing | 0 | 0, 1 | 1: allays ignore the mobGriefing gamerule. 0: they follow it like vanilla |
| Likes_noteblock_time | 30 | 5 - 107374182 | How long an allay likes a noteblock, in seconds. -1 binds the allay to the noteblock permanently |
Operation modes
Modes 1 - 4: allays see the difference in potion effect only. Potion of Strength is not the same as Potion of Regeneration, but Potion of Strength is the same as Potion of Strength II.
- 1 = potions
- 2 = splash potions
- 3 = lingering potions
- 4 = tipped arrows
Modes 5 - 8: allays see the difference in potion effect and level. Potion of Strength is not the same as Potion of Regeneration, and Potion of Strength is not the same as Potion of Strength II.
- 5 = potions
- 6 = splash potions
- 7 = lingering potions
- 8 = tipped arrows
Modes 9 - 30 combine them:
| Mode | Combines | Mode | Combines |
|---|---|---|---|
| 9 | 1 + 2 | 20 | 5 + 6 |
| 10 | 1 + 3 | 21 | 5 + 7 |
| 11 | 1 + 4 | 22 | 5 + 8 |
| 12 | 2 + 3 | 23 | 6 + 7 |
| 13 | 2 + 4 | 24 | 6 + 8 |
| 14 | 3 + 4 | 25 | 7 + 8 |
| 15 | 1 + 2 + 3 | 26 | 5 + 6 + 7 |
| 16 | 2 + 3 + 4 | 27 | 6 + 7 + 8 |
| 17 | 1 + 3 + 4 | 28 | 5 + 7 + 8 |
| 18 | 1 + 2 + 4 | 29 | 5 + 6 + 8 |
| 19 (default) | 1 + 2 + 3 + 4 | 30 | 5 + 6 + 7 + 8 |
FAQ
I have an issue / bug / crash / report / request, where can I contact you about it ?
Use my Discord server, you can join it here -> https://discord.gg/y366spsSjv
Can I put this mod into my modpack ?
Yes you can, but without reuploading/redistributing the mod as yours and giving credit where credit is due.
Does this mod support servers ?
Yes it does.
Can players use this mod to grief on servers ?
Absolutely not. This mod is required on server itself to work.


