Skip to content

Commit 5f34956

Browse files
committed
fix(NeoForge): NetworkRegistryMixin should also be registered on client
1 parent 4444726 commit 5f34956

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Fixed
11+
- Fix a regression introduced by the last update causing client to unable to join a server with CobbleGen installed
12+
1013
## [v5.4.7] - 2026-01-07
1114

1215
### Added

buildSrc/src/main/kotlin/ProcessModMetadata.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ fun File.processMixinsJson(mcVersion: Int, isFabric: Boolean) {
4444
addJson("gametest.RegistryDataLoaderMixin\$GameTest")
4545
addJson("gametest.StructureTemplateManagerMixin\$GameTest")
4646
}
47+
if (!isFabric && mcVersion >= 12004) addJson("network.loader.neoforge.NetworkRegistryMixin")
4748
}
4849
val client = buildList {
4950
if (mcVersion < 12005) addJson("network.packet.ClientboundCustomPayloadPacketMixin")
@@ -56,7 +57,6 @@ fun File.processMixinsJson(mcVersion: Int, isFabric: Boolean) {
5657
else addJson("network.ServerConfigurationPacketListenerMixin")
5758
if (mcVersion < 12005) addJson("network.packet.ServerboundCustomPayloadPacketMixin")
5859
addJson("network.ServerCommonPacketListenerMixin")
59-
if (!isFabric && mcVersion >= 12004) addJson("network.loader.neoforge.NetworkRegistryMixin")
6060
}
6161
val mixinsJson = JsonObject(
6262
lenientJson.decodeFromString<JsonObject>(readText(Charsets.UTF_8)).toMutableMap().apply {

0 commit comments

Comments
 (0)