mirror of
https://github.com/FabricMC/fabric.git
synced 2025-04-21 03:10:54 -04:00
Fixes #1921: Synchronize BlockEntityType to the client since mods use the Vanilla mechanism for block entity updates since 1.18. (#1923)
This commit is contained in:
parent
3f7d361425
commit
533be9ba91
1 changed files with 3 additions and 2 deletions
|
@ -85,8 +85,9 @@ public class FabricRegistryInit implements ModInitializer {
|
|||
// Serialised by string, doesnt seem to be synced
|
||||
RegistryAttributeHolder.get(Registry.BIOME_SOURCE);
|
||||
|
||||
// Not synced or saved
|
||||
RegistryAttributeHolder.get(Registry.BLOCK_ENTITY_TYPE);
|
||||
// Synced. Vanilla uses raw ids in BlockEntityUpdateS2CPacket, and mods use the Vanilla syncing since 1.18
|
||||
RegistryAttributeHolder.get(Registry.BLOCK_ENTITY_TYPE)
|
||||
.addAttribute(RegistryAttribute.SYNCED);
|
||||
|
||||
// Synced in PaintingSpawnS2CPacket
|
||||
RegistryAttributeHolder.get(Registry.PAINTING_MOTIVE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue