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
  • getColorName

Function getColorName

  • getColorName(color: Globals.modules.colorCore.Color): Promise<string>

    Asynchronously retrieves the name of a color from the Color Pizza API.

    Parameters

    • color: Globals.modules.colorCore.Color

      The color object to get the name for.

    Returns Promise<string>

    A promise that resolves to the name of the color, or 'Unknown' if an error occurs.

    • 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:70

Settings

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

Generated using TypeDoc