RealisticHusbandry - my first plugin about taking care of your animals

  • Thread starter Thread starter /u/FingersSnapper
  • Start date Start date
U

/u/FingersSnapper

Guest
RealisticHusbandry - my first plugin about taking care of your animals

On Friday on r/Minecraft, I read an idea about animals gaining/losing weight depending on the conditions/environment around them and calculating loot based on the animal's weight. As an ex-Java developer, I was thinking for some time about contributing to one of the existing plugins I use on my Spigot server, but the idea seemed so good that I decided to give it a try and try to build my first plugin from scratch.

Three evenings and 20 hours later, I've already published two versions of it to SpigotMC, and I would like to share it with the community, get feedback, ideas, and maybe even new users😄

Plugin name: RealisticHusbandry (link to plugin at SpigotMc)

RealisticHusbandry plugin banner

Description

Animals living in good conditions are happier and gain weight faster. The happier (and the heavier) they are, the more loot they give when you kill them. Neglect their conditions and they even may loose weight and stop giving you any loot! Every morning server analyzes conditions your animals are living and calculates their growth rate (positive or negative) based on several conditions.

  • keep them healthy: animals with health lower than 60% do not grow at all, the closer their health is to 100%, the faster their growth is
  • give them space: too crowded pastures prevent animals from being happy and growing
  • avoid unhealthy conditions, as animals may loose weight and even do not drop anything when they are too thin
  • check state of animal by right-clicking on it
  • (coming soon!) provide them with water: animals with direct access to water grow faster
  • (coming soon!) give them food: animals with direct access to hay grow faster
  • (coming soon!) animals on grass are happier and grow faster

Also planned:

  • adjust number of eggs, wool and milk based on animals happiness and weight
  • animals that are too old do not provide products at all
  • increase growth rate when farmer villager is near by

As this is my first plugin, any comments/feedback/anything is more than welcome!

submitted by /u/FingersSnapper
[link] [comments]

Continue reading...
 
Back
Top