mirror of
https://github.com/FabricMC/fabric.git
synced 2025-04-08 21:14:41 -04:00
* Sync new 1.19 registries as required. Closes #2205 * Comment fixes.
This commit is contained in:
parent
1899036145
commit
92cf9a3ec2
1 changed files with 16 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue