FancySprites
一个模组,允许你在 HUD 和 GUI(如物品栏)的容器上放置精灵图像——简单来说

fsprites/sword.mcmeta
{
"enabled": true,
"description": "Example of a sword-themed sprite - Log :3",
"id": "sword",
"gui": ["minecraft:inventory"],
"anchor": "top_right",
"z_index": 1,
"pos": [200, -35],
"scale": 0.22
}
在 fsprites/sword 目录中,包含图片 0.png

有许多参数:
| Property | Type | Default | Description |
|---|---|---|---|
enabled |
bool | - | 必填。 设置为 true 以加载精灵(但可以在菜单中启用或禁用精灵) |
id |
string | - | 必填。 ID,也用作名称 |
visible |
bool | true |
精灵可见性 |
gui |
string or array of strings | minecraft:* |
目标 GUI;支持精确标识符、通配符和否定,例如 “!minecraft:game” |
anchor |
string | top_left |
定位锚点 |
pos |
[x, y] | [0, 0] | 相对于锚点的位置偏移 |
rot |
int | 0 |
旋转角度(度) |
scale |
float | 1.0 |
缩放因子 |
opacity |
float | 1.0 |
透明度 (0.0–1.0) |
z_index |
int | 0 |
层级(正数=上方,负数=下方) |
blend |
string | normal |
混合模式 |
fit |
string | stretch |
纹理缩放模式 |
width |
int/auto | auto |
精灵宽度 |
height |
int/auto | auto |
精灵高度 |
origin |
[x, y] | [0, 0] | 旋转/缩放的中心点 |
screen_space |
bool | false |
使用屏幕坐标而不是相对于 GUI 的坐标 |
animation |
object | - | 动画配置 |
关于 anchor
top_left top top_right
left center right
bottom_left bottom bottom_right
关于 gui
minecraft:inventory minecraft:chest
minecraft:creative_inventory minecraft:large_chest
minecraft:furnace minecraft:crafting_table
minecraft:anvil minecraft:enchanting_table
minecraft:beacon minecraft:brewing_stand
minecraft:dispenser minecraft:hopper
minecraft:shulker_box minecraft:barrel
minecraft:villager minecraft:horse
minecraft:game minecraft:* (所有界面)
关于 blend
normal- Minecraft GUI 的标准 alpha 混合- 还有
additive,multiply,screen
动画缓动
none,linear,ease_in,ease_out,ease_in_outbounce,elastic,step,smooth
在 ESC 菜单中,右下角有一个 FancySprites 按钮,用于打开模组菜单
在这里可以启用和禁用你制作的精灵
将所有精灵移动到 fsprites/ 目录中
你是这个资源的作者?登录后可认领此资源。
相似资源
鞘翅纹饰Elytra Trims
KikuGie
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
装饰装备
477
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
339
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
239
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
239
Xaero的小地图
thexaero
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
冒险交通
238
Applied Energistics 2
shartte
AE2:一款流行的自动化与存储模组
存储科技
217
评论 0
登录后参与评分
还没有评论,来抢沙发吧