由我的模组使用的模组库,并包含一些额外功能。
命令
/shiftedlib
reloadConfig - 重新加载所有配置文件。
"filename.conf" - 重新加载指定文件。
/shiftedlib_client
reloadConfig - 重新加载所有客户端配置文件。
"filename.conf" - 重新加载指定文件。
color <"string"> <count> - 为指定字符串随机生成指定数量的颜色。将鼠标悬停在结果上可查看颜色值,点击可复制。
takePanorama - 拍摄全景图并保存到截图文件夹。
物品组件
shiftedlib:item_name_style={<style>} 或仅用于颜色的 shiftedlib:item_name_style="#RRGGBB"。
设置物品名称样式,类似于稀有度样式。
配置值
shiftedlib.conf
[general]
# 停止注册的获取物列表。
# 默认: []
obtainables_to_ignore=[]
记录调试信息。
默认: false
debug=false
shiftedlib_client.conf
[general]
# 在启用高级工具提示时,在工具提示中显示物品和方块标签。
# 默认: true
tags_tooltips=true
[loading_screen]
覆盖加载屏幕
默认: false
override_loading_screen=false
默认: #00FF00
background_color="#00FF00"
默认: #FFFFFF
bar_color="#FFFFFF"
[window_title]
覆盖窗口标题
默认: false
override_window_title=false
变量 - game_version, mods_loaded
默认: Minecraft %game_version%
window_title="Minecraft %game_version%"
获取物 (Obtainables)
来自 Witherproofed 模组的获取物示例。

获取物是一种非常灵活的获取物品的方式。有两种获取物类型:使用触发 (On Use) 和受伤触发 (On Damage)。这些决定了如何触发获取物,但还可以设置更多要求。受伤触发类型的获取物需要设置伤害类型才能开始执行,而使用触发类型的获取物会在玩家手持指定物品并使用它们时触发。特殊条件 (Special Condition) 是一种可以检查世界中几乎所有可用内容或与玩家相关的条件的机制。此外,还可以设置经验等级要求。
Mod-Library that used by my mods with some additional features.
Commands
/shiftedlib
reloadConfig - Reloads all configs.
"filename.conf" - Reloads specified file.
/shiftedlib_client
reloadConfig - Reloads all client configs.
"filename.conf" - Reloads specified file.
color <"string"> <count> - Randomly rolls colors for specified string with specified count. Color value can be seen when hovering at the result and copied when clicked.
takePanorama - Takes panorama and saves to screenshots folder.
Item Components
shiftedlib:item_name_style={<style>} or shiftedlib:item_name_style="#RRGGBB" for just color.
Sets item name style similar to rarity.
Config Values
shiftedlib.conf
[general]
# List of obtainables to stop being registered.
# Default: []
obtainables_to_ignore=[]
Log debug information.
Default: false
debug=false
shiftedlib_client.conf
[general]
# Show item and block tags inside the tooltips when advanced tooltips are enabled.
# Default: true
tags_tooltips=true
[loading_screen]
Override loading screen
Default: false
override_loading_screen=false
Default: #00FF00
background_color="#00FF00"
Default: #FFFFFF
bar_color="#FFFFFF"
[window_title]
Override window title
Default: false
override_window_title=false
Variables - game_version, mods_loaded
Default: Minecraft %game_version%
window_title="Minecraft %game_version%"
Obtainables
Example of the obtainable from the Witherproofed mod.

Obtainables is very versatile way of obtaining items. There are two obtainable types: On Use and On Damage. Those determine how to trigger obtainable, but there is more requirements that can be set. Obtainable of the On Damage type requires damage type to be set to start to perform, while On Use type triggers whatever player holds specified items and uses them. Special Condition is a condition that can check for almost anything that available in the world or player related. Additionally there an experience level requirement can be set.
下载 ShiftedLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ShiftedLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ShiftedLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ShiftedLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ShiftedLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ShiftedLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ShiftedLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ShiftedLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ShiftedLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 ShiftedLib
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
移植到 26.3
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成
评论 0
登录后参与评分
还没有评论,来抢沙发吧