Skip to content

Commit

Permalink
improve
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallJoker committed Jun 25, 2024
1 parent 1efe139 commit cae0fe5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions API.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,15 @@ Registers a new skin based on the texture file path specified by `path` and `fil
* `filename` (string): full file name, without any path specifications.
The file name must adhere to [one of the accepted naming formats](textures/readme.txt).

Note: this function takes the following files into consideration:

1. `<path>/<filename>` (required)
* Main skin texture
2. `<path>/<filenamestem><separator>preview.png` (optional)
* Pre-generated preview image
3. `<path>/../meta/<filenamestem>.txt` (optional)
* Metadata regarding the skin

Return values:

* On failure: `false, reason`
Expand Down

0 comments on commit cae0fe5

Please sign in to comment.