use of net.minecraft.entity.ai.pathing.PathNodeMaker in project LittleMaidReBirth-Fabric by SistrScarlet.
the class FixedMoveControl method canWalkable.
protected boolean canWalkable(int x, int y, int z) {
EntityNavigation nav = this.entity.getNavigation();
PathNodeMaker pathNode = nav.getNodeMaker();
return pathNode.getDefaultNodeType(this.entity.world, x, y, z) == PathNodeType.WALKABLE;
}
Aggregations