mirror of
https://github.com/FabricMC/fabric.git
synced 2025-09-06 19:36:26 +00:00
* Sync new 1.19 registries as required. Closes #2205 * Comment fixes.
This commit is contained in:
@@ -120,6 +120,22 @@ public class FabricRegistryInit implements ModInitializer {
|
||||
// Serialised by string, doesnt seem to be synced
|
||||
RegistryAttributeHolder.get(Registry.STRUCTURE_POOL_ELEMENT);
|
||||
|
||||
// Uses a data tracker (and thus, raw IDs) to sync cat entities to the client
|
||||
RegistryAttributeHolder.get(Registry.CAT_VARIANT)
|
||||
.addAttribute(RegistryAttribute.SYNCED);
|
||||
|
||||
// Uses a data tracker (and thus, raw IDs) to sync frog entities to the client
|
||||
RegistryAttributeHolder.get(Registry.FROG_VARIANT)
|
||||
.addAttribute(RegistryAttribute.SYNCED);
|
||||
|
||||
// Uses a data tracker (and thus, raw IDs) to sync painting entities to the client
|
||||
RegistryAttributeHolder.get(Registry.PAINTING_VARIANT)
|
||||
.addAttribute(RegistryAttribute.SYNCED);
|
||||
|
||||
// Uses the raw ID when syncing the command tree to the client
|
||||
RegistryAttributeHolder.get(Registry.COMMAND_ARGUMENT_TYPE)
|
||||
.addAttribute(RegistryAttribute.SYNCED);
|
||||
|
||||
// Synced in OpenScreenS2CPacket
|
||||
RegistryAttributeHolder.get(Registry.SCREEN_HANDLER)
|
||||
.addAttribute(RegistryAttribute.SYNCED);
|
||||
|
Reference in New Issue
Block a user