Class ServerInstanceManager

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

public final class ServerInstanceManager extends Object
  • Constructor Details

    • ServerInstanceManager

      public ServerInstanceManager()
  • Method Details

    • loadFile

      public static PlayerboundDataBuffer loadFile(SoundFile file, 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)
    • getOrCreateUploadBuffer

      public static UploadSoundBuffer getOrCreateUploadBuffer(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()