Animania Cats & Dogs

Animania Cats & Dogs

454k Downloads

Death by starvation while the animal is asleep & sometimes even with sleeping disabled

katubug opened this issue ยท 5 comments

commented

Expected Behavior

Either that status decay doesn't affect sleeping animals, or that an animal close to death will wake up to eat/drink.

Actual Behavior

The animal dies in its sleep due to low status.

Steps to Reproduce

The config should have the following values set like so:

        # Animals do not have to eat or drink
        B:ambianceMode=false
        # Animals sleep
        B:animalsSleep=true
        # Animals starve to death when not fed and watered
        B:animalsStarve=true

Then, place down some animals and tame them. Provide them with an automated or well-monitored source of food and water to ensure they always have the ability to eat.

Version of Minecraft, version of Animania, Single Player or Server

  • Minecraft version: 1.12.2
  • Forge version: forge-1.12.2-14.23.5.2838-universal
  • Modpack version (links to current modlist): 1.7.3
  • Mod versions: Animania 1.7.2, CraftStudioAPI 1.0.1.95

Additional notes:

Since this has been discussed a few times, here are some conversation excerpts:

The_Apothecary
-Hey; so this has been happening a fair bit over the past few hours for me and the previous day. My animals, first a batch of sheep, then a batch of pigs and now finally some goat Doe, keep on randomly perishing before my very eyes.

-I am unsure if they're simply starving themselves to death, but for some reason one refuses to eat or drink out of troughs and I have to do it manually. This is the case for one of them, oddly enough, this is the only one that survived.

-When I went to sleep, I had a hog in his own pen with salt, straw, water and slop. In the pen over, I had two goat doe; again. Straw, Salt lick, Two troughs, one with water and one with corn. The hog had been around for a few hours in game so i didn't think there was anything wrong. I went to sleep in game and upon waking up there was only two floating pork chops in the hog's pen and one of the doe (The one that didn't require manual feeding) had also seemingly perished.

katubug
-@The_Apothecary , if you put a nametag on your animals and leave your game open, the chat log will alert you to how they died. It'll say "Agatha suffocated in a wall!" or something similar. That way you can at least tell whether they're starving or not.

The_Apothecary
-Okay, thank you

The_Apothecary
-They appear to be dying in their sleep from hunger and thirst.

And, from my server:

StarspunWolf
-Hmm, I just started putting some of my Animania animals out into their pens today. They have plenty of water and food (I double-checked) and yet one of my bulls already starved to death, right next to the food trough full of wheat. Thought you'd want to know!
-Another cow just died now--they were asleep and that's why? (It's night)
fwiw I'm going to net/lasso them up for now, so I probably won't be reporting more deaths, but I figured "cows (idk if other animals) starve if sleeping" might be important
-...yeah, pigs just died (again, because of sleeping) before I could grab them.

It is possibly related to this old issue: #99

But I'm unsure.

commented

I have another update. I may have been too hasty in saying there were no further issues with troughs at all. On our server, we disabled sleeping but have still had numerous animals of varying species (for sure peacock/hen, chicken, goat, cow) starve to death.

I was working on things in singleplayer and so set up a quick test environment to run while I was doing other stuff:

2019-10-04_17 33 35

I have sleep disabled serverside. Both cows have died, but for now the peacock and chicken are fine. I'm going to put down some pigs where the cows were and see if they're affected as well. If I find anything, I'll report back.

Edit: pigs died.

2019-10-04_19 03 10

commented

Just to be certain the issue was as reported, I ran 2 tests. In the first one, sleeping was set to false. There were 2 animals provided with unlimited food and water, the other 2 were provided with nothing.

In the first test, only the animals without food and water died, the other 2 were fine. In the second test, all 4 animals died.

Here are the log excerpts: https://pastebin.com/ACdjcd4F

And here's a screenshot from after the second test, showing that the troughs and water hole were filled:
2019-10-04_14 04 38

commented

I saw in the faq that the issue may be lack of space. I was testing in small quarters to prevent animals from wandering out of search range for food and water, but I'll test again with larger enclosures, if that'll help!

commented

Would this be enough space? Ignore the Peacock part - it escaped and wandered off somewhere. However, Ebenezer and Ichabod (pig and cow, respectively) both starved despite sleeping being turned off, and carrots/wheat/water being provided 100% of the time.

2019-10-05_14 46 32

commented

Update
In the same enclosure as above, I put a water trough down instead of the 2x2 pond. That seemed to stop the cows from dying, but not the pigs. I'm testing again with slop instead of carrots.

Edit: Nope, the pigs are still dying. And so are the cows, although bizarrely some of them are fed enough to breed. It's mostly been the unnamed ones starving, which is why I didn't realize it at first.

So, I'm stumped.