Versions in this module Expand all Collapse all v1 v1.0.0 Nov 2, 2025 Changes in this version + var DefaultModel = ReadModel(bytes.NewReader(defaultModel)) + func Create(s Settings, tx *world.Tx, f HandlerFunc) *player.Player + func MustSkin(tex Texture, mod Model) skin.Skin + func Skin(tex Texture, mod Model) (skin.Skin, error) + type HandlerFunc func(victim, attacker *player.Player) + type Model struct + func MustParseModel(path string) Model + func ParseModel(path string) (Model, error) + func ReadModel(r io.Reader) (Model, error) + type Settings struct + Boots item.Stack + Chestplate item.Stack + Helmet item.Stack + Immobile bool + Leggings item.Stack + MainHand item.Stack + Name string + OffHand item.Stack + Pitch float64 + Position mgl64.Vec3 + Scale float64 + Skin skin.Skin + Vulnerable bool + Yaw float64 + type Texture struct + func MustParseTexture(path string) Texture + func ParseTexture(path string) (Texture, error) + func ReadTexture(r io.Reader) (Texture, error)