Documentation ¶
Index ¶
Constants ¶
View Source
const ( PropertyTypeInt = iota PropertyTypeFloat PropertyTypeBool PropertyTypeEnum )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entity ¶
type Entity struct { RuntimeID RuntimeID UniqueID UniqueID EntityType string Position mgl32.Vec3 Pitch, Yaw, HeadYaw float32 Velocity mgl32.Vec3 HasMoved bool Metadata protocol.EntityMetadata Properties map[string]*EntityProperty Inventory map[byte]map[byte]protocol.ItemInstance Helmet *protocol.ItemInstance Chestplate *protocol.ItemInstance Leggings *protocol.ItemInstance Boots *protocol.ItemInstance }
func (*Entity) ToServerEntity ¶
type EntityProperty ¶
Click to show internal directories.
Click to hide internal directories.