All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Repeater Sound

Repeater Sound

by HeyBlack233 • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Repeater Sound Mod

Modrinth Downloads GitHub all releases Mod Version MC Version

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 a float number
  • /repeatersound useRandomPitch <random>
    • Used to set if the random offset will be applied to the base pitch, <random> requires a boolean value
  • /repeatersound setVolume <volume>
    • Used to set the volume of sounds, volume requires a float number
  • /repeatersound interactionMode <mode>
    • Used to switch interaction modes
  • /repeatersound alarmMessage <message>
    • 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 the quotes outside of <message> are necessary.
  • /repeatersound disabledMessage <message>
    • Used to set the message that will display on screen in DISABLED interaction mode.
    • Please note that the quotes outside of <message> are necessary.

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.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
26.3
Fabric
20d ago 1
26.2
Fabric
4mo ago 1
26.1
Fabric
7mo ago 1
1.21.11
Fabric
7mo ago 1
1.20.6
Fabric
7mo ago 1
1.19.4
Fabric
7mo ago 1
1.18.x 1.17.x 1.16.x
Fabric
7mo ago 1
1.21.4
Fabric
last yr. 1
1.20.x
Fabric
last yr. 1
1.20.x 1.19.x
Fabric
last yr. 1
1.18.x 1.17.x 1.16.x
Fabric
last yr. 1
1.21.4
Fabric
last yr. 1
1.20.x 1.19.x
Fabric
last yr. 1
1.18.x 1.17.x 1.16.x
Fabric
last yr. 1
1.20.x 1.19.x
Fabric
last yr. 1
1.18.x 1.17.x 1.16.x
Fabric
last yr. 1
1.20.x 1.19.x
Fabric
last yr. 1
1.18.x 1.17.x 1.16.x
Fabric
last yr. 1
1.20.x 1.19.x
Fabric
last yr. 1
1.18.x 1.17.x 1.16.x
Fabric
last yr. 1
23w13a_or_b 1.19.x
Fabric
last yr. 1
1.18.x 1.17.x 1.16.x
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.18.x 1.17.x 1.16.x
Fabric
last yr. 1
1.19.x
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.17.1
Fabric
last yr. 1
1.16.5
Fabric
last yr. 1
1.19.3
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.17.1
Fabric
last yr. 1
1.16.5
Fabric
last yr. 1
1.18.2
Fabric
last yr. 1
1.17.1
Fabric
last yr. 1
1.16.5
Fabric
last yr. 1
### Update note

  • Fixes/Optimizations**

  • Fixed /repeatersound alarmMessage writing to the wrong config key (interaction_mode → alarm_message)
  • Fixed the config screen label for disabled_message so it no longer reuses the alarm message text
  • Refactored ComparatorBlockMixin to remove shared mutable fields and rely only on per-call parameters
  • Centralized config validation in ConfigManager, so commands and config screen now share the same validation rules
  • Normalized and validated stored config values on startup, automatically repairing invalid entries with defaults
  • Unified configuration validation flow for all entrypoints (startup, commands and config screen)

  • Other**

  • Updated to Minecraft 26.1
### Update note

  • News**

  • Added mod menu configuration screen (Cloth Config API required)

  • Fixes/Optimizations**

  • Added mod id tag to log messages
  • Optimized config file, now config entries have a fixed order
  • Fixed a bug when updating config below version 1.3.0
  • Config option values are validated when the mod initializes
  • Moved mod version from file name of config file into config entries

  • Others**

~~why my code before is so shit~~
### Update note

  • Fixes/Optimizations**

  • Optimized log messages
  • Optimized command suggestions of /repeatersound interactionMode
  • Optimized config file
### Update note

  • Features**

  • Messages for ALARM and DISABLED interaction modes are now configurable.

> /repeatersound alarmMessage <message> to set the message of ALARM 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 of DISABLED 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 a float 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's config 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 a float number
  • /repeatersound useRandomPitch <random> is used to set if the random offset will be applied to the base pitch, <random> requires a boolean value
Updated for Minecraft 1.19.3</br>
[Fabric API](https://modrinth.com/mod/fabric-api) required
Added:
  • Added redstone wire sound event.

Changed:
Repeater Sound Icon
Download Repeater Sound
Select game version
Select platform