BingoRufus

Music #2

Mar 15th, 2020
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 20.58 KB | None | 0 0
  1. import org.bukkit.Instrument;
  2. import org.bukkit.Note;
  3. import org.bukkit.Note.Tone;
  4. import org.bukkit.entity.Player;
  5. import org.bukkit.plugin.Plugin;
  6. import org.bukkit.scheduler.BukkitRunnable;
  7.  
  8. public class Songs {
  9.     public static void pause(double d) {
  10.         try {
  11.             TimeUnit.MILLISECONDS.sleep((long) ((1000 / 20) * d));
  12.         } catch (InterruptedException e) {
  13.         }
  14.     }
  15.     public static void CrabRave(Player p) {
  16.         Player p = playr;
  17.         final Runnable Crabz = new BukkitRunnable() {
  18.             public void run() {
  19.                 pause(20);
  20.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.D));
  21.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.G));
  22.                 pause(5);
  23.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.sharp(1, Tone.A));
  24.                 pause(5);
  25.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.G));
  26.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.G));
  27.                 pause(5);
  28.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.G));
  29.                 pause(2);
  30.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.D));
  31.                 pause(2);
  32.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.F));
  33.                 pause(2);
  34.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.D));
  35.                 pause(2);
  36.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.A));
  37.                 pause(5);
  38.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.F));
  39.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.F));
  40.                 pause(5);
  41.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.F));
  42.                 pause(2);
  43.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.D));
  44.                 pause(2);
  45.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.D));
  46.                 pause(2);
  47.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.D));
  48.                 pause(2);
  49.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.A));
  50.                 pause(5);
  51.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.D));
  52.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.F));
  53.                 pause(5);
  54.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.F));
  55.                 pause(2);
  56.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.C));
  57.                 pause(2);
  58.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.C));
  59.                 pause(2);
  60.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.C));
  61.                 pause(5);
  62.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.E));
  63.                 pause(2);
  64.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.C));
  65.                 pause(2);
  66.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.E));
  67.                 pause(2);
  68.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.F));
  69.                 pause(2);
  70.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.E));
  71.                 pause(2);
  72.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.D));
  73.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.G));
  74.                 pause(5);
  75.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.sharp(1, Tone.A));
  76.                 pause(5);
  77.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.G));
  78.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.G));
  79.                 pause(5);
  80.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.G));
  81.                 pause(2);
  82.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.D));
  83.                 pause(2);
  84.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.F));
  85.                 pause(2);
  86.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.D));
  87.                 pause(2);
  88.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.A));
  89.                 pause(5);
  90.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.F));
  91.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.F));
  92.                 pause(5);
  93.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.F));
  94.                 pause(2);
  95.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.D));
  96.                 pause(2);
  97.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.D));
  98.                 pause(2);
  99.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.D));
  100.                 pause(2);
  101.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.A));
  102.                 pause(5);
  103.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.D));
  104.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.F));
  105.                 pause(5);
  106.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.F));
  107.                 pause(2);
  108.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.C));
  109.                 pause(2);
  110.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.C));
  111.                 pause(2);
  112.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.C));
  113.                 pause(5);
  114.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.E));
  115.                 pause(2);
  116.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.C));
  117.                 pause(2);
  118.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.E));
  119.                 pause(2);
  120.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.F));
  121.                 pause(2);
  122.                 p.playNote(p.getLocation(), Instrument.IRON_XYLOPHONE, Note.natural(1, Tone.E));
  123.  
  124.             }
  125.         };
  126.         Bukkit.getScheduler().runTaskAsynchronously(displugin, Crabz);
  127.  
  128.     }
  129.  
  130.  
  131.     public static void RickRoll(Player playr) {
  132.         Player p = playr;
  133.         final Runnable Never = new BukkitRunnable() {
  134.             public void run() {
  135.                 pause(20);
  136.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.sharp(0, Tone.A));
  137.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(0, Tone.G));
  138.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  139.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(0, Tone.D));
  140.                 pause(2.666);
  141.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  142.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(0, Tone.D));
  143.                 pause(2.666);
  144.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.natural(0, Tone.F));
  145.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(1, Tone.G));
  146.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.G));
  147.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  148.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(0, Tone.D));
  149.                 pause(2.666);
  150.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(1, Tone.A));
  151.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.A));
  152.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(0, Tone.D));
  153.                 pause(2.666);
  154.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.natural(0, Tone.G));
  155.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(1, Tone.C));
  156.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.C));
  157.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(0, Tone.D));
  158.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.C));
  159.                 pause(2.666);
  160.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.natural(0, Tone.F));
  161.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(1, Tone.A));
  162.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.A));
  163.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(0, Tone.D));
  164.                 pause(2.666);
  165.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.natural(0, Tone.F));
  166.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(0, Tone.F));
  167.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.sharp(0, Tone.D));
  168.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(1, Tone.F));
  169.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(1, Tone.C));
  170.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.natural(0, Tone.F));
  171.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  172.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.C));
  173.                 pause(2.666);
  174.                 pause(2.666);
  175.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.sharp(0, Tone.D));
  176.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  177.                 pause(2.666);
  178.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.sharp(0, Tone.D));
  179.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.natural(0, Tone.F));
  180.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  181.                 p.playNote(p.getLocation(), Instrument.STICKS, Note.natural(0, Tone.D));
  182.                 pause(2.666);
  183.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  184.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(0, Tone.D));
  185.                 pause(2.666);
  186.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.natural(0, Tone.C));
  187.                 pause(2.666);
  188.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(0, Tone.D));
  189.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.natural(0, Tone.C));
  190.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.sharp(0, Tone.A));
  191.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(1, Tone.G));
  192.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(1, Tone.D));
  193.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.D));
  194.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  195.                 p.playNote(p.getLocation(), Instrument.STICKS, Note.sharp(0, Tone.G));
  196.                 pause(2.666);
  197.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  198.                 pause(2.666);
  199.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(0, Tone.G));
  200.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  201.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.C));
  202.                 pause(2.666);
  203.                 pause(2.666);
  204.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(0, Tone.G));
  205.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  206.                 pause(2.666);
  207.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  208.                 p.playNote(p.getLocation(), Instrument.STICKS, Note.natural(0, Tone.D));
  209.                 pause(2.666);
  210.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.G));
  211.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  212.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(0, Tone.D));
  213.                 pause(2.666);
  214.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.A));
  215.                 pause(2.666);
  216.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.sharp(0, Tone.D));
  217.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(1, Tone.G));
  218.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.C));
  219.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  220.                 p.playNote(p.getLocation(), Instrument.STICKS, Note.sharp(0, Tone.G));
  221.                 pause(2.666);
  222.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.sharp(0, Tone.G));
  223.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.A));
  224.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  225.                 pause(2.666);
  226.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(0, Tone.G));
  227.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.natural(0, Tone.F));
  228.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(1, Tone.D));
  229.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.D));
  230.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  231.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.C));
  232.                 pause(2.666);
  233.                 pause(2.666);
  234.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.natural(0, Tone.F));
  235.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  236.                 pause(2.666);
  237.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.C));
  238.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.D));
  239.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  240.                 p.playNote(p.getLocation(), Instrument.STICKS, Note.natural(0, Tone.D));
  241.                 pause(2.666);
  242.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  243.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(0, Tone.D));
  244.                 pause(2.666);
  245.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.natural(0, Tone.C));
  246.                 pause(2.666);
  247.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.natural(0, Tone.F));
  248.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(0, Tone.A));
  249.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.sharp(0, Tone.A));
  250.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.natural(1, Tone.F));
  251.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.C));
  252.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  253.                 p.playNote(p.getLocation(), Instrument.STICKS, Note.sharp(0, Tone.G));
  254.                 pause(2.666);
  255.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  256.                 pause(2.666);
  257.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  258.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.C));
  259.                 pause(2.666);
  260.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.natural(0, Tone.C));
  261.                 pause(2.666);
  262.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.sharp(0, Tone.A));
  263.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.A));
  264.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  265.                 pause(2.666);
  266.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.sharp(0, Tone.A));
  267.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  268.                 p.playNote(p.getLocation(), Instrument.STICKS, Note.natural(0, Tone.D));
  269.                 pause(2.666);
  270.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(1, Tone.G));
  271.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.G));
  272.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  273.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(0, Tone.D));
  274.                 pause(2.666);
  275.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.natural(0, Tone.C));
  276.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(1, Tone.F));
  277.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.A));
  278.                 pause(2.666);
  279.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.sharp(0, Tone.A));
  280.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.natural(1, Tone.F));
  281.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.C));
  282.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.C));
  283.                 p.playNote(p.getLocation(), Instrument.STICKS, Note.sharp(0, Tone.G));
  284.                 pause(2.666);
  285.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(1, Tone.C));
  286.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.A));
  287.                 pause(2.666);
  288.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.natural(0, Tone.F));
  289.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(0, Tone.F));
  290.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.sharp(0, Tone.D));
  291.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(0, Tone.F));
  292.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.C));
  293.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  294.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.C));
  295.                 pause(2.666);
  296.                 pause(2.666);
  297.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.sharp(1, Tone.D));
  298.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  299.                 pause(2.666);
  300.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.natural(0, Tone.C));
  301.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  302.                 p.playNote(p.getLocation(), Instrument.STICKS, Note.natural(0, Tone.D));
  303.                 pause(2.666);
  304.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.D));
  305.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  306.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(0, Tone.D));
  307.                 pause(2.666);
  308.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.natural(0, Tone.C));
  309.                 pause(2.666);
  310.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(0, Tone.D));
  311.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.natural(0, Tone.C));
  312.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.sharp(0, Tone.A));
  313.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(0, Tone.G));
  314.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(1, Tone.D));
  315.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.natural(0, Tone.C));
  316.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  317.                 p.playNote(p.getLocation(), Instrument.STICKS, Note.sharp(0, Tone.G));
  318.                 pause(2.666);
  319.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  320.                 pause(2.666);
  321.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.sharp(0, Tone.G));
  322.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  323.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.C));
  324.                 pause(2.666);
  325.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.A));
  326.                 pause(2.666);
  327.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.sharp(0, Tone.G));
  328.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.G));
  329.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  330.                 pause(2.666);
  331.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  332.                 p.playNote(p.getLocation(), Instrument.STICKS, Note.natural(0, Tone.D));
  333.                 pause(2.666);
  334.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(1, Tone.G));
  335.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  336.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(0, Tone.D));
  337.                 pause(2.666);
  338.                 pause(2.666);
  339.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.sharp(0, Tone.D));
  340.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.G));
  341.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  342.                 p.playNote(p.getLocation(), Instrument.STICKS, Note.sharp(0, Tone.G));
  343.                 pause(2.666);
  344.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.sharp(0, Tone.D));
  345.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  346.                 pause(2.666);
  347.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(0, Tone.G));
  348.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.natural(0, Tone.F));
  349.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.D));
  350.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  351.                 p.playNote(p.getLocation(), Instrument.BASS_DRUM, Note.natural(0, Tone.C));
  352.                 pause(2.666);
  353.                 pause(2.666);
  354.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.natural(0, Tone.F));
  355.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.C));
  356.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  357.                 pause(2.666);
  358.                 p.playNote(p.getLocation(), Instrument.BASS_GUITAR, Note.natural(0, Tone.F));
  359.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  360.                 p.playNote(p.getLocation(), Instrument.STICKS, Note.natural(0, Tone.D));
  361.                 pause(2.666);
  362.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.natural(0, Tone.F));
  363.                 p.playNote(p.getLocation(), Instrument.PIANO, Note.sharp(0, Tone.C));
  364.                 p.playNote(p.getLocation(), Instrument.FLUTE, Note.sharp(0, Tone.C));
  365.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(1, Tone.E));
  366.                 p.playNote(p.getLocation(), Instrument.SNARE_DRUM, Note.natural(0, Tone.D));
  367.  
  368.             }
  369.         };
  370.         Bukkit.getScheduler().runTaskAsynchronously(displugin, Never);
  371.  
  372.     }
  373. }
Advertisement
Add Comment
Please, Sign In to add comment