Class AudioFormats

java.lang.Object
de.luckymcdev.foundryengine.client.sound.AudioFormats

public class AudioFormats extends Object
  • Constructor Details

    • AudioFormats

      public AudioFormats()
  • Method Details

    • openFinite

      public static net.minecraft.client.sounds.FiniteAudioStream openFinite(InputStream input) throws IOException
      Throws:
      IOException
    • open

      public static net.minecraft.client.sounds.AudioStream open(InputStream input, boolean looping) throws IOException
      Throws:
      IOException
    • resolve

      public static Optional<net.minecraft.resources.Identifier> resolve(net.minecraft.server.packs.resources.ResourceProvider provider, net.minecraft.resources.Identifier oggPath)