Class MovingVoiceSoundInstance
java.lang.Object
net.minecraft.client.resources.sounds.AbstractSoundInstance
purplecreate.tramways.content.announcements.sound.VoiceSoundInstance
purplecreate.tramways.content.announcements.sound.MovingVoiceSoundInstance
- All Implemented Interfaces:
net.minecraft.client.resources.sounds.SoundInstance,net.minecraft.client.resources.sounds.TickableSoundInstance
- Direct Known Subclasses:
MovingVoiceSoundInstanceImpl,MovingVoiceSoundInstanceImpl
@Environment(CLIENT)
public class MovingVoiceSoundInstance
extends VoiceSoundInstance
implements net.minecraft.client.resources.sounds.TickableSoundInstance
-
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
streamFields inherited from class net.minecraft.client.resources.sounds.AbstractSoundInstance
attenuation, delay, location, looping, pitch, random, relative, sound, source, volume, x, y, z -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedMovingVoiceSoundInstance(net.minecraft.client.sounds.AudioStream stream, com.simibubi.create.content.trains.entity.Carriage carriage, net.minecraft.core.BlockPos localPos) -
Method Summary
Modifier and TypeMethodDescriptionstatic MovingVoiceSoundInstancecreate(net.minecraft.client.sounds.AudioStream stream, com.simibubi.create.content.trains.entity.Carriage carriage, net.minecraft.core.BlockPos localPos) booleanvoidtick()Methods inherited from class purplecreate.tramways.content.announcements.sound.VoiceSoundInstance
create, getSoundMethods inherited from class net.minecraft.client.resources.sounds.AbstractSoundInstance
getAttenuation, getDelay, getLocation, getPitch, getSource, getVolume, getX, getY, getZ, isLooping, isRelative, resolve, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods 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
-
MovingVoiceSoundInstance
protected MovingVoiceSoundInstance(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) -
isStopped
public boolean isStopped()- Specified by:
isStoppedin interfacenet.minecraft.client.resources.sounds.TickableSoundInstance
-
tick
public void tick()- Specified by:
tickin interfacenet.minecraft.client.resources.sounds.TickableSoundInstance
-