Package de.mrjulsen.dragnsounds.core
Klasse ServerInstanceManager
java.lang.Object
de.mrjulsen.dragnsounds.core.ServerInstanceManager
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic void
static void
closeAll
(net.minecraft.world.entity.player.Player player) static void
closeSound
(net.minecraft.world.entity.player.Player player, long soundId) static void
closeUploadBuffer
(long requestId) static de.mrjulsen.mcdragonlib.data.StatusResult
createUploadBuffer
(long requestId, int maxSize, net.minecraft.server.level.ServerPlayer player) static net.minecraft.network.chat.MutableComponent
static String
static PlayerboundDataBuffer
getBySoundId
(long soundId) static UploadSoundBuffer
getUploadBuffer
(long requestId, int maxSize, net.minecraft.server.level.ServerPlayer player) static PlayerboundDataBuffer
static PlayerboundDataBuffer
loadFromStream
(InputStream stream, boolean streaming, long soundId) static PlayerboundDataBuffer
loadInputData
(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()
-