Dragon's have little to no IQ and are in desperate need of an AI overhaul
MWall541 opened this issue · 5 comments
Steps to Reproduce:
- throw useless lizard in wet liquid
- observe as it helplessly fucking drowns.
- thank you for coming to my tedtalk
Reformatting this issue to cover the baseline of AI in general. The issues that relate to this are as follows:
- Helpless Drowning
- Clueless flight patterns
- Forgetting to be a loyal pet (no following)
- Janky flight to ground path navigator changes
- Uses old and outdated GoalSelector system (as much as I hate the Brain system, gonna have to use it)
- Dragons tend to spin around in circles every now and then.
- Apparently they breed while flying. let's call it a feature! (but instead make some sort of circling animation(?) rather than face fucking)
Reported by NightScythe: (thanks!)
-
When dragons are aggroed, the rider loses any control of the dragon. Cannot fly away or escape, as the dragon tries to fly back and fight whatever damaged it.
-
Dragons will ignore owners and chase down enemies, or fly away from their owner randomly if aggroed.
These issues are hugely detrimental and often end up in pets getting killed- I.E. If a more dangerous mob hits your dragon while riding it, you cannot fly away and it will aggro and attack it while you're on it, and you lose control, meaning the dragon or both of you will die. Also an issue with two players, as if one accidentally hits the other, their dragons will fight to the death and ignore their owners, even if the hit/aggro was many minutes ago and the dragons have only just come into aggro range.
I have a little story that might pertain to this. When returning to my base one day on my Water Dragon, I saw something (Silver Glider I think. This was a while ago) so I got off before I actually landed my dragon, and my Water Dragon just continued flying into the sunset. Didn’t teleport back or turn around. Never saw my Water Dragon again. I don’t think my dragon was aggroed either, as I only took fall damage and there were no hostile mobs around. This was 1.16.5 by the way, so it may have been fixed by more recent updates?
My dragons arent breeding ive waited hours but they are still refusing to breed they get the heart but then the hearts disappear right away and the are no reproducing is this an AI issue?
After waiting over an hour for the egg to hatch, my baby ice dragon proceeded to wander to the nearest wall, then after growing 1 stage proceeded suffocate itself. Before I could free it from the 2 pixels of cobblestone, it died of suffocation.
Maybe improve AI to path away from a suffocation situation when it is not being ridden, or make the bounding box collision with blocks better. Not sure how to program it, but it is a feature request.