Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3b91570a8c | ||
|
|
de04d5a2cf |
+2
-2
@@ -43,8 +43,8 @@ subprojects {
|
||||
|
||||
allprojects {
|
||||
apply plugin: "fabric-loom"
|
||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_17
|
||||
version = project.mod_version + "+" + project.minecraft_version
|
||||
sourceCompatibility = targetCompatibility = JavaVersion.VERSION_21
|
||||
version = project.mod_version + "-" + project.minecraft_version
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
|
||||
+5
-4
@@ -3,15 +3,16 @@ org.gradle.jvmargs=-Xmx2G
|
||||
|
||||
# Fabric Properties
|
||||
# check these on https://fabricmc.net/versions.html
|
||||
minecraft_version=1.20.6
|
||||
yarn_mappings=1.20.6+build.3
|
||||
|
||||
minecraft_version=1.21
|
||||
yarn_mappings=1.21+build.2
|
||||
loader_version=0.15.11
|
||||
|
||||
# Fabric API
|
||||
fabric_version=0.100.2+1.20.6
|
||||
fabric_version=0.100.2+1.21
|
||||
|
||||
# Mod Properties
|
||||
mod_version=1.4.3
|
||||
mod_version=1.4.4
|
||||
maven_group=dev.draylar
|
||||
archives_base_name=omega-config
|
||||
modmenu_version=7.1.0
|
||||
@@ -237,7 +237,7 @@ public class OmegaConfig implements ModInitializer {
|
||||
}
|
||||
|
||||
public record SyncConfigPayload(NbtCompound nbtCompound) implements CustomPayload {
|
||||
public static final Identifier CONFIG_SYNC_PACKET = new Identifier("omegaconfig", "sync");
|
||||
public static final Identifier CONFIG_SYNC_PACKET = Identifier.of("omegaconfig", "sync");
|
||||
public static final CustomPayload.Id<SyncConfigPayload> ID = new Id<>(CONFIG_SYNC_PACKET);
|
||||
public static final PacketCodec<PacketByteBuf, SyncConfigPayload> CODEC = PacketCodecs.NBT_COMPOUND.xmap(SyncConfigPayload::new, SyncConfigPayload::nbtCompound).cast();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user