Function renderTee

  • Helper function to quickly render any tee using the skin data from any client on any server reported by the master server. Custom colors are automatically handled.

    Parameters

    • skinData:
          | undefined
          | {
              body?: { color?: number; name: string };
              color_body?: number;
              color_feet?: number;
              decoration?: { color?: number; name: string };
              eyes?: { color?: number; name: string };
              feet?: { color?: number; name: string };
              hands?: { color?: number; name: string };
              marking?: { color?: number; name: string };
              name?: string;
          }

      The skin data to use.

    • OptionalrenderOpts: Omit<TeeSkinRenderOptions, "customColors">

      Render options excluding custom colors.

    Returns Promise<Buffer<ArrayBufferLike>>