aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/bscv/modules/self/FastInteract.java
blob: 9f82b20b1d32e16c2e9bf9be0116bd891c28a31b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package ftbsc.bscv.modules.self;

import com.google.auto.service.AutoService;
import ftbsc.bscv.ICommons;
import ftbsc.bscv.api.ILoadable;
import ftbsc.bscv.modules.QuickModule;
import net.minecraftforge.event.TickEvent;
import net.minecraftforge.eventbus.api.SubscribeEvent;

import java.lang.reflect.Field;

import static ftbsc.bscv.Boscovicino.log;

@AutoService(ILoadable.class)
public class FastInteract extends QuickModule implements ICommons {

   protected int getDefaultKey() { return UNBOUND; }

   @SubscribeEvent
   public void onTick(TickEvent.ClientTickEvent event) {
      if (MC == null) return;

      MC.rightClickDelay = 0; // ACCESSTRANSFORMER
   }
}