From ComputerCraftJump to navigation Jump to search
Attacks the entity over the turtle
- 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)