Customization of Note Block Settings?

Discussion in 'Plugin Development' started by Lime Studios, Jan 21, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Lime Studios

    Hi, I was wondering if anyone knew of a way to configure the settings for a Note Block using code so when you place it it will automatically have those settings?

    EX: /nb c#
    The above command would make the next Note Block you place automatically set to play c# note.

    Thanks for your help!
  2. Offline


    If you look at this site, you will see the values for the note block. If you do this:
    int noteInt = 5;
    It should set the value to a B in the lower octave. This is assuming, of course, that you have the actual note block stored in a variable called "noteBlock". This should do just fine! Just pm me if you need more help!
Thread Status:
Not open for further replies.

Share This Page