skins

package
v1.24.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 7, 2022 License: GPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Skin

type Skin struct {
	protocol.Skin
}

func (*Skin) Write

func (skin *Skin) Write(output_path, name string) error

Write writes all data for this skin to a folder

func (*Skin) WriteAnimations

func (skin *Skin) WriteAnimations(output_path string) error

WriteAnimations writes skin animations to the folder

func (*Skin) WriteCape

func (skin *Skin) WriteCape(output_path string) error

WriteCape writes the cape as a png at output_path

func (*Skin) WriteGeometry

func (skin *Skin) WriteGeometry(output_path string) error

WriteGeometry writes the geometry json for the skin to output_path

func (*Skin) WriteMeta

func (skin *Skin) WriteMeta(output_path string) error

func (*Skin) WriteTexture

func (skin *Skin) WriteTexture(output_path string) error

WriteTexture writes the main texture for this skin to a file

func (*Skin) WriteTint

func (skin *Skin) WriteTint(output_path string) error

type SkinCMD

type SkinCMD struct {
	// contains filtered or unexported fields
}

func (*SkinCMD) Execute

func (c *SkinCMD) Execute(ctx context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

func (*SkinCMD) Name

func (*SkinCMD) Name() string

func (*SkinCMD) SetFlags

func (c *SkinCMD) SetFlags(f *flag.FlagSet)

func (*SkinCMD) Synopsis

func (*SkinCMD) Synopsis() string

func (*SkinCMD) Usage

func (c *SkinCMD) Usage() string

type SkinProxyCMD

type SkinProxyCMD struct {
	// contains filtered or unexported fields
}

func (*SkinProxyCMD) Execute

func (c *SkinProxyCMD) Execute(ctx context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus

func (*SkinProxyCMD) Name

func (*SkinProxyCMD) Name() string

func (*SkinProxyCMD) SetFlags

func (c *SkinProxyCMD) SetFlags(f *flag.FlagSet)

func (*SkinProxyCMD) Synopsis

func (*SkinProxyCMD) Synopsis() string

func (*SkinProxyCMD) Usage

func (c *SkinProxyCMD) Usage() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL