跳到正文

Pigmentum API

Painter is a mod build on neoforge 1.21.1, allows player to paint on almost every block.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

🎨 Pigmentum – Minecraft Canvas API

Turn every block surface into your personal canvas. Paint pixel by pixel on any surface in Minecraft.


Pigmentum is a low-level canvas API for NeoForge mod developers.

Out-of-the-box painting features (brushes, GUI, blend modes) will be developed separately at Fresco.

Pigmentum focuses on providing the core canvas infrastructure and extension API.


✨ Features

🖌️ Canvas System

  • Any Block as Canvas: Right-click any block surface with a paintbrush to turn it into a canvas that blends seamlessly with the block.
  • Pixel-Level Drawing: Hold right-click and drag to draw smooth, continuous lines—no gaps even at high speed.
  • Multi-Face Canvases: Paint independently on each face of a block—top, bottom, and all four sides.
  • Irregular Block Support: Stairs, slabs, fences, and other shaped blocks can be painted with pixel-perfect precision.
  • Brush Configuration Menu: Right-click the air with a paintbrush to adjust brush size, feathering, blend mode, and drawing interval.

🎯 Paintbrush System

  • Color Picker: Press the R key to sample the color of the pixel under your crosshair.
  • Multiple Blend Modes: Choose from Overwrite, Additive, Multiply, and Erase.

📦 Canvas Extraction & Display

  • Canvas Sheet Item: Sneak-right-click a painted block to copy one face onto a Canvas Sheet without removing the original.
  • Item Frame Display: Place a Canvas Sheet in an item frame to display your artwork like a map.

🧩 Extension API

  • Custom Image Providers (CanvasImageProvider) — register custom texture generation from pixel data
  • Custom Renderers (CanvasPixelRenderer) — control how canvas faces are rendered
  • Per-Pixel Effect Layers — attach arbitrary byte data per pixel (e.g. glow intensity, roughness)
  • Custom Blend Functions (BlendFunction) — full control over pixel color and effect compositing
  • Custom Paint Brushes (IPaintProvider) — register any item as a brush with custom behavior

🎮 Getting Started

  1. Obtain a paintbrush from the creative inventory.
  2. Right-click any block surface to create a canvas.
  3. Hold right-click and drag to paint pixels.
  4. Press the R key to pick a color from the world.
  5. Right-click the air to adjust your brush settings.
  6. Use a Canvas Sheet to extract and display your artwork in item frames.

Pigmentum – Every face is a canvas.

常见问题

Pigmentum API 支持哪些 Minecraft 版本?

Pigmentum API 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。

Pigmentum API 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

lys.2026485907 的其他作品

查看全部 →