概述
MrShulker 最初是对(被认为已弃用的)Shulker+ Mod 的重制。
该模组允许玩家使用铁砧,花费 1 点经验值将物品附着在潜影盒上。被附着的物品会显示在潜影盒的盒盖上。
MrShulker 向后兼容 Shulker+。如果你正在从拥有过 Shulker+ 的世界进行迁移,你需要在迁移时安装 MrShulker,以便数据能够顺利过渡。
功能
- MrShulker 的主要功能是出于展示目的将物品附着在潜影盒上。
- 版本 1.3.0 引入了通过右键蹲下(crouch-use)为潜影盒着色的功能,感谢 tnoctua 的贡献。
- MrShulker Flat GUI View Companion resource pack 提供了俯视角的用户界面视图。
- 版本 1.4.0 引入了客户端配置选项,用于在不同显示场景下设置盒盖物品的缩放比例。
- 版本 1.4.0 引入了服务器配置选项,用于启用或禁用特定的模组功能。
- 版本 1.4.0 引入了为每个潜影盒单独设置盒盖物品缩放的功能。
- 版本 1.4.0 引入了用于管理这些设置的命令。
要求和依赖项
MrShulker 必须在服务器端运行才能生效。 并非所有玩家都必须在客户端安装 MrShulker,但只有安装了它,盒盖上的物品才会显示。
自 1.4.0 版本起,MrShulker 需要 Fabric-Api。
命令
命令根据它们影响的是整个服务器还是单个玩家的个人偏好,分为两大组。
mrshulker
mrshulker 是所有服务器端命令的根命令。每个子命令都有三种操作模式:set(设置)、query(查询)和 reset(重置)。
allow_dyeing
控制玩家是否可以通过右键蹲下(crouch-use)为潜影盒着色。
mrshulker [set|query|reset] allow_dyeing [true|false]
allow_per_shulker_scaling
控制玩家是否可以为潜影盒设置单独的缩放比例。
mrshulker [set|query|reset] allow_per_shulker_scaling [true|false]
custom_scale
设置、显示或重置玩家主手潜影盒所使用的自定义缩放比例。
mrshulker [set|query|reset] custom_scale #.#
mrshulker_display
mrshulker_display 是客户端命令的根命令。同样,每个命令也有三种操作模式:set、query 和 reset。
scale
scale 子命令管理在不同显示场景下使用的整体缩放比例。大多数受支持的 display_contexts 与官方的 ItemDisplayContext 类型一致:
- firstperson_lefthand
- firstperson_righthand
- fixed: 当潜影盒在物品展示框中显示时使用。
- ground: 当潜影盒作为掉落物显示时使用。
- gui: 当潜影盒在任何用户界面位置显示时使用:如背包、快捷栏等。
- head: 当潜影盒显示在盔甲架头部时使用。
- none: 我不知道这个在哪里使用。
- thirdperson_lefthand
- thirdperson_righthand
列表中添加了两个特殊的 display_contexts:
- block: 当潜影盒放置在世界中时使用。
- default: 当当前显示场景没有配置特定设置时使用。
初始状态包含针对 default 和 gui 场景的设置。
在 set 模式下,display_context 和 scale 是必需的参数。
mrshulker_display set scale [display_context] #.#
在 query 和 reset 模式下,display_context 参数是可选的。如果指定了该参数,命令将显示或重置该 display_context;如果省略,则对所有配置的 display contexts 执行操作。
mrshulker_display query scale [display_context]
mrshulker_display query scale
reset 会移除指定 display context 的缩放比例,如果上下文是 default 或 gui,则会恢复原始值。
mrshulker_display reset scale [display_context]
mrshulker_display reset scale
show_custom_scales
show_custom_scales 设置控制是否显示每个潜影盒的单独缩放比例,或者是否始终使用 display_context 缩放比例。
mrshulker_display [set|query|reset] show_custom_scales [true|false]
盒盖物品缩放
由于存在多种潜在选项,MrShulker 按以下方式确定使用哪个缩放比例:
- 每个潜影盒的 custom_scale
- 如果潜影盒设置了 custom_scale,并且 allow_per_shulker_scales 和 show_custom_scales 都为 true,则使用 custom_scale。
- 当前 ItemDisplayContext 的 display_context 缩放比例
- 如果当前的 ItemDisplayContext 配置了缩放比例,则使用该比例。
- 'default' display_context 设置的值
- 始终存在的 'default' 值作为后备方案,如果上述两者均未选择,则使用此值。
Overview
MrShulker started as a re-creation of the (assumed abandoned) Shulker+ Mod.
The mod allows players to attach items to shulker boxes for 1 xp using an anvil. The attached item then appears on the lid of the shulker box.
MrShulker is backward compatible with Shulker+, If you are migrating from a world which had Shulker+, you need to have MrShulker installed at the time of migration for the data to carry over.
Features
- MrShulker's main feature is to attach items to shulker boxes for display purposes.
- Version 1.3.0 introduced dyeing of shulker boxes via crouch-use thanks to tnoctua.
- A top-down gui view is provided by the MrShulker Flat GUI View Companion resource pack.
- Version 1.4.0 introduced client-configuration options to set lid item scales to be used in different display contexts.
- Version 1.4.0 introduced server-configuration options to enable or disable specific mod features.
- Version 1.4.0 introduced the ability to set per-shulker lid item scaling.
- Version 1.4.0 introduced commands to manage these settings.
Requirements and Dependencies.
MrShulker is required server side to function. It is not required that all players have MrShulker installed client side, but it is required for the lid items to display.
As of 1.4.0 MrShulker requires Fabric-Api.
Commands
Commands are separated into two overall groups depending on if they impact the server overall, or just a single player's personal preferences.
mrshulker
mrshulker is the root command for all server side commands. Each sub command has three modes of operation. set, query, and reset.
allow_dyeing
Controls if players can dye shulker boxes via crouch-use.
mrshulker [set|query|reset] allow_dyeing [true|false]
allow_per_shulker_scaling
Controls if players can set per-shulker scaling on shulker boxes.
mrshulker [set|query|reset] allow_per_shulker_scaling [true|false]
custom_scale
Sets, displays, or resets the custom scale to use for the shulker box in the player's main hand.
mrshulker [set|query|reset] custom_scale #.#
mrshulker_display
mrshulker_display is the root command for client side commands. Again each command has three modes of operation: set, query, and reset.
scale
The scale subcommand manages the overall scales to use in different display contexts. Most supported display_contexts align with official ItemDisplayContext types:
- firstperson_lefthand
- firstperson_righthand
- fixed: used when the shulker box is displayed in an item frame.
- ground: used when the shulker box is displayed as an item drop.
- gui: used when the shulker box is displayed anywhere in the gui: inventory, hot bar etc.
- head: used when the shulker box is displayed on the head of an armor stand.
- none: I don't know where this is used.
- thirdperson_lefthand
- thirdperson_righthand
Two special display_contexts are added to the list:
- block: used when the shulker box is placed in the world.
- default: used when there is not a specific setting configured for the current display context.
The initial state has settings for default and gui contexts.
In set mode, display_context and scale are required arguments.
mrshulker_display set scale [display_context] #.#
In query and reset mode the display_context argument is optional. If specified the command will display or reset that display_context, if omitted, the operation is performed on all configured display contexts
mrshulker_display query scale [display_context]
mrshulker_display query scale
reset removes the the scale for the specified display context, and if the context is default or gui restores the original value.
mrshulker_display reset scale [display_context]
mrshulker_display reset scale
show_custom_scales
The show_custom_scales setting controls whether per-shulker scales will display, or if display_context scales will always be used.
mrshulker_display [set|query|reset] show_custom_scales [true|false]
Lid Item Scaling
With multiple potential options available, MrShulker determines which scale to use in the following manner:
- Per-Shulker custom_scale
- If the shulker box has a custom_scale set, and both allow_per_shulker_scales, and show_custom_scales are both true, the custom_scale is used.
- display_context scale for the current ItemDisplayContext
- If the current ItemDisplayContext has a configured scale, it is used.
- the value set for the 'default' display_context
- The always present 'default' value is used as a fall back if neither of the above are chosen.
下载 MrShulker
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 MrShulker
下载 MrShulker
下载 MrShulker
下载 MrShulker
下载 MrShulker
下载 MrShulker
下载 MrShulker
下载 MrShulker
下载 MrShulker
已更新以支持 Minecraft 1.21.6 和 1.21.7
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧