ModsFinder

scarpet-graphics

by replaceitem

scarpet-graphics is a Carpet extension that gives scarpet programs image, graphics and font values for drawing and pixel work on the server.

FabricServer-side onlyMIT LicenseOpen source1.19.1 – 26.3

What it does

Scarpet programs can load, create, copy and save images, and draw onto graphics objects using functions named after their Processing counterparts. Pixels can be read and set one at a time, and colors can be written as 0xRRGGBBAA hex numbers or built from RGB or HSB values with the color function. An image can be loaded from a file path, a file name or a URL, and a shared flag switches storage to the shared app directory.

The extension is server-side only, so players join without installing it, and it needs Carpet to run. Carpet Discarpet is an optional companion. It is published for Fabric only, with 22 release versions 1.19.1 – 26.3 and a latest file, 0.1.7, for 26.3 in the beta channel. The code is open source under the MIT License, and the source and issue tracker are public.

Key features

  1. Image values

    Images are a scarpet value type that programs can load, create, copy, save and inspect pixel by pixel.

  2. Graphics objects

    Graphics objects accept drawing calls, and a call to done finishes the drawing operations on them.

  3. Processing-style drawing

    Drawing functions keep the names of their Processing counterparts, with CORNER, CORNERS and CENTER modes that place shapes by corner, by two corners or by center.

  4. Color modes

    The meaning of the v1, v2 and v3 arguments follows the active color mode, either RGB or HSB values.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
26.x5 of 5 versions with builds
26.30.1.7
26.20.1.7
26.1.20.1.7
26.1.10.1.7
26.10.1.7
1.21.x9 of 9 versions with builds
1.21.80.1.6
1.21.70.1.6
1.21.60.1.6
1.21.50.1.6
1.21.40.1.6
1.21.30.1.6
1.21.20.1.6
1.21.10.1.6
1.210.1.6
1.20.x5 of 5 versions with builds
1.19.x3 of 3 versions with builds
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

CarpetTake full control over your vanilla game
Required

Optional 1

Carpet DiscarpetFabric carpet extension that adds discord functionality to scarpet
Optional

How it compares

Full comparison

scafall is open source under the MIT License and is published for Fabric for 26.1.2 – 26.2, a range that overlaps only part of this mod's. Lanitium is server-side only, open source under the Apache License 2.0, and published for Fabric for 1.20.5 – 1.21.4. Fabwork runs on Fabric and Quilt for 1.19.2 – 26.3 and can be installed on a client, a server or both, under the MIT License. Spell Renderer is client-side only, under the MIT License, and built for Fabric 1.21.8 alone.

ModLoadersGame versionsEnvironmentUpdated
scarpet-graphicsFabric1.19.1 – 26.3Server-side only2026-04-08
scafallFabric26.1.2 – 26.2Not published2026-06-21
LanitiumFabric1.20.5 – 1.21.4Server-side only2025-05-11
FabworkFabric and Quilt1.19.2 – 26.3Client or server, optional2026-09-18
Spell RendererFabric1.21.8Client-side only2026-05-09

Questions

Does scarpet-graphics need Carpet to run?

Yes. Carpet is the required dependency, and the scarpet language it extends comes with Carpet. Carpet Discarpet is optional.

Do players need to install scarpet-graphics?

No. Players join without it, since only the server has to run the mod.

Which game versions have a file for scarpet-graphics?

Files cover 22 release versions 1.19.1 – 26.3, including 1.21.1 and 26.3. The latest Fabric file, 0.1.7, targets 26.3 and is in the beta channel.

Where is the source code for scarpet-graphics?

The source code and the issue tracker are both public, and the code is open source under the MIT License.

In the catalog

scarpet-graphics is one of 3,514 Library mods on ModsFinder, and one of 2,348 Library mods for Fabric. 8,071 mods support Minecraft 26.3.

More from replaceitem

All projects

Similar mods

What the author says

This can also be used with Discarpet to send the created images via Discord. Colors are handled using numbers (0xRRGGBBAA in hex), but can be constructed from RGB and HSB using the color function.
replaceitem, on the Modrinth page

Official listing

Owner
replaceitem
Published
2022-07-31
Updated on Modrinth
2026-04-08
Facts verified
2026-10-15

Tags