Class MovingVoiceSoundInstanceImpl

java.lang.Object
net.minecraft.client.resources.sounds.AbstractSoundInstance
All Implemented Interfaces:
net.minecraft.client.resources.sounds.SoundInstance, net.minecraft.client.resources.sounds.TickableSoundInstance

public class MovingVoiceSoundInstanceImpl extends MovingVoiceSoundInstance
  • 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 purplecreate.tramways.content.announcements.sound.VoiceSoundInstance

    stream

    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
    Modifier
    Constructor
    Description
    protected
    MovingVoiceSoundInstanceImpl(net.minecraft.client.sounds.AudioStream stream, com.simibubi.create.content.trains.entity.Carriage carriage, net.minecraft.core.BlockPos localPos)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    create(net.minecraft.client.sounds.AudioStream stream, com.simibubi.create.content.trains.entity.Carriage carriage, net.minecraft.core.BlockPos localPos)
     
    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 purplecreate.tramways.content.announcements.sound.MovingVoiceSoundInstance

    isStopped, tick

    Methods inherited from class purplecreate.tramways.content.announcements.sound.VoiceSoundInstance

    create, getSound

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

    getAttenuation, getDelay, getLocation, getPitch, 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, getAttenuation, getDelay, getLocation, getPitch, getSound, getSource, getVolume, getX, getY, getZ, isLooping, isRelative, resolve
  • Constructor Details

    • MovingVoiceSoundInstanceImpl

      protected MovingVoiceSoundInstanceImpl(net.minecraft.client.sounds.AudioStream stream, com.simibubi.create.content.trains.entity.Carriage carriage, net.minecraft.core.BlockPos localPos)
  • Method Details

    • create

      public static MovingVoiceSoundInstance create(net.minecraft.client.sounds.AudioStream stream, com.simibubi.create.content.trains.entity.Carriage carriage, net.minecraft.core.BlockPos localPos)
    • getStream

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