Started by
scrumbert
on
Topic category: Troubleshooting, bugs, and solutions
heyyy.
so im new here, and ive been having some issues revolving around the ai and goals a of a mob.
whenever i make goal of opening, breaking,closing doors or entering indoors, it just straight up doesn't work.
when i changed its base ai to villager, i thouhgt it worked for a moment but it make the ai count as a villager, and i want this to be a night mob that slowly hunts for the player.
if there is any fix 2 this or way i could directly port some of the goal code throgh a snipper, that would be wicked
otherwise, i guess ill have to scrap it :(((
if it doesn't work any way to detect/automatically break doors would also be cool, preferably on tick update
who is Ai?
AI is Artificial Intelligence. That is, artificial robot
In MCreator. It used for Pathfinding of a entity. wich is make the entity can walk
no I was asking about this girl named Ai. I was also gonna ask did they mean A.I. like artificial intelligence
Are you thinking Hoshino Ai?
Hi there,
I have recently made a mod where I have custom knight like mobs in the game. They are neutral towards the player, but I think my code may be compatible with your entity/mob.
Make sure that the "Open Doors" block is in high priority, if this is lower than other blocks like "Wander around", or "Attack on sight" It will priorities these blocks/tasks before opening doors. I usually put "Open doors" above all of the blocks besides do "Melee attack". This will enable the entity to move freely/chase but, when met with a door it will priorities opening the door first and then carry on chasing/following the target. This will also work with "Break door" and "Close Door", a note on "Close Door", I have found that even if you just at "Open door" It will still Open the door, go through and close it behind itself. I hope this helped.
If you have anything else to ask or other problems arise, or even if the answer I gave you didn't work, message me freely. :)
Happy coding!
no I was thinking the character Ai from the Animal crossing film: https://animalcrossing.fandom.com/wiki/Ai
update:
it seems like its just messed up on 1.19.2
tried it on 1.20.1 and it worked
kill me
Hi! opening doors is my entity's current top priority, but it still prioritizes CLOSING doors than opening them... This seems to be happening to all the entities with all the village related triggers, is this just me?