BlockTuner (Fabric Mod)
About
This is the fabric version of BlockTuner and requires fabric API.
If you are using forge, you can check out the forge version by A_Peng215.
If you want the data pack for older versions of Minecraft, please visit this page.
Instructions
Installation
Put this mod in your mods folder. You also need to install Fabric API if you haven't installed it yet.
This mod also works on servers and require no client installation.
You can get the latest version here or find a specific release here
How to Use BlockTuner
Ctrl + Right click on a note block to open up tuning UI. Placing a note block while holding Ctrl also opens the UI automatically.
Ctrl to show the note of the note block at crosshair.
Ctrl + Middle click on note blocks to pick up readily tuned note blocks.
Right click note blocks with blaze rods to play with right clicks without tuning.
*Note:
if you are using BlockTuner 1.0.0 (Minecraft 1.18.2) or lower, you don't need to hold Ctrl to open up the tuning UI. Instead, use /blocktuner to toggle this.
if you have Tweakeroo installed and have no access to the Ctrl key, please go to Tweakaroo configs, find flexibleBlockPlacementOffset under Hot Keys and set it to something else. e.g. Right Alt. Sorry for the inconvenience.
Tuning UI
Top-right corner (from left to right)
Play mode - toggle whether the GUI will turn off immediately upon clicking a note on the piano keyboard.
Typing keyboard to piano keyboard - toggle whether you want to play the piano keyboard using your computer keyboard.
MIDI Device - Click to cycle through available MIDI input devices. The icon shows red if the device is currently unavailable. This usually means it is being used by another program.
Keyboard Mapping:

Credits
Localization
- Russian - Felix14-v2 (Currently outdated)
- Japanese - misaka10843 & hakkaku
Forge Port
License
Copyright (C) 2021, xwjcool.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hospe that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see https://www.gnu.org/licenses/.
All Versions
+ Add Version/tune command is still kept for manual use./tune command is still kept for manual use.Changes from 1.0.0:
- Added
Ctrlas a modifier key to open up the note block GUI. - Added new command
/tune. - No longer requires a
ScreenHandlerthat messes up smithing table GUI on clients without the mod.
Changes from 1.0.0:
- Added
Ctrlas a modifier key to open up the note block GUI. - Added new command
/tune. - No longer requires a
ScreenHandlerthat messes up smithing table GUI on clients without the mod.
Now you need to hold
Ctrl while interacting with or placing note blocks to open up the tuning UI. Otherwise, note blocks will have vanilla Minecraft behavior.Added a new command
/tune <pos> <note>.Removed
ScreenHandler and HandledScreen registration to keep this mod optional for client-side.Removed
/blocktuner command. This means that you are unable to turn BlockTuner off for now, sorry for the inconvenience.Feedbacks are welcome.
Please note that this will be a LTS version, and there will be no further updates for this Minecraft version except LTS update.
It's been some time since I began working on this project. It started as a command block chain, then a data pack for Minecraft 1.14.4, then a fabric mod since Minecraft 1.16.5. Thank you all for using this mod, and thank you for your help and support.
Tuned note block items will now show the note names when held or hovered. These will change accordingly to the selected key signature.
All settings will now be saved.
Now the mod will save your selected MIDI device and try enabling it next time you load up the game.
Tuning GUI will now close automatically when the note block is gone (broken or moved).
Edit 2021.12.15:
Updated to 1.18.x. not guaranteed to work.
This mod now updates to Minecraft 1.17, preparing for the incoming 1.18.
Seriously reworked the tuning GUI due to the rendering engine change in 1.17. Now it should behave normal as it does in 1.16.5.
- Ctrl + middle click to pick up tuned note blocks.
- Right click will always open tuning GUI. No need for a book any more.
- You can toggle that off with
/blocktunercommand. To turn it back on, use the same command. - You can no longer reset tuning with barrier. You won't use it anyway, will you?
Now server will require you to have a compatible version of BlockTuner, otherwise you are treated as without the mod.
(This UI layout may not be the final version. I'm trying to keep the changes small.)