Skip to content

Commit

Permalink
1.21 update
Browse files Browse the repository at this point in the history
  • Loading branch information
frqnny committed Jun 17, 2024
1 parent de04d5a commit 3b91570
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public void onInitialize() {
}

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();

Expand Down

0 comments on commit 3b91570

Please sign in to comment.