java.lang.Object
meteordevelopment.meteorclient.systems.modules.Module
meteordevelopment.meteorclient.systems.modules.misc.Notebot
All Implemented Interfaces:
Comparable<Module>, ISerializable<Module>

public class Notebot extends Module
  • Field Details

  • Constructor Details

    • Notebot

      public Notebot()
  • Method Details

    • getInfoString

      public String getInfoString()
      Overrides:
      getInfoString in class Module
    • onActivate

      public void onActivate()
      Overrides:
      onActivate in class Module
    • getWidget

      public WWidget getWidget(GuiTheme theme)
      Overrides:
      getWidget in class Module
    • getStatus

      public String getStatus()
      Gets status for GUI
      Returns:
      A status
    • play

      public void play()
      Plays a song after loading and tuning
    • pause

      public void pause()
    • stop

      public void stop()
    • onSongEnd

      public void onSongEnd()
    • playRandomSong

      public void playRandomSong()
    • disable

      public void disable()
    • loadSong

      public void loadSong(File file)
      Loads and plays song
      Parameters:
      file - Song supported by one of SongDecoder
    • previewSong

      public void previewSong(File file)
      Loads and previews the song
      Parameters:
      file - Song supported by one of SongDecoder
    • loadFileToMap

      public boolean loadFileToMap(File file, Runnable callback)
      Loads and plays song directly
      Parameters:
      file - Song supported by one of SongDecoder
      callback - Callback that is run when song has been loaded
      Returns:
      Success
    • updateStatus

      public void updateStatus()
    • getMappedInstrument

      @Nullable public @Nullable net.minecraft.block.enums.NoteBlockInstrument getMappedInstrument(@NotNull @NotNull net.minecraft.block.enums.NoteBlockInstrument inst)
      Gets an NoteBlockInstrument from Note Map
      Parameters:
      inst - An instrument
      Returns:
      A new instrument mapped by instrument given in parameters