Repeater Sound Mod
功能特性
- 为以下红石组件在被点击时添加音效。
- 中继器 (Repeater)
- 红石粉 (Redstone wire)
- 阳光探测器 (Daylight detector)
- 音效(包括比较器的音效)可在以下方面进行调整。
- 音调 (Pitch)
- 音量 (Volume)
- 音调的随机偏移量
- 提供不同的 交互模式 以调整方块被点击时的行为
受影响方块的行为
- 中继器 (Repeater)
- 当它被点击(延迟改变)时会播放一个音效,该音效的音调会随着中继器的延迟而变化(当不使用随机音调时)
- 比较器 (Comparator)
- 比较器的音效和交互行为可以被本模组修改
- 红石粉 (Redstone Wire)
- 当它被点击(形状改变)时会播放一个音效,该音效的音调会根据其形状变化,类似于比较器(当不使用随机音调时)
- 阳光探测器 (Daylight Detector)
- 当它被点击(模式改变)时会播放一个音效,该音效的音调会根据其模式变化,类似于比较器(当不使用随机音调时)
交互模式
有三种交互模式可以改变方块被点击时的行为:
-
NORMAL:Minecraft 原版与 RepeaterSound 模组的默认行为。 -
ALARM:当你与本模组影响的方块交互时,会播放更明显的声音并向你发送一条聊天消息。- 方块仍会被“点击”,其状态会相应改变。
- 警报消息可以使用本模组提供的 命令 进行配置
-
DISABLED:此模式禁用与本模组影响方块的交互。- 警报消息可以使用本模组提供的 命令 进行配置
你可以使用命令 /repeatersound interactionMode <mode> 在交互模式之间切换。参数为:NORMAL、ALARM、DISABLED。
请注意,这些参数区分大小写,必须为大写。
配置
命令
命令 /repeatersound 允许你在游戏内编辑选项,以下是你可以在该命令中使用的参数列表:
/repeatersound setBasePitch <pitch>- 用于调整将要应用的基准音调,
<pitch>需要一个float(浮点数)数值
- 用于调整将要应用的基准音调,
/repeatersound useRandomPitch <random>- 用于设置是否将随机偏移量应用于基准音调,
<random>需要一个boolean(布尔值)值
- 用于设置是否将随机偏移量应用于基准音调,
/repeatersound setVolume <volume>- 用于设置音效的音量,
volume需要一个float(浮点数)数值
- 用于设置音效的音量,
/repeatersound interactionMode <mode>- 用于切换交互模式
/repeatersound alarmMessage <message>- 用于设置
ALARM交互模式下发送给你的消息,使用{Block}和{Pos}来获取方块及其位置信息 - 例如
/repeatersound alarmMessage "c: {Block}, p: {Pos}"并在坐标 0 0 0 处点击一个中继器,将发送此消息:c: Block{minecraft:repeater}, p: 0, 0, 0 - 请注意
<message>外部的引号是必需的。
- 用于设置
/repeatersound disabledMessage <message>- 用于设置
DISABLED交互模式下显示在屏幕上的消息。 - 请注意
<message>外部的引号是必需的。
- 用于设置
Mod Menu
Repeater Sound Mod 通过 Cloth Config API 在 Mod Menu 中提供了一个配置界面。
配置文件
在模组首次初始化后,会在游戏的 config 目录中创建一个名为 repeatersound.json 的配置文件。如果你想手动编辑,可以直接修改此文件。
Repeater Sound Mod
Features
- Adding sounds to these redstone components when they are clicked.
- Repeater
- Redstone wire
- Daylight detector
- The sounds (including comparator sound) are adjustable in these aspects.
- Pitch of the sound
- Volume of the sound
- Random offset to the pitch of the sound
- Different interaction modes to adjust the behavior of blocks when clicked
Behavior of Affected Blocks
- Repeater
- A sound will be played when it got clicked (delay changed), the pitch of the sound will change with the delay of that repeater (when not using random pitch)
- Comparator
- The sound and interaction of comparator can be modified by the mod
- Redstone Wire
- A sound will be played when it got clicked (shape changed), the pitch of the sound will change depends on the shape of it, similar to comparator (when not using random pitch)
- Daylight Detector
- A sound will be played when it got clicked (mode changed), the pitch of the sound will change depends on the mode of it, similar to comparator (when not using random pitch)
Interaction Modes
There are three Interaction Modes to change the behavior of blocks when they are clicked
-
NORMAL: The standard behavior of both vanilla Minecraft and the RepeaterSound mod. -
ALARM: A more noticeable sound will be played and a chat message will be sent to you when you interact with a block affected by this mod.- The block will still be "clicked", and its state will change accordingly.
- The alarm message can be configured using a command provided by this mod
-
DISABLED: This mode disables interactions with blocks affected by this mod.- The alarm message can be configured using a command provided by this mod
You can switch between interaction modes using the command /repeatersound interactionMode <mode>. The arguments are: NORMAL, ALARM, DISABLED.
Please note that these arguments are case-sensitive and must be in uppercase.
Configuration
Command
Command /repeatersound allows you to edit the options in-game, here is a list of arguments you can use in this command:
/repeatersound setBasePitch <pitch>- Used to adjust the base pitch that will be applied,
<pitch>requires afloatnumber
- Used to adjust the base pitch that will be applied,
/repeatersound useRandomPitch <random>- Used to set if the random offset will be applied to the base pitch,
<random>requires abooleanvalue
- Used to set if the random offset will be applied to the base pitch,
/repeatersound setVolume <volume>- Used to set the volume of sounds,
volumerequires afloatnumber
- Used to set the volume of sounds,
/repeatersound interactionMode <mode>- Used to switch interaction modes
/repeatersound alarmMessage <message>- Used to set the message that will be sent to you in
ALARMinteraction mode, use{Block}and{Pos}to get the block and its pos - For example
/repeatersound alarmMessage "c: {Block}, p: {Pos}"and click a repeater at 0 0 0 will send this message:c: Block{minecraft:repeater}, p: 0, 0, 0 - Please note that the quotes outside of
<message>are necessary.
- Used to set the message that will be sent to you in
/repeatersound disabledMessage <message>- Used to set the message that will display on screen in
DISABLEDinteraction mode. - Please note that the quotes outside of
<message>are necessary.
- Used to set the message that will display on screen in
Mod Menu
Repeater Sound Mod provides a config screen in Mod Menu using Cloth Config API
Config File
After the first initialize of the mod, a config file repeatersound.json will be created in the game's config directory. You can edit this file manually if you want.
下载 Repeater Sound
下载 Repeater Sound
下载 Repeater Sound
下载 Repeater Sound
下载 Repeater Sound
下载 Repeater Sound
下载 Repeater Sound
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Repeater Sound
下载 Repeater Sound
下载 Repeater Sound
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧