Class Notebot
java.lang.Object
meteordevelopment.meteorclient.systems.modules.Module
meteordevelopment.meteorclient.systems.modules.misc.Notebot
- All Implemented Interfaces:
Comparable<Module>,ISerializable<Module>
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Setting<InstrumentDetectMode> final Setting<NotebotUtils.NotebotMode> final Setting<SettingColor> final Setting<SettingColor> final Setting<SettingColor> final Setting<SettingColor> final Setting<SettingColor> final Setting<SettingColor> Fields inherited from class meteordevelopment.meteorclient.systems.modules.Module
addon, aliases, autoSubscribe, category, chatFeedback, color, description, favorite, keybind, mc, name, runInMainMenu, serialize, settings, title, toggleOnBindRelease -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddisable()@Nullable net.minecraft.block.enums.NoteBlockInstrumentgetMappedInstrument(@NotNull net.minecraft.block.enums.NoteBlockInstrument inst) Gets an NoteBlockInstrument from Note MapGets status for GUIbooleanloadFileToMap(File file, Runnable callback) Loads and plays song directlyvoidLoads and plays songvoidvoidvoidpause()voidplay()Plays a song after loading and tuningvoidvoidpreviewSong(File file) Loads and previews the songvoidstop()void
-
Field Details
-
tickDelay
-
concurrentTuneBlocks
-
mode
-
instrumentDetectMode
-
polyphonic
-
autoRotate
-
autoPlay
-
roundOutOfRange
-
swingArm
-
checkNoteblocksAgainDelay
-
renderText
-
renderBoxes
-
shapeMode
-
untunedSideColor
-
untunedLineColor
-
tunedSideColor
-
tunedLineColor
-
tuneHitSideColor
-
scannedNoteblockSideColor
-
noteTextScale
-
showScannedNoteblocks
-
-
Constructor Details
-
Notebot
public Notebot()
-
-
Method Details
-
getInfoString
- Overrides:
getInfoStringin classModule
-
onActivate
public void onActivate()- Overrides:
onActivatein classModule
-
getWidget
-
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
Loads and plays song- Parameters:
file- Song supported by one ofSongDecoder
-
previewSong
Loads and previews the song- Parameters:
file- Song supported by one ofSongDecoder
-
loadFileToMap
Loads and plays song directly- Parameters:
file- Song supported by one ofSongDecodercallback- 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
-