From ComputerCraftJump to navigation Jump to search
Attacks the entity in direction and range
- The turtle can only attack when it has a tool and when a mob is in its range.
|See if it was able to hit the entity it targeted|
local didHit = turtle.attack() print(didHit)