End Automata¶
End automata is a turtle with an End Mechanic Soul upgrade. This upgrade has all of the abilities of a Weak Automata plus its own additional abilites:
• Teleport between saved locations
• Save a location as a warp point
Peripheral Name | Interfaces with | Has events | Introduced in |
---|---|---|---|
endAutomata | World | No | 0.7r |
How to craft¶
To create an end soul, you need to feed 10 endermans via the feedSoul function to a weak automata core. The core needs to be placed inside the turtle into the current active slot(Usually the first one).
The turtle needs 10 endermans in total:
Mob | Amount |
---|---|
Enderman | 10 |
Step by Step:
- Create a weak automata turtle(A normal turtle with a weak automata core as upgrade)
- Place another weak automata core in the current active slot of the turtle
- run
weakAutomata#feedSoul()
for every enderman while the enderman is in front of the turtle
Example
core = peripheral.find("weak_automata")
successful, message = core.feedSoul()
print(successful)
print(message)
Functions¶
points¶
points() -> table | nil, string
savePoint¶
savePoint(name: string) -> true | nil, string
name
which can be teleported to at a future point in time.Returns true if the location is successfully saved, or nil and an error message.
distanceToPoint¶
distanceToPoint(name: string) -> number | nil, string
getWarpCooldown¶
getWarpCooldown() -> number
estimateWarpCost¶
estimateWarpCost(name: string) -> number | nil, string
name
. Or nil and an error message.
warpToPoint¶
warpToPoint(name: string) -> true | nil, string
name
.Returns true if the turtle is successfully teleported or nil and an error message.
Changelog/Trivia¶
0.7r
Added the End Automata