Function selectTexturePresetInCategory
selectTexturePresetInCategory< C extends | "item_texture_vanilla" | "terrain_texture_vanilla" | "textures_list_vanilla" | "textures_list_debug_sticks" | "textures_list_entity_scale",>( sourceEntitya: | Entity | Player | Globals.modules.cmds.executeCommandPlayerW, category: C, pagen?: number, search?: { caseSensitive?: boolean; value: string }, cachedTextures?: [displayName
: string, icon
: string][],): Promise<string | 0 | 1> Type Parameters
- C extends
| "item_texture_vanilla"
| "terrain_texture_vanilla"
| "textures_list_vanilla"
| "textures_list_debug_sticks"
| "textures_list_entity_scale"
Returns Promise<string | 0 | 1>