Good Flags
适用于 Beta 1.7.3 的模组,为游戏添加了旗帜。旗帜拥有 48×32 像素的画布,支持羊毛的 16 种颜色,玩家可通过右键点击旗帜进行绘制。

物品
旗帜 (Flag)

3x 木棍 + 4x 羊毛 → 1x 旗帜。任何颜色的羊毛均可使用。
绘制
右键点击已放置的旗杆会打开绘画编辑器。

画布
旗帜的画布大小为 48 × 32 像素,以 16 种羊毛颜色作为调色板。
工具
| 工具 |
描述 |
| 铅笔 |
自由绘图。受画笔大小影响。 |
| 橡皮擦 |
将像素擦除为白色。受画笔大小影响。 |
| 填充 |
用选定颜色泛洪填充连续区域。 |
| 直线 |
在两点之间绘制直线。受画笔大小影响。 |
| 矩形 |
绘制实心矩形。 |
| 圆形 |
绘制实心椭圆。 |
撤销 / 重做
绘制界面支持最多 32 层 的撤销/重做历史记录。
| 操作 |
快捷键 |
| 撤销 |
Ctrl+Z |
| 重做 |
Ctrl+Y 或 Ctrl+Shift+Z |
旗帜物品
破坏时保留设计
破坏已绘制的旗帜会掉落一个携带完整像素数据的物品。重新放置该物品即可恢复原始设计。
物品栏预览
旗帜设计的缩小版迷你图会渲染在物品栏槽位中的物品图标上方,无需放置旗帜即可获得快速视觉参考。
复制旗帜
在合成网格中的任意位置放置一面 空白旗帜 和一面 已绘制的旗帜,即可生成已绘制旗帜的副本。源旗帜不会被消耗。

清除旗帜
将 仅有一面已绘制的旗帜 放置在合成网格中,即可获得一面空白旗帜。

配置
配置通过 Glass Config API 暴露,可使用 Mod Menu Babric 在游戏中编辑。
| 选项 |
默认值 |
描述 |
| Item Renderer Enabled |
true |
在物品栏的物品图标上绘制旗帜预览。 |
| Item Texture Resolution |
16 |
基础图标分辨率(像素);高清资源包可增加此数值。 |
| Flag Preview X |
3 |
预览区域在物品图标内的 X 轴偏移量。 |
| Flag Preview Y |
0 |
预览区域在物品图标内的 Y 轴偏移量。 |
| Flag Preview Width |
12 |
预览区域的宽度(物品像素)。 |
| Flag Preview Height |
8 |
预览区域的高度(物品像素)。 |
兼容性
本模组无已知兼容性问题。它显式添加了与以下模组的兼容性:
Always More Items 和
Entity Culling。
依赖
推荐
许可证
本模组遵循 MIT 许可证。
Good Flags
Beta 1.7.3 mod to add flags to the game. Flags have a 48×32 canvas supporting the 16 colours of
wool, and can be painted on by players by right-clicking the flag.

Items
Flag

3x Stick + 4x Wool → 1x Flag. Any wool can be used.
Painting
Right-clicking a placed flag pole opens the paint editor.

Canvas
The flag's canvas is 48 × 32 pixels using the 16 wool colours as a palette.
Tools
| Tool |
Description |
| Pencil |
Freehand drawing. Respects brush size. |
| Eraser |
Erases pixels back to white. Respects brush size. |
| Fill |
Flood-fills a contiguous region with the selected colour. |
| Line |
Draws a straight line between two points. Respects brush size. |
| Rect |
Draws a filled rectangle. |
| Circle |
Draws a filled ellipse. |
Undo / Redo
The paint screen supports up to 32 levels of undo/redo history.
| Action |
Shortcut |
| Undo |
Ctrl+Z |
| Redo |
Ctrl+Y or Ctrl+Shift+Z |
Flag Item
Design Preserved on Break
Breaking a painted flag drops it as an item that carries the full pixel data. Placing the item
down restores the original design exactly.
Inventory Preview
A downsampled miniature of the flag's design is rendered on top of the item icon in inventory
slots, giving you a quick visual reference without needing to place the flag.
Copying a Flag
Place a blank flag and a painted flag together anywhere in the crafting grid to produce a
copy of the painted flag. The painted source is not consumed.

Clearing a Flag
Place a painted flag alone in the crafting grid to receive a blank flag back.

Configuration
Configuration is exposed via Glass Config API and
can be edited in-game with Mod Menu Babric.
| Option |
Default |
Description |
| Item Renderer Enabled |
true |
Draw the flag preview on the item icon in inventory. |
| Item Texture Resolution |
16 |
Base icon resolution in pixels; increase for HD texture packs. |
| Flag Preview X |
3 |
X offset of the preview region within the item icon. |
| Flag Preview Y |
0 |
Y offset of the preview region within the item icon. |
| Flag Preview Width |
12 |
Width of the preview region (item pixels). |
| Flag Preview Height |
8 |
Height of the preview region (item pixels). |
Compatibility
This mod has no known compatibility issues. It adds explicit compatibility with
Always More Items and
Entity Culling.
Requirements
Recommended
License
This mod is licensed under the MIT license.
评论 0
登录后参与评分
还没有评论,来抢沙发吧