-
Notifications
You must be signed in to change notification settings - Fork 0
AI Tasks
NorthWestTrees edited this page May 8, 2023
·
1 revision
This page will have more information about AI tasks for all of the entities in the modification.
This advanced code snippet was given to me by Defeatomizer that allows entities to pathfind through closed doors. The code however enabled some other AI tasks like wander which can't really be avoided when using this script.
((GroundPathNavigation) this.getNavigation()).setCanOpenDoors(true);
((GroundPathNavigation) this.getNavigation()).setCanPassDoors(true);