OpenNBS / OpenNoteBlockStudio

An open-source Minecraft music maker.
https://opennbs.org/
MIT License
745 stars 51 forks source link

Tempo changes to Carpet Mod /tickrate commands in data pack #268

Open ShinkoNet opened 2 years ago

ShinkoNet commented 2 years ago

The new tempo change feature is really cool and I think there is a possibility of it working inside Minecraft via allowing it to call commands from tickrate changing mods such as Carpet.

In Datapack export, there should be an optional function such as "let tempo be decided by CarpetMod". Whenever a tempo-changing note is detected, this function should add a string such as "/tick rate 25" changing the tempo of the track midway through.

This also should disable the quantising function in the datapack export, and just set "/tick rate (intial tempo)" as a replacement function for the same result.

ghost commented 2 years ago

yes, but this would control the whole world's tps, instead of just the song, which WILL cause issues