Skip to content

Commit

Permalink
update mixins and fix refmap
Browse files Browse the repository at this point in the history
  • Loading branch information
ThatGravyBoat committed Nov 4, 2024
1 parent 3d5dd0e commit 3dce00c
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/mcmod.info
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[
{
"modid": "gravyrewardclaim",
"name": "Gravy's Reward Claim",
"name": "${name}",
"description": "Allows you to claim Hypixel rewards in-game.",
"version": "${version}",
"mcversion": "${mcversion}",
"mcversion": "${mcVersionStr}",
"url": "",
"updateUrl": "",
"authorList": [
Expand Down
1 change: 1 addition & 0 deletions versions/1.12.2-1.8.9.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
net.minecraft.util.math.BlockPos net.minecraft.util.BlockPos
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package tech.thatgravyboat.rewardclaim.platform

object PlatformEvents {

init {

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
package tech.thatgravyboat.rewardclaim.platform

import gg.essential.universal.utils.MCScreen
import net.minecraft.client.gui.GuiScreenBook

typealias MCBookScreen = GuiScreenBook

object PlatformUtils {

fun fetch(url: String): String? {
return null
}

fun openScreen(screen: MCScreen?) {
}

fun registerCommand(command: String, callback: () -> Unit) {
}
}
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"compatibilityLevel": "JAVA_17",
"compatibilityLevel": "JAVA_21",
"minVersion": "0.7",
"package": "tech.thatgravyboat.rewardclaim.mixins",
"refmap": "mixins.rewardclaim.refmap.json",
"refmap": "mixins.gravyrewardclaim.refmap.json",
"mixins": [
"MinecraftClientMixin"
],
Expand Down

0 comments on commit 3dce00c

Please sign in to comment.