Allay for 1.17.1/1.18.1/1.18.2 forge
This mod is a re-creation of the Allay, a cute little mob introduced to us by Mojang, who is planned to be featured in Minecraft 1.19.
It spawns in flower forest biomes(this can be changed in the config), is attracted to Note blocks and will dance around them until it receives an item from you.
Giving the Allay an item will request him to search for more of the same item. After picking up more items it will return to the Note block where it was dancing, and look again for items.
The Allay will return to its note block if: - it searched for more than 3 minutes
It will drop its items if the player right clicks on it with an empty hand
News in Allay v2.0
1. Dyeing - you can color any allay with dye items now
2. Glowing - you can make them glow by right clicking on them with a glow ink sac - glow effect can be removed by right clicking on them with a regular ink sac
3. AI movements fixes - now the allay won't start wandering around after dropping the collected item(s).
4. Collecting items improved - now the allay will first check if there is more item that it can collect in the near and will only head back to drop the item(s) if he can't find any.
5. The allay is now less transparent.
6. The Size has increased a bit.
These were suggested by thanos123321igetitok from curseforge and by Enderjora from planetminecraft
News in Allay v3 * (ONLY AVAILABLE FOR 1.17.1, 1.18.1 and 1.18.2)
-allays can be tempted with cookie, disc, jukebox and noteblock -they are tamable and breedable with cookies -after its tamed you can remove its saved noteblock position by clicking on it with an empty hand -there are 2 models for the allay and can be selected by changing the model value to 0 or 1 in the common config
(The second model was made by: ekolezio)
Config option for spawn rule
-default option is true
-if set to true, then it will spawn like monsters, only at night
-if set to false, then it will spawn like normal animals
-if you want a mob to spawn in another mods biome: You have to change the biome_name line: For example to: biome_name = "modid:name_of_the_biome"
To let it spawn in more biomes you have to put a comma (,) between the biome names like this: biome_name = "modid:name_of_the_biome,minecraft:desert,minecraft:flower_forest"
(You have to restart the game to let the config changes happen)
Please let me know if you find any bugs. Thanks for downloading my mod!

|
Hello excuse me but do you accept ideas here aswell ?
In reply to alexandru20111:
Hi
Suggestions are always welcome for any of my mods so yeah :)
In reply to YourDailyModderx:
Well in that case. I suggest Golden Berries.
In which are like Golden Carrots except you craft them from berries instead of carrots.
had to remove the mod due to lag issues from spawning to many... tried to turn it down and still didnt stop.
In reply to Ceasar2424:
Hi,
I made a spawn rule for the allay in the v3.1 version of the mod.
The spawn rule can be changed in the config.
-default option is true
-if set to true, then it will spawn like monsters, only at night
-if set to false, then it will spawn like normal animals
I tested the mod out with generating a single biome world with flower forest as a biome.
And saw only 1 allay after 15 min so now they should be a bit more balanced.
And i changed the default biome_name value to flower_forest so they will spawn only there at default.
Hey, Thank you for the great work! I reall love to see those little creature back again! Especially their smiling faces when found a note block!
However here's a thing I've gotta say...
In my game(BetterMinecraftV19) I settled in a forest biome which next to the sea, and forest is the only biome that be set in the config file.
I set up a chicken ranch, invite a little allay, place a note block, gave her an egg, watching her dancing gladly.
Then I back to mine to get some daily motivation. When I come back, like 5 minutes only after, I saw a doomsday.
First of all, I've already saw the comment from that poor guy on 59#, so I have the config with [weight=1, min=0,max=1], and I thought that will be fine.
But I saw a fleet of allay spiraling around my ranch, those allay, with an egg in hand each, smiling face. Just like they're Kirov Airship in fact and gonna bombard my entire house by throwing eggs.
Due to obviously lag I launch a profiler, found the allay fleet is torturing my cpu0: ProfilerScreenshot.
(Afterall, it's a really really fantastic mod..)
In reply to keeptpa:
Hi,
Thanks for the feedback! :D
You can set any biomes in the config with changing the biome_name value, for example like this:
"minecraft:flower_forest,minecraft:desert"
I updated the mod. In v3.1:
i changed the default biome_name in the config to flower forest.
And created a config option for the spawn rule
-default option is true
-if set to true, then it will spawn like monsters, only at night
-if set to false, then it will spawn like normal animals
I tested the mod out with generating a single biome world with flower forest as a biome.
And saw only 1 allay after 15 min so now they should be a bit more balanced.
If you still have lag issues with the newer version then the only problem might be the search functions that the allays are using to find noteblocks and items.
I will then change their range to a lower number.
Currently they are searching in a 20 block distance.
Hi, I can't figure out how to actually SPAWN the allay. Is it a spawn egg? A command? Or just naturaly?
In reply to ItsTacoSloth:
Hi
You can find the spawn egg for it in the misc. tab.
It naturally spawns in forest biomes.
You can change the spawn setting for the allay in the common config.
For example the spawn chance, minimum number of allays in a group, maximum number of allays in a group, biome name where it should spawn PER chunk.
Help, Allays have taken over my server. They wont stop spawning. I have the configs set to:
weight = 1
min = 0
max = 1
But getting like 1000 spawned per hour. What settings do I have to use to get the spawn rate lower, much much lower?
In reply to marclester:
Hi
Thats weird. I will check it out too.
Which version are you using?
If you are using the v3.0 version for the mod then what is the value for the biome_name in your config.
If you change the config while running the game then sadly you have to restart the game for the spawn rate config to take effect.
And config changes apply only for newer worlds after changing the config.
Are they spawning everywhere or just in the forest?
In reply to yourdailymodderx:
The spawn is set to the forest in the config. I'm using Better Minecraft 1.18 Forge v19. I turned the weight, min and max all to 0 and the don't spawn anymore. Can decimals be used in those settings? What does each setting mean?
In reply to marclester:
Thanks for the info!
Weight is the spawn chance per chunk.
The more the number the higher will be the chance for the mob to spawn before other mobs so if its set to a biome that doesnt have any mobs then there it will spawn many allays.
Min is the minimum number of mobs in a group per chunk.
Max is the maximum number of mobs in a group per chunk.
This does not accept decimals.
Sadly if it spawns many mobs like this, then the only way for me to decrease their number is to make spawn rule.
For example they can only spawn when its dark like how monsters are done or
they can only spawn on a specified block, but this can give some problem.
For example they are set to spawn in the desert, but its spawn rule says to only spawn on grass blocks.
So i will then do more options in the config for the spawn rule.
In reply to yourdailymodderx:
That makes sense. We have a bunch of those mega torches that prevent hostile mobs from spawning. So since no mobs were spawning, they would spawn in full force!
In reply to marclester:
I will make them spawn only in dark then.
In reply to marclester:
Hey!
Its a bit late but i updated the mod.
i changed the default biome_name in the config to flower forest.
And created a config option for the spawn rule
-default option is true
-if set to true, then it will spawn like monsters, only at night
-if set to false, then it will spawn like normal animals
If you still have lag issues with the newer version then the only problem might be the search functions that the allays are using to find noteblocks and items.
I will then change their range to a lower number.
Currently they are searching in a 20 block distance.
The color of allay in 1.12.2 changes back to dark blue, and the allay will not stop and dance on the note block. Will this bug be fixed?
In reply to minxuanchua:
yes
In reply to yourdailymodderx:
I suddenly thought that allay can be dyed by itself, so if the color of allay named jeb_allay becomes rainbow XD
In reply to yourdailymodderx:
by the way the allay for 1.12.2 is V3.0 right?