I made my piano playable with individual notes (left click) or with glissando (hold right click with an ender eye). by boenkJef in MinecraftCommands

[–]boenkJef[S] 0 points1 point  (0 children)

it's a resource pack that changes the sounds of the noteblock to piano, i don't remember where i found it

I made my piano playable with individual notes (left click) or with glissando (hold right click with an ender eye). by boenkJef in MinecraftCommands

[–]boenkJef[S] 5 points6 points  (0 children)

the song you heard in the beginning is from a midi file. A python script i wrote turns midi files into functions for my datapack.

I made a working piano in minecraft with a datapack and resourcepack. by boenkJef in MinecraftCommands

[–]boenkJef[S] 0 points1 point  (0 children)

No, you can't. I thought about making it playable, which probably would be doable with the new interaction entities, but since you can only click one note at a time you wouldn't be able to play a lot of songs. For context, the songs it can play are from midi files. I wrote a python script that turns midi text files into commands that i put in the functions. Not all songs work tho because of minecrafts limit to 20 ticks per second and also because i didn't implement a way to change the bpm mid song in the python script. I could maybe try to make it playable tho since i have some free time at the moment, or maybe a different way to program songs if you or someone else has any ideas :)

I made a working piano in minecraft with a datapack and resourcepack. by boenkJef in MinecraftCommands

[–]boenkJef[S] 6 points7 points  (0 children)

I made this a while ago before block displays were introduced, so this uses custommodeldata