Package net.neoforged.neoforge.network
Class ConfigSync
java.lang.Object
net.neoforged.neoforge.network.ConfigSync
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ConfigSync
private final net.neoforged.fml.config.ConfigTracker
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
receiveSyncedConfig
(HandshakeMessages.S2CConfigData s2CConfigData, NetworkEvent.Context contextSupplier) syncConfigs
(boolean isLocal)
-
Field Details
-
INSTANCE
-
tracker
private final net.neoforged.fml.config.ConfigTracker tracker
-
-
Constructor Details
-
ConfigSync
private ConfigSync(net.neoforged.fml.config.ConfigTracker tracker)
-
-
Method Details
-
syncConfigs
public List<MessageFunctions.LoginPacket<HandshakeMessages.S2CConfigData>> syncConfigs(boolean isLocal) -
receiveSyncedConfig
public void receiveSyncedConfig(HandshakeMessages.S2CConfigData s2CConfigData, NetworkEvent.Context contextSupplier)
-