Package net.minecraft.client.sound
Interface SoundContainer<T>
- All Known Implementing Classes:
Sound,WeightedSoundSet
@Environment(CLIENT) public interface SoundContainer<T>
- Mappings:
Namespace Name official evointermediary net/minecraft/class_1148named net/minecraft/client/sound/SoundContainer
-
Method Summary
Modifier and Type Method Description TgetSound()intgetWeight()voidpreload(SoundSystem soundSystem)
-
Method Details
-
getWeight
int getWeight()- Mappings:
Namespace Name Mixin selector official eLevo;e()Iintermediary method_4894Lnet/minecraft/class_1148;method_4894()Inamed getWeightLnet/minecraft/client/sound/SoundContainer;getWeight()I
-
getSound
T getSound()- Mappings:
Namespace Name Mixin selector official kLevo;k()Ljava/lang/Object;intermediary method_4893Lnet/minecraft/class_1148;method_4893()Ljava/lang/Object;named getSoundLnet/minecraft/client/sound/SoundContainer;getSound()Ljava/lang/Object;
-
preload
- Mappings:
Namespace Name Mixin selector official aLevo;a(Levj;)Vintermediary method_18188Lnet/minecraft/class_1148;method_18188(Lnet/minecraft/class_1140;)Vnamed preloadLnet/minecraft/client/sound/SoundContainer;preload(Lnet/minecraft/client/sound/SoundSystem;)V
-