Package net.minecraft.client.audio
Class SoundEventAccessor
java.lang.Object
net.minecraft.client.audio.SoundEventAccessor
- All Implemented Interfaces:
ISoundEventAccessor<Sound>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<ISoundEventAccessor<Sound>>private final ResourceLocationprivate final Randomprivate final ITextComponent -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSound(ISoundEventAccessor<Sound> p_188715_1_) getSound()intvoidpreloadIfRequired(SoundEngine p_217867_1_)
-
Field Details
-
list
-
random
-
location
-
subtitle
-
-
Constructor Details
-
SoundEventAccessor
-
-
Method Details
-
getWeight
public int getWeight()- Specified by:
getWeightin interfaceISoundEventAccessor<Sound>
-
getSound
- Specified by:
getSoundin interfaceISoundEventAccessor<Sound>
-
addSound
-
getSubtitle
-
preloadIfRequired
- Specified by:
preloadIfRequiredin interfaceISoundEventAccessor<Sound>
-