action

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action interface {
	// contains filtered or unexported methods
}

Action represents an action that may be performed by a block. Typically, these actions are sent to viewers in a world so that they can see these actions.

type Close

type Close struct {
	// contains filtered or unexported fields
}

Close is an action to close a block at a position, complementary to the Open action.

type Open

type Open struct {
	// contains filtered or unexported fields
}

Open is an action to open a block at a position. It is sent for blocks such as chests.

type StartCrack

type StartCrack struct {
	BreakTime time.Duration
	// contains filtered or unexported fields
}

StartCrack is an action to make the cracks in a block start forming, following the break time set in the action.

type StopCrack

type StopCrack struct {
	// contains filtered or unexported fields
}

StopCrack is an action to make the cracks forming in a block stop and disappear.

Jump to

Keyboard shortcuts

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