mirror of
https://github.com/FabricMC/fabric.git
synced 2025-03-30 00:32:24 -04:00
Fix some registries being unsynced (#3550)
This commit is contained in:
parent
7b70ea8a7a
commit
3945d7aeb7
1 changed files with 11 additions and 2 deletions
|
@ -153,8 +153,9 @@ public class FabricRegistryInit implements ModInitializer {
|
|||
// Synced by id
|
||||
RegistryAttributeHolder.get(Registries.RECIPE_SERIALIZER);
|
||||
|
||||
// Synced and saved by id
|
||||
RegistryAttributeHolder.get(Registries.ATTRIBUTE);
|
||||
// Synced by rawID in 24w03a+
|
||||
RegistryAttributeHolder.get(Registries.ATTRIBUTE)
|
||||
.addAttribute(RegistryAttribute.SYNCED);
|
||||
|
||||
// Synced in StatisticsS2CPacket
|
||||
RegistryAttributeHolder.get(Registries.STAT_TYPE)
|
||||
|
@ -195,5 +196,13 @@ public class FabricRegistryInit implements ModInitializer {
|
|||
// Synced in TagManager::toPacket/fromPacket -> TagGroup::serialize/deserialize
|
||||
RegistryAttributeHolder.get(Registries.GAME_EVENT)
|
||||
.addAttribute(RegistryAttribute.SYNCED);
|
||||
|
||||
// Synced by rawID in its serialization code.
|
||||
RegistryAttributeHolder.get(Registries.NUMBER_FORMAT_TYPE)
|
||||
.addAttribute(RegistryAttribute.SYNCED);
|
||||
|
||||
// Synced by rawID.
|
||||
RegistryAttributeHolder.get(Registries.POSITION_SOURCE_TYPE)
|
||||
.addAttribute(RegistryAttribute.SYNCED);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue