










I know another user created a version of the mod, but I was also working on my own version, and didn't want my work to go to waste, so here it is!
This entire idea was created by u/Axoladdy a couple of days ago, and I thought it was such a great idea! So, I decided to implement it.
What is this mod?
All animals have weights! Depending on the difficulty, the range is different, OR you can change the minimum and maximum in the config file, or config menu using mod menu.
An animal drops a duplicate loot pool for every weight value they have. So, if you kill a cow with a weight of 8, it will drop 8 cows worth of loot, it does this by simply generating 8 loot pools for killed cows and drops them all at once. It DOES account for fortune, making crazy outcomes.
If you have it enabled, animals can drop to a weight of 0 and get sick. Sick animals drop no loot and can't breed. They can get better by simply completing more tasks.
Gaining weight
Animals can gain weight by completing tasks they are randomly assigned, every 2 to 4 minutes. Tasks include but not limited to; "find water", "find shade", and "find friend". The animal will simply attempt to complete the task, and if they do, they get a passing value. For easy mode, they gain weight instantly, for normal and hard, they start gaining weight once they complete 2 tasks in a row. Again, these are all configurable if you don't like the way it works.
Losing Weight
Animals can lose weight by failing tasks. But that isn't the only thing that does so! Depending on the difficulty and settings that are enabled, animals lose weight when: The player punches them, or an animal sees another getting killed, or an animal is too close to a hostile mob (configurable for what hostile mobs qualify). This incentivizes the player to kill animals in one hit, instead of dealing multiple blows before it dies, as well as avoiding killing any animals in front of their friends, since that a terrible way to treat your livestock! Again, all these are configurable if you find that stupid.
Task Events
There are a total of 8 tasks that farm animals will randomly decide to complete:
– shade: find a spot without visible sky.
– sunlight: find a spot with visible sky.
– water: stand on dry land adjacent to water, including water one block below neighboring shoreline blocks.
– space: move away from nearby animals and find a clear 3×3 standing space without other animals in it.
– friend: move close enough to another same-type animal.
– light: find a spot with block light level `10` or higher above the animal.
– nap: stand on a configured soft block.
– stars: find a spot with visible sky.
Some tasks are only avaliable during the night or the day. Sunlight for example, is instead replaced with stars, though they are almost identical. Nap is only ever run at night. Shade is a daytime only task. Finally, light is a nighttime only task as well.
Rain
Animals will try to take cover during the rain and in a biome that isn't dry. When they are taking cover for rain, they will not get the "Space" task, since animals are more likely to be bundled up under cover. This is a feature that can be entirely disabled in the config.
Feedback
The mod is currently under review on modrinth, so I don't have a link to share yet, however, I would love feedback on everything I have showed you so far here in the pictures, and in what I described. Thank you for reading!
P.S. u/Axoladdy, I did put your name in the mod description!
Also, this is the link to the modrinth page: Salt's Animal Farm – It won't be available until it's approved by moderators.
by Salt_and_Fries
2 Comments
I love this idea, if you develop the mod to a full framework giving a sense to taking care of the animals in Minecraft, I’d love to play with it on the long term 🙂
Is this mod laggy? With lots of animals there are many tasks to check for right?