action

package
v0.0.0-...-93368d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2015 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package action is used with packet BlockAction (0x36).

Source: http://wiki.vg/Block_Actions

Index

Constants

View Source
const (
	NoteBlockHarp = iota
	NoteBlockDoubleBass
	NoteBlockSnareDrum
	NoteBlockClicksSticks
	NoteBlockBassDrum
)

Note Block: It shows the note particle being emitted from the block as well as playing the tone. - Byte 1: Instrument type. - Byte 2: Note pitch 0~24 (low-high). More information on Minecraft Wiki.

View Source
const (
	PistonPush = iota
	PistonPull
)

Piston - Byte 1: Piston state - Byte 2: Direction (constants/block/directionsee BlockDirection

View Source
const (
	PistonDirDown = iota
	PistonDirUp
	PistonDirSouth
	PistonDirWest
	PistonDirNorth
	PistonDirEast
)
View Source
const (
	ChestClosed = iota
	ChestOpen
)

Chest: Animates the chest's lid opening. Notchian server will send this every 3s even if the state hasn't changed. - Byte 1: Not used. Always 1 - Byte 2: State of the chest

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL