Package org.spout.vanilla.data

Examples of org.spout.vanilla.data.Music


  public void setPlaying(boolean playing) {
    // This call is most likely useless, but might be useful once the client
    // changes the displayed model between playing and not-playing
    getBlock().setData(playing ? 1 : 0);
    // Play the effect
    Music music = playing ? this.getMusic() : Music.NONE;
    GeneralEffects.MUSIC_DISC.playGlobal(getPoint(), music);
  }
View Full Code Here

TOP

Related Classes of org.spout.vanilla.data.Music

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.