modulepackage
0.0.0-20190722084834-458e29049328
Repository: https://github.com/shadowjonathan/mopher.git
Documentation: pkg.go.dev
# README
MOpher API, a golang API for minecraft
Current protocol:
316 (minecraft 16w50a/1.11.1/1.112)
The MOpher API is growing to be a minecraft API for golang bots, the current project is growing to be an self-sufficient, scriptable bot, but it's also intended to extend it into an importable API.
This API is still heavily in development and growing, it would be appriciated if you can help out a hand by posting a pull request or submitting an issue
Protocol definitions originate from the minecraft protocol wiki, and most of the code has been written and inspired from Thinkofname's minecraft client, with many changes and additions.
# Functions
No description provided by the author
No description provided by the author
points and checks the block your FEET want to be in.
No description provided by the author
No description provided by the author
dig this function will send two nil errors through the error chan, one when starting, and one when finished, a random bool can be thrown in the cancel channel, to completely stop the function and stop digging.
No description provided by the author
No description provided by the author
GetBlockByCombinedID returns the block with the matching combined id.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Liniar, constant movement, assumes no obstacles and tolerates no obstacles.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
swaps an item from one slot to another.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Valid blocks.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
base of most (if not all) blocks.
No description provided by the author
3x3x3 area around the block.
BlockSet is a collection of Blocks.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Block is a type of tile in the world.
BlockComponent is a component that defines the location of an entity when attached to a block.
BlockEntity is the interface for which all block entities must implement.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author