Klasse ServerInstanceManager

java.lang.Object
de.mrjulsen.dragnsounds.core.ServerInstanceManager

public final class ServerInstanceManager extends Object
  • Konstruktordetails

    • ServerInstanceManager

      public ServerInstanceManager()
  • Methodendetails

    • loadFile

      public static PlayerboundDataBuffer loadFile(SoundFile file, long soundId)
    • loadFromStream

      public static PlayerboundDataBuffer loadFromStream(InputStream stream, boolean streaming, long soundId)
    • loadInputData

      public static PlayerboundDataBuffer loadInputData(InputStream stream, boolean streaming, long soundId)
    • getBySoundId

      public static PlayerboundDataBuffer getBySoundId(long soundId)
    • 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

      public static String debugString()
    • debugComponent

      public static net.minecraft.network.chat.MutableComponent debugComponent()
    • clearCallbacks

      public static void clearCallbacks()