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, entityDepth, entityHeight, entityWidth, level, mob, nodes
  • Constructor Summary

    Constructors
    Constructor
    Description
    WardenNodeEvaluator(boolean prefersShallowSwimming)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    @NotNull net.minecraft.world.level.pathfinder.BlockPathTypes
    getBlockPathType(@NotNull net.minecraft.world.level.BlockGetter level, int x, int y, int z)
     
    @NotNull net.minecraft.world.level.pathfinder.Target
    getGoal(double x, double y, double z)
     
    int
    getNeighbors(net.minecraft.world.level.pathfinder.Node @NotNull [] successors, @NotNull net.minecraft.world.level.pathfinder.Node node)
     
    @NotNull net.minecraft.world.level.pathfinder.Node
     
    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, evaluateBlockPathType, findAcceptedNode, getBlockPathType, getBlockPathType, getBlockPathTypeRaw, getBlockPathTypes, getBlockPathTypeStatic, getCachedBlockType, getFloorLevel, getFloorLevel, getStartNode, isBurningBlock, isDiagonalValid, isNeighborValid

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

    canFloat, canOpenDoors, canPassDoors, canWalkOverFences, getNode, getNode, getTargetFromNode, 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
    • getGoal

      @NotNull public @NotNull net.minecraft.world.level.pathfinder.Target getGoal(double x, double y, double z)
      Overrides:
      getGoal 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
    • getBlockPathType

      @NotNull public @NotNull net.minecraft.world.level.pathfinder.BlockPathTypes getBlockPathType(@NotNull @NotNull net.minecraft.world.level.BlockGetter level, int x, int y, int z)
      Overrides:
      getBlockPathType in class net.minecraft.world.level.pathfinder.WalkNodeEvaluator