aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/makamys/lodmod/mixin/MixinSoundManager.java
blob: 3cdb58b0a46642f67a55108fe659cf219c9850d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package makamys.lodmod.mixin;

import java.util.List;

import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfo;

import net.minecraft.client.audio.SoundManager;


@Mixin(SoundManager.class)
abstract class MixinSoundManager {
    
    @Inject(method = "<init>*", at = @At("RETURN"))
    private void onConstructed(CallbackInfo ci) {
        System.out.println("(MIXIN EXAMPLE) Running injector mixin for SoundManager constructor!");
    }
    
    
}