-
Notifications
You must be signed in to change notification settings - Fork 0
[LooksCrafter] API
Sh1zok edited this page Aug 5, 2026
·
2 revisions
LooksCrafter API is a collection of methods that allow you to search and create handlers
local looksAPI = require("your/path/to/LooksCrafter.lua")Returns a handler assigned to a specified texture, if a texture is not specified it returns a list with all handlers
getHandler()Parameters:
| Name | Type | Is required | Description | Default |
|---|---|---|---|---|
| textureFilter | Texture | Optional | Texture filter | nil |
Returns:
| Type | Description |
|---|---|
| table | A handler or a table with handlers |
Example:
local skinHandler = looksAPI:getHandler(texture["assets.Skin"])
local allHandlers = looksAPI:getHandler()Creates a new texture handler.
newHandler()Parameters:
| Name | Type | Is required | Description | Default |
|---|---|---|---|---|
| baseTexture | Texture | Required | A base texture that will be merged with the cloth part textures | Required |
| customConfigName | String | Optional | Custom name of the config file where the intersession configuration of clothing parts will be stored | [avatarName]_LooksCrafter_[baseTextureName] |
Returns:
| Type | Description |
|---|---|
| table | A handler for a specified texture |
Example:
local skinHandler = looksAPI:newHandler(texture["assets.Skin"])