Skip to content

Commit

Permalink
3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Cephetir committed Jun 11, 2022
1 parent 409146b commit ccb1551
Show file tree
Hide file tree
Showing 12 changed files with 1,445 additions and 39 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ dependencies {

implementation(files("libs/Pizza_Client-1.1.3-pre1.jar"))
implementation(files("libs/ChromaHUD-3.0.jar"))

include(files("libs/DS-Desktop-Notify.jar"))
}

mixin {
Expand Down
Binary file added libs/DS-Desktop-Notify.jar
Binary file not shown.
6 changes: 6 additions & 0 deletions src/main/kotlin/me/cephetir/skyskipped/SkySkipped.kt
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ import me.cephetir.skyskipped.config.Config
import me.cephetir.skyskipped.event.Listener
import me.cephetir.skyskipped.features.Features
import me.cephetir.skyskipped.features.impl.discordrpc.RPC
import me.cephetir.skyskipped.features.impl.macro.MacroManager
import me.cephetir.skyskipped.features.impl.misc.Metrics
import me.cephetir.skyskipped.gui.impl.GuiItemSwap
import me.cephetir.skyskipped.utils.BlurUtils
Expand Down Expand Up @@ -69,7 +70,9 @@ class SkySkipped {
val autoGhostBlockKey = KeyBinding("Auto Ghost Block", Keyboard.KEY_NONE, "SkySkipped")
val perspectiveToggle = KeyBinding("Better Perspective", Keyboard.KEY_NONE, "SkySkipped")
val autoDojo = KeyBinding("Auto Dojo", Keyboard.KEY_NONE, "SkySkipped")
val giftAura = KeyBinding("Gift Aura", Keyboard.KEY_NONE, "SkySkipped")
val keybinds = HashSet<GuiItemSwap.Keybind>()
val macroKey = KeyBinding("Toggle Macro", Keyboard.KEY_NONE, "SkySkipped")

private val cosmetics = hashMapOf<String, Pair<String, String>>()

Expand Down Expand Up @@ -123,6 +126,7 @@ class SkySkipped {
MinecraftForge.EVENT_BUS.register(RPC())
MinecraftForge.EVENT_BUS.register(Listener())
features.register()
MinecraftForge.EVENT_BUS.register(MacroManager)
RPC.reset()
BlurUtils.registerListener()

Expand All @@ -133,6 +137,8 @@ class SkySkipped {
ClientRegistry.registerKeyBinding(autoGhostBlockKey)
ClientRegistry.registerKeyBinding(perspectiveToggle)
ClientRegistry.registerKeyBinding(autoDojo)
ClientRegistry.registerKeyBinding(giftAura)
ClientRegistry.registerKeyBinding(macroKey)

EssentialAPI.getShutdownHookUtil().register {
RPC.shutdown()
Expand Down
Loading

0 comments on commit ccb1551

Please sign in to comment.