package
0.0.4
Repository: https://github.com/sunproxy/sunfly.git
Documentation: pkg.go.dev

# Packages

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

# Functions

DirectionVector returns a vector that describes the direction of the entity passed.
EyePosition returns the position of the eyes of the entity if the entity implements entity.Eyed, or the actual position if it doesn't.
Facing returns the horizontal direction that an entity is facing.
NewEffectManager creates and returns a new initialised EffectManager.
NewFallingBlock ...
NewItem creates a new item entity using the item stack passed.

# Structs

EffectManager manages the effects of an entity.
FallingBlock is the entity form of a block that appears when a gravity-affected block loses its support.
Item represents an item entity which may be added to the world.
MovementComputer is used to compute movement of an entity.

# Interfaces

Eyed represents an entity that has eyes.
Flammable is an interface for entities that can be set on fire.
Living represents an entity that is alive and that has health.