Skip to content
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.

Make the bot Recognize Signs #29

Open
AndrewBuck opened this issue Jan 27, 2016 · 3 comments
Open

Make the bot Recognize Signs #29

AndrewBuck opened this issue Jan 27, 2016 · 3 comments

Comments

@AndrewBuck
Copy link

The bot should remember the position of the sign (probably also which way it is facing) and also the text on the sign. We can use the signs to tell the bot about important locations like its home and also convenience locations for things like "go harvest wood near the lake" (putting a sign by the lake that says 'lake' until the bot learns to recognize a lake).

@fredyvilla
Copy link

Another possibility to achieve something similar would be to use chat events. You can teleport Bot, send a command to look at a coordinate, and then to remember the concept 'lake'

@AndrewBuck
Copy link
Author

Yes, chat is something we definitely want to do, and may actually have to do first. After I got the basics of locating signs in the code I went to investigate how the sign text is actually stored. Apparently it is stored in a so called 'block entity' which is extra data stored separate from the block data itself. Spockbot does not currently have any functions to read or access the block entity data, so this is going to be difficult if not impossible to implement for a while.

@Gjum
Copy link

Gjum commented Feb 1, 2016

SpockBotMC/SpockBot#214 implements block entities including signs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants