-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ede309f
commit cbebe40
Showing
4 changed files
with
16 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
src/main/java/net/minusmc/discordrpcplugin/GuiDiscordRPC.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package net.minusmc.discordrpcplugin | ||
|
||
import net.minecraft.client.gui.GuiScreen | ||
|
||
class GuiKeybindHelper(private val prevGui: GuiScreen) : GuiScreen() { | ||
override fun initGui() { | ||
buttonList.add(GuiButton(1, width / 2 + 40, height / 3, "ON")) | ||
} | ||
|
||
override fun drawScreen(mouseX: Int, mouseY: Int, partialTicks: Float) { | ||
Fonts.font40.drawString("Enable", width / 2 - 100, (height / 3 - mc.fontRendererObj.FONT_HEIGHT * 2).toFloat(), 0xffffff, false) | ||
} | ||
} |