Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Values is all valid directions.
Functions ¶
This section is empty.
Types ¶
type Type ¶
type Type uint
Type is a direction in the minecraft world.
func FromString ¶
FromString returns the direction that matches the passed string if possible otherwise it will return Invalid.
func (Type) Clockwise ¶
Clockwise returns the direction directly in a clockwise rotation to this direction.
func (Type) CounterClockwise ¶
CounterClockwise returns the direction directly in a counter clockwise rotation to this direction.
Click to show internal directories.
Click to hide internal directories.