功能
使用此插件,玩家手持任意染料并与潜影贝交互即可为其染色。在 1.13+ 版本的服务器上,潜影贝无法被取消染色,因为我不确定该机制应如何运作。(如果你有好的想法,可以通过提交 GitHub Issue 提出你的建议。)
对潜影贝进行染色需要 dyeableshulkers.dye 权限。
在 1.15.2+ 版本的服务器上,玩家在给潜影贝染色时会挥舞手中的物品。可以通过撤销 dyeableshulkers.dye.swing 权限来针对单个玩家禁用此效果。
在 1.17+ 版本的服务器上,玩家给潜影贝染色时会播放 item.dye.use 音效。可以通过撤销 dyeableshulkers.dye.sound 权限来针对单个玩家禁用此音效。
API
当玩家成功为潜影贝染色时,插件会调用 io.github.maninmyvan.dyeableshulkers.event.ShulkerDyeEvent。此事件可被取消。
可以通过 event.getShulker() 获取被染色的潜影贝,通过 event.getPlayer() 获取执行染色的玩家。可以通过 event.getColor() 获取潜影贝将被设置的颜色,并通过 event.setColor(color) 修改该颜色。
Features
With this plugin, shulkers can be dyed by interacting with them while holding any dye. Shulkers cannot be undyed on 1.13+ servers because I'm not sure how this mechanic should work. (If you have an idea, you can let me know by opening a GitHub issue proposing your idea.)
Dyeing a shulker requires the dyeableshulkers.dye permission.
On 1.15.2+ servers, the player will swing their hand upon dyeing a shulker. This can be disabled on a per-player basis by revoking the dyeableshulkers.dye.swing permission.
On 1.17+ servers, the item.dye.use sound will play upon dyeing a shulker. This can be disabled on a per-player basis by revoking the dyeableshulkers.dye.sound permission.
API
The plugin calls io.github.maninmyvan.dyeableshulkers.event.ShulkerDyeEvent when a player successfully dyes a shulker. This event is cancellable.
The shulker that was dyed can be obtained with event.getShulker(), and the player that dyed the shulker with event.getPlayer(). The color that the shulker will be set to can be obtained with event.getColor() and changed with event.setColor(color).
下载 DyeableShulkers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DyeableShulkers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DyeableShulkers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DyeableShulkers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 DyeableShulkers
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
编译 bstats 并使其真正生效
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
插件
自定义你的Minecraft头像!
插件
重新定义服务器上的生物运输方式。使用高度可定制的口袋道具,安全地捕获、存储和释放任何实体。
插件
使床在所有维度中爆炸的模组
插件
为 Armor Poser 模组添加兼容性
插件
SkyBlock、OneBlock、Boxed、SkyGrid、AcidIsland、CaveBlock、Poseidon、StrangerRealms——以及更多!这些只是由 BentoBox 支持的基于岛屿的游戏模式之一。来自原版 ASkyBlock 的作者。
插件
一个高度兼容、功能完善且稳定的 TPA 模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧