Class SoundSystem.ThreadSafeSoundSystem

java.lang.Object
paulscode.sound.SoundSystem
net.minecraft.client.sound.SoundSystem.ThreadSafeSoundSystem
Enclosing class:
SoundSystem

@Environment(CLIENT) class SoundSystem.ThreadSafeSoundSystem extends paulscode.sound.SoundSystem
Implements a thread safe implementation of playing(String)
Mappings:
Namespace Name
official bpx$a
intermediary net/minecraft/class_622$class_1907
named net/minecraft/client/sound/SoundSystem$ThreadSafeSoundSystem
  • Field Summary

    Fields inherited from class paulscode.sound.SoundSystem

    className, commandQueue, commandThread, logger, randomNumberGenerator, soundLibrary
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    playing(String string)
     

    Methods inherited from class paulscode.sound.SoundSystem

    activate, backgroundMusic, backgroundMusic, changeDopplerFactor, changeDopplerVelocity, checkFadeVolumes, cleanup, CommandQueue, cull, currentLibrary, dequeueSound, errorCheck, errorMessage, fadeOut, fadeOut, fadeOutIn, fadeOutIn, feedRawAudioData, flush, getLastException, getListenerData, getMasterVolume, getPitch, getVolume, importantMessage, init, initialized, interruptCommandThread, libraryCompatible, linkDefaultLibrariesAndCodecs, loadSound, loadSound, loadSound, ManageSources, message, millisecondsPlayed, moveListener, newLibrary, newSource, newSource, newStreamingSource, newStreamingSource, pause, play, playing, queueSound, queueSound, quickPlay, quickPlay, quickStream, quickStream, rawDataStream, removeSource, removeTemporarySources, rewind, setAttenuation, setDistOrRoll, setException, setListenerAngle, setListenerOrientation, setListenerPosition, setListenerVelocity, setLooping, setMasterVolume, setPitch, setPosition, setPriority, setTemporary, setVelocity, setVolume, snooze, stop, switchLibrary, turnListener, unloadSound

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ThreadSafeSoundSystem

      private ThreadSafeSoundSystem()
  • Method Details

    • playing

      public boolean playing(String string)
      Overrides:
      playing in class paulscode.sound.SoundSystem
      Mappings:
      Namespace Name Mixin selector
      official playing Lbpx$a;playing(Ljava/lang/String;)Z
      intermediary playing Lnet/minecraft/class_622$class_1907;playing(Ljava/lang/String;)Z
      named playing Lnet/minecraft/client/sound/SoundSystem$ThreadSafeSoundSystem;playing(Ljava/lang/String;)Z