Package com.sk89q.craftbook.util.jinglenote

Examples of com.sk89q.craftbook.util.jinglenote.StringJingleSequencer


    @Override
    public void trigger(ChipState chip) {

        if (chip.getInput(0)) {
            if(sequencer == null)
                sequencer = new StringJingleSequencer(tune, delay);
            if(sequencer.isPlaying() || !sequencer.hasPlayedBefore()) {
                for (Player player : getServer().getOnlinePlayers()) {
                    if (!area.isWithinArea(player.getLocation())) {
                        if(jNote.isPlaying(player.getName()))
                            jNote.stop(player.getName());
View Full Code Here

TOP

Related Classes of com.sk89q.craftbook.util.jinglenote.StringJingleSequencer

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.