Package de.mrjulsen.dragnsounds.core
Klasse ServerInstanceManager
java.lang.Object
de.mrjulsen.dragnsounds.core.ServerInstanceManager
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic voidstatic voidcloseAll(net.minecraft.world.entity.player.Player player) static voidcloseSound(net.minecraft.world.entity.player.Player player, long soundId) static voidcloseUploadBuffer(long requestId) static de.mrjulsen.mcdragonlib.data.StatusResultcreateUploadBuffer(long requestId, int maxSize, net.minecraft.server.level.ServerPlayer player) static net.minecraft.network.chat.MutableComponentstatic Stringstatic PlayerboundDataBuffergetBySoundId(long soundId) static UploadSoundBuffergetUploadBuffer(long requestId, int maxSize, net.minecraft.server.level.ServerPlayer player) static PlayerboundDataBufferstatic PlayerboundDataBufferloadFromStream(InputStream stream, boolean streaming, long soundId) static PlayerboundDataBufferloadInputData(InputStream stream, boolean streaming, long soundId)
-
Konstruktordetails
-
ServerInstanceManager
public ServerInstanceManager()
-
-
Methodendetails
-
loadFile
-
loadFromStream
public static PlayerboundDataBuffer loadFromStream(InputStream stream, boolean streaming, long soundId) -
loadInputData
public static PlayerboundDataBuffer loadInputData(InputStream stream, boolean streaming, long soundId) -
getBySoundId
-
closeSound
public static void closeSound(net.minecraft.world.entity.player.Player player, long soundId) -
closeAll
public static void closeAll(net.minecraft.world.entity.player.Player player) -
createUploadBuffer
public static de.mrjulsen.mcdragonlib.data.StatusResult createUploadBuffer(long requestId, int maxSize, net.minecraft.server.level.ServerPlayer player) -
getUploadBuffer
public static UploadSoundBuffer getUploadBuffer(long requestId, int maxSize, net.minecraft.server.level.ServerPlayer player) -
closeUploadBuffer
public static void closeUploadBuffer(long requestId) -
debugString
-
debugComponent
public static net.minecraft.network.chat.MutableComponent debugComponent() -
clearCallbacks
public static void clearCallbacks()
-