Unique Crops

Unique Crops

7M Downloads

Improve Musical crop, maybe give it some taste in music? つ ◕_◕ ༽つ

bafomdad opened this issue · 0 comments

commented

On 1.12+ branches only. I've tried before, but I do think the musical crop would need to have some semblance of preference in noteblock music, instead of mishmashing together random noteblock noises that one can barely call music, and growing really quickly to it as a result.

This is the crop block: https://github.com/bafomdad/uniquecrops/blob/1.12/com/bafomdad/uniquecrops/crops/Musica.java

But most of the heavy lifting is done here:
https://github.com/bafomdad/uniquecrops/blob/1.12/com/bafomdad/uniquecrops/blocks/tiles/TileMusicaPlant.java

And the event for listening into the noteblock playing is here:
https://github.com/bafomdad/uniquecrops/blob/1.12/com/bafomdad/uniquecrops/events/UCEventHandlerServer.java#L182-L208

Someone could do it better? Either way, I will keep this here as a reminder to come back to it and improve it sometime.