Class ClientTests.SineSound

java.lang.Object
net.minecraft.client.resources.sounds.AbstractSoundInstance
net.neoforged.neoforge.debug.client.ClientTests.SineSound
All Implemented Interfaces:
net.minecraft.client.resources.sounds.SoundInstance
Enclosing class:
ClientTests

private static final class ClientTests.SineSound extends net.minecraft.client.resources.sounds.AbstractSoundInstance
  • Nested Class Summary

    Nested classes/interfaces inherited from interface net.minecraft.client.resources.sounds.SoundInstance

    net.minecraft.client.resources.sounds.SoundInstance.Attenuation
  • Field Summary

    Fields inherited from class net.minecraft.client.resources.sounds.AbstractSoundInstance

    attenuation, delay, location, looping, pitch, random, relative, sound, source, volume, x, y, z
  • Constructor Summary

    Constructors
    Constructor
    Description
    SineSound(net.minecraft.world.phys.Vec3 position)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    CompletableFuture<net.minecraft.client.sounds.AudioStream>
    getStream(net.minecraft.client.sounds.SoundBufferLibrary soundBuffers, net.minecraft.client.resources.sounds.Sound sound, boolean looping)
     

    Methods inherited from class net.minecraft.client.resources.sounds.AbstractSoundInstance

    getAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getVolume, getX, getY, getZ, isLooping, isRelative, resolve, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface net.minecraft.client.resources.sounds.SoundInstance

    canPlaySound, canStartSilent
  • Constructor Details

    • SineSound

      SineSound(net.minecraft.world.phys.Vec3 position)
  • Method Details

    • getStream

      public CompletableFuture<net.minecraft.client.sounds.AudioStream> getStream(net.minecraft.client.sounds.SoundBufferLibrary soundBuffers, net.minecraft.client.resources.sounds.Sound sound, boolean looping)