Update to 1.21
This commit is contained in:
parent
2c9f3d0a6e
commit
ec7a70a3cf
@ -1,19 +1,20 @@
|
|||||||
# Done to increase the memory available to gradle.
|
# Done to increase the memory available to gradle.
|
||||||
org.gradle.jvmargs=-Xmx1G
|
org.gradle.jvmargs=-Xmx1G
|
||||||
|
|
||||||
# Fabric Properties
|
|
||||||
# check these on https://modmuss50.me/fabric.html
|
minecraft_version=1.21
|
||||||
minecraft_version=1.20.6
|
yarn_mappings=1.21+build.1
|
||||||
yarn_mappings=1.20.6+build.1
|
loader_version=0.15.11
|
||||||
loader_version=0.15.10
|
|
||||||
|
# Fabric API
|
||||||
|
fabric_version=0.100.1+1.21
|
||||||
|
|
||||||
# Mod Properties
|
# Mod Properties
|
||||||
mod_version = 0.4
|
mod_version = 0.5
|
||||||
maven_group = systems.brn
|
maven_group = systems.brn
|
||||||
archives_base_name = chatencryptor
|
archives_base_name = chatencryptor
|
||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
# check this on https://modmuss50.me/fabric.html
|
# check this on https://modmuss50.me/fabric.html
|
||||||
fabric_version=0.97.8+1.20.6
|
yacl_version=3.5.0+1.21-fabric
|
||||||
yacl_version=3.4.2+1.20.5-fabric
|
|
||||||
modmenu_version=10.0.0-beta.1
|
modmenu_version=10.0.0-beta.1
|
||||||
|
@ -22,7 +22,7 @@ import java.util.Base64;
|
|||||||
|
|
||||||
public class Config {
|
public class Config {
|
||||||
public static ConfigClassHandler<Config> HANDLER = ConfigClassHandler.createBuilder(Config.class)
|
public static ConfigClassHandler<Config> HANDLER = ConfigClassHandler.createBuilder(Config.class)
|
||||||
.id(new Identifier("securechat", "securechat_config"))
|
.id(Identifier.of("securechat", "securechat_config"))
|
||||||
.serializer(config -> GsonConfigSerializerBuilder.create(config)
|
.serializer(config -> GsonConfigSerializerBuilder.create(config)
|
||||||
.setPath(FabricLoader.getInstance().getConfigDir().resolve("securechat.json"))
|
.setPath(FabricLoader.getInstance().getConfigDir().resolve("securechat.json"))
|
||||||
.appendGsonBuilder(GsonBuilder::setPrettyPrinting) // not needed, pretty print by default
|
.appendGsonBuilder(GsonBuilder::setPrettyPrinting) // not needed, pretty print by default
|
||||||
|
Loading…
Reference in New Issue
Block a user