Class WardenNodeEvaluator

java.lang.Object
net.minecraft.world.level.pathfinder.NodeEvaluator
net.minecraft.world.level.pathfinder.WalkNodeEvaluator
net.frozenblock.wilderwild.entity.ai.warden.WardenNodeEvaluator

public class WardenNodeEvaluator extends net.minecraft.world.level.pathfinder.WalkNodeEvaluator
  • Field Summary

    Fields inherited from class net.minecraft.world.level.pathfinder.WalkNodeEvaluator

    SPACE_BETWEEN_WALL_POSTS

    Fields inherited from class net.minecraft.world.level.pathfinder.NodeEvaluator

    canFloat, canOpenDoors, canPassDoors, canWalkOverFences, currentContext, entityDepth, entityHeight, entityWidth, mob, nodes
  • Constructor Summary

    Constructors
    Constructor
    Description
    WardenNodeEvaluator(boolean prefersShallowSwimming)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    int
    getNeighbors(net.minecraft.world.level.pathfinder.Node @NotNull [] successors, @NotNull net.minecraft.world.level.pathfinder.Node node)
     
    @NotNull net.minecraft.world.level.pathfinder.PathType
    getPathType(net.minecraft.world.level.pathfinder.PathfindingContext context, int x, int y, int z)
     
    @NotNull net.minecraft.world.level.pathfinder.Node
     
    @NotNull net.minecraft.world.level.pathfinder.Target
    getTarget(double x, double y, double z)
     
    protected boolean
     
    void
    prepare(@NotNull net.minecraft.world.level.PathNavigationRegion level, @NotNull net.minecraft.world.entity.Mob mob)
     

    Methods inherited from class net.minecraft.world.level.pathfinder.WalkNodeEvaluator

    canStartAt, checkNeighbourBlocks, findAcceptedNode, getCachedPathType, getFloorLevel, getFloorLevel, getPathTypeFromState, getPathTypeOfMob, getPathTypeStatic, getPathTypeStatic, getPathTypeWithinMobBB, getStartNode, isDiagonalValid, isDiagonalValid, isNeighborValid

    Methods inherited from class net.minecraft.world.level.pathfinder.NodeEvaluator

    canFloat, canOpenDoors, canPassDoors, canWalkOverFences, getNode, getNode, getPathType, getTargetNodeAt, isBurningBlock, setCanFloat, setCanOpenDoors, setCanPassDoors, setCanWalkOverFences

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • WardenNodeEvaluator

      public WardenNodeEvaluator(boolean prefersShallowSwimming)
  • Method Details

    • prepare

      public void prepare(@NotNull @NotNull net.minecraft.world.level.PathNavigationRegion level, @NotNull @NotNull net.minecraft.world.entity.Mob mob)
      Overrides:
      prepare in class net.minecraft.world.level.pathfinder.WalkNodeEvaluator
    • done

      public void done()
      Overrides:
      done in class net.minecraft.world.level.pathfinder.WalkNodeEvaluator
    • getStart

      @NotNull public @NotNull net.minecraft.world.level.pathfinder.Node getStart()
      Overrides:
      getStart in class net.minecraft.world.level.pathfinder.WalkNodeEvaluator
    • getTarget

      @NotNull public @NotNull net.minecraft.world.level.pathfinder.Target getTarget(double x, double y, double z)
      Overrides:
      getTarget in class net.minecraft.world.level.pathfinder.WalkNodeEvaluator
    • getNeighbors

      public int getNeighbors(net.minecraft.world.level.pathfinder.Node @NotNull [] successors, @NotNull @NotNull net.minecraft.world.level.pathfinder.Node node)
      Overrides:
      getNeighbors in class net.minecraft.world.level.pathfinder.WalkNodeEvaluator
    • isAmphibious

      protected boolean isAmphibious()
      Overrides:
      isAmphibious in class net.minecraft.world.level.pathfinder.WalkNodeEvaluator
    • getPathType

      @NotNull public @NotNull net.minecraft.world.level.pathfinder.PathType getPathType(net.minecraft.world.level.pathfinder.PathfindingContext context, int x, int y, int z)
      Overrides:
      getPathType in class net.minecraft.world.level.pathfinder.WalkNodeEvaluator