Repeater Sound

Repeater Sound

Mod

A simple client side mod that add click sound to some redstone components

Client Utility

37.0k downloads
51 followers
Follow Save
90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!
Filter versions...
Filter channels...

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

Project members

HeyBlack233

Owner

Details

Licensed MIT
Published 2 years ago
Updated 6 months ago