Update to 1.20.6
This commit is contained in:
parent
5918002c97
commit
963640810d
@ -31,7 +31,7 @@ dependencies {
|
||||
|
||||
// Fabric API. This is technically optional, but you probably want it anyway.
|
||||
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
|
||||
modImplementation "dev.isxander.yacl:yet-another-config-lib-fabric:${project.yacl_version}"
|
||||
modImplementation "dev.isxander:yet-another-config-lib:${project.yacl_version}"
|
||||
modImplementation "com.terraformersmc:modmenu:${project.modmenu_version}"
|
||||
}
|
||||
|
||||
|
@ -3,17 +3,17 @@ org.gradle.jvmargs=-Xmx1G
|
||||
|
||||
# Fabric Properties
|
||||
# check these on https://modmuss50.me/fabric.html
|
||||
minecraft_version=1.20.4
|
||||
yarn_mappings=1.20.4+build.3
|
||||
loader_version=0.15.9
|
||||
minecraft_version=1.20.6
|
||||
yarn_mappings=1.20.6+build.1
|
||||
loader_version=0.15.10
|
||||
|
||||
# Mod Properties
|
||||
mod_version = 0.2
|
||||
mod_version = 0.3
|
||||
maven_group = systems.brn
|
||||
archives_base_name = chatencryptor
|
||||
|
||||
# Dependencies
|
||||
# check this on https://modmuss50.me/fabric.html
|
||||
fabric_version=0.96.11+1.20.4
|
||||
yacl_version=3.4.1+1.20.4
|
||||
modmenu_version=9.2.0-beta.2
|
||||
fabric_version=0.97.8+1.20.6
|
||||
yacl_version=3.4.2+1.20.5-fabric
|
||||
modmenu_version=10.0.0-beta.1
|
||||
|
@ -1,6 +1,7 @@
|
||||
package systems.brn.chatencryptor;
|
||||
|
||||
import com.mojang.authlib.GameProfile;
|
||||
import com.mojang.brigadier.Message;
|
||||
import net.fabricmc.api.ClientModInitializer;
|
||||
import net.fabricmc.fabric.api.client.event.lifecycle.v1.ClientLifecycleEvents;
|
||||
import net.fabricmc.fabric.api.client.message.v1.ClientReceiveMessageEvents;
|
||||
@ -45,6 +46,7 @@ public class SecureChat implements ClientModInitializer {
|
||||
}
|
||||
catch (IllegalBlockSizeException | BadPaddingException | NoSuchAlgorithmException | NoSuchPaddingException | InvalidAlgorithmParameterException |
|
||||
InvalidKeyException e){
|
||||
MinecraftClient.getInstance().inGameHud.getChatHud().addMessage(Text.of((Message) e));
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -24,9 +24,9 @@
|
||||
},
|
||||
"depends": {
|
||||
"fabricloader": ">=${loader_version}",
|
||||
"fabric": "*",
|
||||
"minecraft": "${minecraft_version}",
|
||||
"yet_another_config_lib_v3": "3.3.2+1.20.4",
|
||||
"modmenu": "9.1.0-beta.1"
|
||||
"fabric": "0.97.8+1.20.6",
|
||||
"minecraft": ">=${minecraft_version}",
|
||||
"yet_another_config_lib_v3": "3.4.2+1.20.5-fabric",
|
||||
"modmenu": "10.0.0-beta.1"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user