diff --git a/gradle.properties b/gradle.properties index b91febf..7d4d56c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,5 +5,5 @@ org.gradle.daemon=false mc_version=1.19.2 forge_version=43.2.3 -myversion=1.0.4.6 +myversion=1.0.4.7 parchment_version=2022.11.27 \ No newline at end of file diff --git a/src/main/java/dev/zontreck/libzontreck/util/BinUtil.java b/src/main/java/dev/zontreck/libzontreck/util/BinUtil.java index 054532d..549e7c4 100644 --- a/src/main/java/dev/zontreck/libzontreck/util/BinUtil.java +++ b/src/main/java/dev/zontreck/libzontreck/util/BinUtil.java @@ -3,6 +3,11 @@ package dev.zontreck.libzontreck.util; public class BinUtil { private static final char[] HEX_ARRAY = "0123456789ABCDEF".toCharArray(); + /** + * Converts a byte array to hexadecimal + * @param bytes + * @return + */ public static String bytesToHex(byte[] bytes) { char[] hexChars = new char[bytes.length * 2]; for (int j = 0; j < bytes.length; j++) { diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index b5fda02..d6a34d7 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -19,7 +19,7 @@ modId="libzontreck" #mandatory # The version number of the mod - there's a few well known ${} variables useable here or just hardcode it # ${file.jarVersion} will substitute the value of the Implementation-Version as read from the mod's JAR file metadata # see the associated build.gradle script for how to populate this completely automatically during a build -version="1.0.4.6" #mandatory +version="1.0.4.7" #mandatory # A display name for the mod displayName="LibZontreck" #mandatory # A URL to query for updates for this mod. See the JSON update specification https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/ @@ -61,6 +61,6 @@ This mod provides common code to all of zontreck's mods. It by itself does absol modId="minecraft" mandatory=true # This version range declares a minimum of the current minecraft version up to but not including the next major version - versionRange="[1.19.2,1.20)" + versionRange="[1.18.2,1.19)" ordering="NONE" side="BOTH"