Package net.minecraft.client.audio
Class SoundEventAccessor
java.lang.Object
net.minecraft.client.audio.SoundEventAccessor
- All Implemented Interfaces:
ISoundEventAccessor<Sound>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List<ISoundEventAccessor<Sound>>
private final ResourceLocation
private final Random
private final ITextComponent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSound
(ISoundEventAccessor<Sound> p_188715_1_) getSound()
int
void
preloadIfRequired
(SoundEngine p_217867_1_)
-
Field Details
-
list
-
random
-
location
-
subtitle
-
-
Constructor Details
-
SoundEventAccessor
-
-
Method Details
-
getWeight
public int getWeight()- Specified by:
getWeight
in interfaceISoundEventAccessor<Sound>
-
getSound
- Specified by:
getSound
in interfaceISoundEventAccessor<Sound>
-
addSound
-
getSubtitle
-
preloadIfRequired
- Specified by:
preloadIfRequired
in interfaceISoundEventAccessor<Sound>
-