Versions in this module Expand all Collapse all v1 v1.37.0 Apr 30, 2024 Changes in this version + type ClientEntity struct + Description *ClientEntityDescription + type ClientEntityDescription struct + Animations map[string]string + Geometry map[string]string + Identifier string + Materials map[string]string + RenderControllers []any + Scripts map[string]any + Textures map[string]string + type ClientEntityFile struct + ClientEntity *ClientEntity + FormatVersion string + type Geometry struct + Bones []any + Description utils.SkinGeometryDescription + type GeometryFile struct + FormatVersion string + Geometry []*Geometry + type Pack struct + Files map[string][]byte + Manifest resource.Manifest + func New() *Pack + func (p *Pack) AddEntity(dir, name string, texture *image.RGBA, geometry *GeometryFile, isDefault bool) + func (p *Pack) AddPlayer(id string, skinTexture *image.RGBA, capeTexture *image.RGBA, capeID string, ...) + func (p *Pack) WriteTo(w io.Writer) + func (p *Pack) WriteToDir(dir string)