Open doors ai doesnt work

Started by scrumbert on

Topic category: Troubleshooting, bugs, and solutions

Last seen on 01:41, 15. Apr 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Open doors ai doesnt work

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 :(((

Last seen on 01:41, 15. Apr 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
if it doesn't work any way…
Wed, 12/13/2023 - 00:00

if it doesn't work any way to detect/automatically break doors would also be cool, preferably on tick update

Last seen on 07:09, 7. Mar 2024
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
AI is Artificial…
Wed, 12/13/2023 - 07:10

AI is Artificial Intelligence. That is, artificial robot

Last seen on 07:09, 7. Mar 2024
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
In MCreator. It used for…
Wed, 12/13/2023 - 07:12

In MCreator. It used for Pathfinding of a entity. wich is make the entity can walk

Last seen on 00:39, 1. Mar 2024
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
no I was asking about this…
Mon, 12/18/2023 - 01:07

no I was asking about this girl named Ai. I was also gonna ask did they mean A.I. like artificial intelligence

Last seen on 07:09, 7. Mar 2024
Joined Jul 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Are you thinking Hoshino Ai?
Thu, 12/21/2023 - 05:41

Are you thinking Hoshino Ai?

Last seen on 03:13, 25. Dec 2023
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi there, I have recently…
Fri, 12/22/2023 - 02:33

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!

Last seen on 01:41, 15. Apr 2024
Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
update: it seems like its…
Sun, 04/07/2024 - 23:06

update:

it seems like its just messed up on 1.19.2
tried it on 1.20.1 and it worked

kill me