Add-On Documentation
  • Preparing search index...
  • The search index is not available
8Crafter's Server Utilities API
  • 8Crafter's Server Utilities API
  • Globals
  • modules
  • colorCore
  • getColorInfo

Function getColorInfo

  • getColorInfo(color: Globals.modules.colorCore.Color): Promise<ColorInfo>

    Asynchronously fetches color information from the ColorNaming API for a given color.

    Parameters

    • color: Globals.modules.colorCore.Color

      The color object for which to fetch information.

    Returns Promise<ColorInfo>

    A promise that resolves to the color information.

    Throws

    If the API call fails.

    • Defined in ../../../../AppData/Roaming/.minecraft_bedrock/installations/Main Release/packageData/development_behavior_packs/DebugSticksAndScreens/node_modules/color-core/dist/utils/components/color-naming.d.ts:78

Settings

Member Visibility
Add-On Documentation
8Crafter's Server Utilities API
  • Loading...

Generated using TypeDoc