Package de.mrjulsen.dragnsounds.core
Class ServerInstanceManager
java.lang.Object
de.mrjulsen.dragnsounds.core.ServerInstanceManager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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 net.minecraft.network.chat.MutableComponent
static String
static PlayerboundDataBuffer
getBySoundId
(long soundId) static UploadSoundBuffer
getOrCreateUploadBuffer
(long requestId, int maxSize, net.minecraft.server.level.ServerPlayer player) static PlayerboundDataBuffer
-
Constructor Details
-
ServerInstanceManager
public ServerInstanceManager()
-
-
Method Details
-
loadFile
-
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) -
getOrCreateUploadBuffer
public static UploadSoundBuffer getOrCreateUploadBuffer(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()
-