? Pigmentum - Minecraft Canvas API
将每一块方块的表面变成你的个人画布。在 Minecraft 中的任何表面上逐像素绘画。
Pigmentum 是一个面向 NeoForge 模组开发者的底层 Canvas API。 开箱即用的绘画功能(画笔、图形用户界面、混合模式)将在 Fresco 中单独开发。 Pigmentum 专注于提供核心的 Canvas 基础设施和扩展 API。
✨ 特性
?️ Canvas 系统
- 任意方块作为画布:使用画笔右键点击任意方块表面,将其转换为与方块无缝融合的画布。
- 像素级绘制:按住右键并拖动以绘制平滑、连续的线条——即使高速移动也不会出现间隙。
- 多面画布:可以在方块的每个面上独立绘画——顶部、底部以及所有四个侧面。
- 不规则方块支持:楼梯、台阶、栅栏等形状复杂的方块也可以进行像素级的精确绘画。
- 画笔配置菜单:手持画笔右键点击空气可调整画笔大小、羽化效果、混合模式和绘制间隔。
? 画笔系统
- 取色器:按下
R键拾取准星所指像素的颜色。 - 多种混合模式:可选择覆盖、叠加、正片叠底和擦除模式。
? 画布提取与展示
- 画布纸物品:潜行+右键点击已绘制的方块,可将其中一个面复制到画布纸上,而不会移除原始画作。
- 物品展示框展示:将画布纸放入物品展示框中,即可像地图一样展示你的艺术作品。
? 扩展 API
- 自定义图像提供者 (
CanvasImageProvider) —— 从像素数据注册自定义纹理生成 - 自定义渲染器 (
CanvasPixelRenderer) —— 控制画布面的渲染方式 - 逐像素效果层 —— 为每个像素附加任意字节数据(例如发光强度、粗糙度)
- 自定义混合函数 (
BlendFunction) —— 完全控制像素颜色和效果的合成 - 自定义画笔 (
IPaintProvider) —— 注册任何物品作为具有自定义行为的画笔
? 入门指南
- 从创造模式物品栏中获取画笔。
- 右键点击任意方块表面以创建画布。
- 按住右键并拖动以绘制像素。
- 按下
R键从世界中拾取颜色。 - 右键点击空气以调整画笔设置。
- 使用画布纸提取并在物品展示框中展示你的艺术作品。
Pigmentum - 每一面都是画布。
? 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
Rkey 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
- Obtain a paintbrush from the creative inventory.
- Right-click any block surface to create a canvas.
- Hold right-click and drag to paint pixels.
- Press the
Rkey to pick a color from the world. - Right-click the air to adjust your brush settings.
- Use a Canvas Sheet to extract and display your artwork in item frames.
Pigmentum - Every face is a canvas.
下载 Pigmentum API
下载 Pigmentum API
下载 Pigmentum API
下载 Pigmentum API
下载 Pigmentum API
下载 Pigmentum API
下载 Pigmentum API
下载 Pigmentum API
下载 Pigmentum API
下载 Pigmentum API
未指定更新日志。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
新增 50+ 个独特生物群系,为你的世界增添新树木、花卉等更多元素!
模组
基于 GTCEu 1.12.2 的现代 GregTech
模组
添加睡袋和吊床,分别用于便携性和昼夜转换,同时不会设置新的出生点。共有16种颜色可选!
模组
为你的终界增添新生物群系、神秘仪式和全新生物
评论 0
登录后参与评分
还没有评论,来抢沙发吧