Package de.mrjulsen.dragnsounds.core
Klasse ClientInstanceManager
java.lang.Object
de.mrjulsen.dragnsounds.core.ClientInstanceManager
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic voidaddRunnableCallback(long id, Runnable task) static longaddSoundRequestCallback(Consumer<Long> callback) static voidstatic voidcloseUploadCallbacks(long id) static SoundCommandListenercreateSoundCommandListener(long soundId) static net.minecraft.network.chat.MutableComponentstatic Stringstatic voiddelayedSoundGC(long soundId, int delay) static long[]static long[]getInstancesOfSound(SoundFile file) static SoundCommandListenergetSoundCommandListener(long soundId) static booleanstatic booleanisSoundIdBlocked(long soundId) static final voidreceiveSoundData(SoundDataPacket packet) static SoundCommandListenerremoveSoundCommandListener(long soundId) static voidrunRunnableCallback(long id) static voidrunSoundRequestCallback(long requestId, long soundId)
-
Konstruktordetails
-
ClientInstanceManager
public ClientInstanceManager()
-
-
Methodendetails
-
receiveSoundData
-
addSoundRequestCallback
-
runSoundRequestCallback
public static void runSoundRequestCallback(long requestId, long soundId) -
addRunnableCallback
-
runRunnableCallback
public static void runRunnableCallback(long id) -
createSoundCommandListener
-
getSoundCommandListener
-
getInstancesOfSound
-
getAllSoundIds
public static long[] getAllSoundIds() -
isAnyInstanceOfSoundPlaying
-
removeSoundCommandListener
-
isSoundIdBlocked
public static boolean isSoundIdBlocked(long soundId) -
closeUploadCallbacks
public static void closeUploadCallbacks(long id) -
delayedSoundGC
public static void delayedSoundGC(long soundId, int delay) -
clearCallbacks
public static void clearCallbacks() -
debugString
-
debugComponent
public static net.minecraft.network.chat.MutableComponent debugComponent()
-