Skip to content

AI Tasks

NorthWestTrees edited this page May 8, 2023 · 1 revision

Overview

This page will have more information about AI tasks for all of the entities in the modification.

Advanced

Code Snippet: Closed Door Navigation

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);
Clone this wiki locally