Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArmorPos ¶ added in v0.1.0
type ArmorPos struct { BodyPos *data.FloatPosition LeftArm *data.FloatPosition RightArm *data.FloatPosition LeftLeg *data.FloatPosition RightLeg *data.FloatPosition }
type ArmorStand ¶ added in v0.1.0
type ArmorStand interface { EntityLiving GetArmorData() ArmorData SetArmorData(ArmorData) GetArmorPos() *ArmorPos }
type ClientSettings ¶ added in v0.0.9
type Entity ¶
type Entity interface { EntityUUID() int32 GetPosition() *data.PositionF GetType() entity.Entity SetData(EntityMeta) GetData() EntityMeta PushMetadata(network.Buffer) }
type EntityCreator ¶ added in v0.1.0
type EntityLiving ¶
type EntityLiving interface { Entity GetHeadPos() *data.FloatPosition GetHealth() float64 SetHealth(health float64) }
type EntityMeta ¶ added in v0.1.0
type Horse ¶ added in v0.1.0
type Horse interface { EntityLiving GetAge() byte SetAge(byte) GetHorseData() *HorseData }
type HorseData ¶ added in v0.1.0
type HorseData struct { IsTame bool HasSaddle bool HasChest bool IsBred bool IsEating bool IsRealing bool MouthOpen bool Type living.HorseType Color living.HorseColor Style living.HorseStyle Armor living.HorseArmor }
type Player ¶
type Player interface { EntityLiving Sender GetClientSettings() *ClientSettings GetAbsorption() byte GetFood() float32 GetGamemode() player.GameMode SetGamemode(gamemode player.GameMode) GetXP() int32 GetLevel() int32 SetXP(int32) SetLevel(int32) GetProfile() *player.Profile GetPing() int32 SetPing(ping_delay int64, server_ping int64) GetKeepAlive() int64 SetKeepAlive(time int64) SendMsgPos(pos chat.MessagePosition, messages ...string) SendMsgColorPos(pos chat.MessagePosition, messages ...string) GetConnection() network.Connection IsSneaking() bool IsSprinting() bool SetSprinting(bool) SetSneaking(bool) Disconnect() }
Click to show internal directories.
Click to hide internal directories.