diff options
author | Torui <44932079+ToruiDev@users.noreply.github.com> | 2022-01-24 20:00:02 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-24 20:00:02 +0100 |
commit | 1caa3e1840e51800200458b776712f38b470d772 (patch) | |
tree | 1df9f67493c87ae24f19cb1f1c8ffa9503b4125b /src/main/java/de/torui/coflsky/CoflSky.java | |
parent | 4d2b8de15b223b2c9dfe389db36a593b1fabff0b (diff) | |
download | COFL-1caa3e1840e51800200458b776712f38b470d772.tar.gz COFL-1caa3e1840e51800200458b776712f38b470d772.tar.bz2 COFL-1caa3e1840e51800200458b776712f38b470d772.zip |
Feature/support new flips (#47)
* added rudimentary support for the new flips
* Keypress
* send "clicked" command
* maybe fix the ConcurrentModificationException
* add synchronized to relevant pieces of code
* premature optimization
* change timings to 50 seconds
* switched to config file
* workaround for #48
* change debounce mechanism
* cofl track
* fix #49
* fix command not getting data serialized
* .
* add id on claim
* unset hotkey
* Apply suggestions from code review
remove tab from empty line
Co-authored-by: Äkwav <16632490+Ekwav@users.noreply.github.com>
Diffstat (limited to 'src/main/java/de/torui/coflsky/CoflSky.java')
-rw-r--r-- | src/main/java/de/torui/coflsky/CoflSky.java | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/main/java/de/torui/coflsky/CoflSky.java b/src/main/java/de/torui/coflsky/CoflSky.java index 53ffe71..0191ea1 100644 --- a/src/main/java/de/torui/coflsky/CoflSky.java +++ b/src/main/java/de/torui/coflsky/CoflSky.java @@ -20,11 +20,12 @@ import net.minecraftforge.fml.relauncher.Side; public class CoflSky { public static final String MODID = "CoflSky"; - public static final String VERSION = "1.2-Alpha"; + public static final String VERSION = "1.3-Alpha"; public static WSClientWrapper Wrapper; public static KeyBinding[] keyBindings; + public static EventRegistry Events; public static final String[] webSocketURIPrefix = new String [] { "wss://sky.coflnet.com/modsocket", @@ -45,6 +46,7 @@ public class CoflSky keyBindings = new KeyBinding[] { new KeyBinding("key.replay_last.onclick", Keyboard.KEY_NONE, "SkyCofl"), + new KeyBinding("key.start_highest_bid", Keyboard.KEY_NONE, "SkyCofl") }; if(event.getSide() == Side.CLIENT) { @@ -57,8 +59,9 @@ public class CoflSky } - } - MinecraftForge.EVENT_BUS.register(new EventRegistry()); + } + Events = new EventRegistry(); + MinecraftForge.EVENT_BUS.register(Events); } |