接口的使用
net.minecraft.client.sound.SoundInstance
-
使用SoundInstance的程序包 程序包 说明 net.minecraft.client.gui.hud net.minecraft.client.render net.minecraft.client.sound -
-
net.minecraft.client.gui.hud中SoundInstance的使用
参数类型为SoundInstance的net.minecraft.client.gui.hud中的方法 修饰符和类型 方法 说明 voidSubtitlesHud. onSoundPlayed(SoundInstance sound, WeightedSoundSet soundSet) -
net.minecraft.client.render中SoundInstance的使用
类型参数类型为SoundInstance的net.minecraft.client.render中的字段 修饰符和类型 字段 说明 private Map<BlockPos,SoundInstance>WorldRenderer. playingSongs -
net.minecraft.client.sound中SoundInstance的使用
net.minecraft.client.sound中SoundInstance的子接口 修饰符和类型 接口 说明 interfaceTickableSoundInstance实现SoundInstance的net.minecraft.client.sound中的类 修饰符和类型 类 说明 classAbstractBeeSoundInstanceclassAbstractSoundInstanceclassAggressiveBeeSoundInstancestatic classAmbientSoundLoops.MusicLoopstatic classAmbientSoundLoops.Underwaterstatic classBiomeEffectSoundPlayer.MusicLoopclassElytraSoundInstanceclassEntityTrackingSoundInstanceclassGuardianAttackSoundInstanceclassMinecartInsideSoundInstanceA sound instance played when a player is riding a minecart.classMovingMinecartSoundInstanceA sound instance played when a minecart is moving.classMovingSoundInstanceclassPassiveBeeSoundInstanceclassPositionedSoundInstance声明为SoundInstance的net.minecraft.client.sound中的字段 修饰符和类型 字段 说明 private @Nullable SoundInstanceMusicTracker. current类型参数类型为SoundInstance的net.minecraft.client.sound中的字段 修饰符和类型 字段 说明 private Map<SoundInstance,Integer>SoundSystem. soundEndTicksprivate Multimap<SoundCategory,SoundInstance>SoundSystem. soundsprivate Map<SoundInstance,Channel.SourceManager>SoundSystem. sourcesprivate Map<SoundInstance,Integer>SoundSystem. startTicks参数类型为SoundInstance的net.minecraft.client.sound中的方法 修饰符和类型 方法 说明 private static booleanSoundSystem. canRepeatInstantly(SoundInstance soundInstance)private floatSoundSystem. getAdjustedPitch(SoundInstance soundInstance)private floatSoundSystem. getAdjustedVolume(SoundInstance soundInstance)booleanSoundManager. isPlaying(SoundInstance soundInstance)booleanSoundSystem. isPlaying(SoundInstance soundInstance)private static booleanSoundSystem. isRepeatDelayed(SoundInstance soundInstance)voidSoundInstanceListener. onSoundPlayed(SoundInstance sound, WeightedSoundSet soundSet)voidSoundManager. play(SoundInstance sound)voidSoundManager. play(SoundInstance sound, int delay)voidSoundSystem. play(SoundInstance soundInstance)voidSoundSystem. play(SoundInstance sound, int delay)private static booleanSoundSystem. shouldRepeatInstantly(SoundInstance soundInstance)voidSoundManager. stop(SoundInstance soundInstance)voidSoundSystem. stop(SoundInstance soundInstance)
-