Class MusicBlockTileEntity.BlockSoundRecord
java.lang.Object
net.minecraft.client.resources.sounds.AbstractSoundInstance
net.minecraft.client.resources.sounds.SimpleSoundInstance
com.pixelmonmod.pixelmon.blocks.tileentity.MusicBlockTileEntity.BlockSoundRecord
- All Implemented Interfaces:
net.minecraft.client.resources.sounds.SoundInstance,net.minecraft.client.resources.sounds.TickableSoundInstance
- Enclosing class:
MusicBlockTileEntity
public static class MusicBlockTileEntity.BlockSoundRecord
extends net.minecraft.client.resources.sounds.SimpleSoundInstance
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 net.minecraft.client.resources.sounds.AbstractSoundInstance
attenuation, delay, location, looping, pitch, random, relative, sound, source, volume, x, y, z -
Constructor Summary
ConstructorsConstructorDescriptionBlockSoundRecord(net.minecraft.resources.ResourceLocation soundId, net.minecraft.sounds.SoundSource categoryIn, int repeatDelayIn, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.AABB aabb) -
Method Summary
Methods inherited from class net.minecraft.client.resources.sounds.SimpleSoundInstance
forAmbientAddition, forAmbientMood, forJukeboxSong, forLocalAmbience, forMusic, forUI, forUI, forUIMethods inherited from class net.minecraft.client.resources.sounds.AbstractSoundInstance
getAttenuation, getDelay, getLocation, getPitch, getSound, 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, getStream, getVolume, getX, getY, getZ, isLooping, isRelative, resolve
-
Constructor Details
-
BlockSoundRecord
public BlockSoundRecord(net.minecraft.resources.ResourceLocation soundId, net.minecraft.sounds.SoundSource categoryIn, int repeatDelayIn, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.AABB aabb)
-
-
Method Details
-
tick
public void tick()- Specified by:
tickin interfacenet.minecraft.client.resources.sounds.TickableSoundInstance
-
isStopped
public boolean isStopped()- Specified by:
isStoppedin interfacenet.minecraft.client.resources.sounds.TickableSoundInstance
-