Update note
Features
- Messages for
ALARM
andDISABLED
interaction modes are now configurable.
/repeatersound alarmMessage <message>
to set the message ofALARM
mode.
Used to set the message that will be sent to you in
ALARM
interaction 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
<message>
must be enclosed in quotes.
/repeatersound disabledMessage <message>
to set the message ofDISABLED
mode.
Used to set the message that will display on screen in
DISABLED
interaction mode.Please note that
<message>
must be enclosed in quotes.
- Setting config using commands will send feedback via a chat message now.
- Invalid config value will not be saved now.
Fixes/Optimizations
-
The arguments of command
/repeatersound interactionMode
are not case-sensitive anymore. -
Fixed a bug where the option
useRandom
has incorrect id in the config checker. -
Implemented deferred config writing. The config will now only be written to disk when you quit a world/server.
Previously it will be write to disk each time you use the command. -
Implemented value verification when setting config by command, invalid value will not be saved to config.
Update note
- New Feature: “Interaction Mode” with three available modes:
NORMAL
: This is 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. Please note that the block will still be "clicked", and its state will change accordingly.DISABLED
: This mode disables interactions with blocks affected 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. - The entire configuration-related code has been rewritten. Don’t worry, your configuration from previous versions (below 1.3.0) will be migrated automatically.
- Other code optimizations.
Update note
- Added daylight detector sound
- Volume of sounds in the mod(including comparator) can now be adjusted by command
/repeatersound setVolume <volume>
,<volume>
requires afloat
number - Optimized logic of loading config
Update note
- The mod now works without any dependency
- Fixed the comparator mixin not only work in client environment
Update note
- The pitch adjustments also affect comparator sound now
- Optimized code & file, now using Minecraft's own sound instead of adding new sounds
- Merged the mod for Minecraft 1.16-1.18 into a single file
1.19.3 & 1.19.4
Update note
- The pitch of repeater and redstone wire sounds are now configurable
- Added an option to apply a random offset to the base pitch
- There are two ways to adjust these two options:
- Adjust them through a config file
repeatersound.json5
which is located in the game'sconfig
directory - Use the newly added command
/repeatersound
, there are two arguments you can use in this command/repeatersound setBasePitch <pitch>
is used for the adjustment of the base pitch that will be applied on both repeater and redstone wire,<pitch>
requires afloat
number/repeatersound useRandomPitch <random>
is used to set if the random offset will be applied to the base pitch,<random>
requires aboolean
value
- Adjust them through a config file
Updated for Minecraft 1.19.3 Fabric API required