The key used to Link and UnLink blocks can be changed in Ctrl+J

The mod is installed by extracting the contents of the attached Zip-Folder to your "Mods" folder. Remember to install Spaar's Modloader first, and to merge the contents of the "Resources" folder.

If it doesn't work, you either installed it incorrectly (Most likely by not merging the "Resources" folder in the zip-file with the "Resources" folder in the "Mods" folder, or you are using this way into the future, when features of this mod no longer works.

Since the mod uses reflection to hijack the key system, it has to check through a Dictionary approximately each frame * the amount of blocks with keys you have on the currently loaded machine, so it may cause some lag

A lot of thanks to AvarethTaika for providing sounds, StuChris for providing models+textures for the Logic Block and the NoteBlock, and Eriyo2000 for additional input on models!NB: Needs more stuff! Post below or message me on Discord if you wanna help!This mod allows you to create automatic music machines in Besiege. It contains a Note Block, an IO Block, and a Delay Block. It also features a tick-based logic system which hooks automatically into all blocks in besiege with a key.The IO system has a GUI-window named "IO", containing two toggles "Link" and "UnLink".If you have "Link" toggled on and hover over an Output Block and press "Q", then hover over an Input Block and press Q again, you will create a link from that Output Block to the Input Block. UnLink unlinks a previously created link with the same actions.There can be multiple output-blocks connected to one Input Block, where if any of those output blocks are outputting "True", the input of the Input block will be "True". This is also known as an "Or" gate.An Input Block is any block that you can assign a key to. If the input to the Input Block is "True", it will be the same as if the key is down for that block. Note that this will work in addition to that blocks other inputs.An Output Block is any block that can output. Currently, the only ones that can do this are the IO Block and the Delay Block, both of which happen to also be Input Blocks. Output Blocks are black when outputting "False", and Red when outputting "True".The Delay Block takes the input and delays it the designated amount of time before outputting. The "Extend Output" toggle makes it so any "True" output will be outputted immediately, but any "False" output will still be delayed. Note that the IO system uses ticks on a 16ms timer, so anything not a multiple of 16 ms will be ceiled up.The Logic Block continuously outputs either "True" or "False", which is designated by the "Start State". Hold to reverse decides whether you have to hold the designated key to invert the output from the initial output, or have it invert every time you press it. If you have both Hold To Reverse and Start State on, it is effectively a "Not" gate.The Note Block plays the chosen note when the key is pressed or the block is clicked on. QuickPlay decides whether the audio will restart playing if you press the key twice before it finishes playing. Speed changes the pitch and tempo of the song. Note that speed uses % to allow greater precision.Additional Notes:Download: http://www.mediafire.com/file/3sn8r8tvcdt2ci1/NoteMod2.zip