90% of ad revenue goes to creators. Go ad-free while supporting creators with Modrinth Plus. Subscribe today!

Sync (Transparent Icon)

Sync is a Fabric mod library that extends the functionality of Apoli. This mod library backports some features that are present in newer versions of Apoli and brings them to 1.20.1 while also adding new powers, conditions and action types that can be used for developing Origins/Apoli datapacks.

Q: What does Sync stand for?
System for Yielding New Capabilities

Q: What is Apoli and its relation to Sync?
Apoli is the library mod Origins uses for its powers, conditions and actions. Sync should work right out the bat with any mod that has Apoli or Apoli by itself.

Q: What features has Sync backported?

Q: What original features does Sync have?

  • A Pose (Power Type):
    {
      "type":"sync:pose",
      "pose":"standing",
      "priority":0
    }
    

This power type accepts the following options in the pose field:

  1. standing
  2. fall_flying
  3. sleeping
  4. swimming
  5. spin_attack
  • A In Pose (Entity Condition):
    {
      "type": "sync:in_pose",
      "pose":"spin_attack"
    }
    

This Entity Condition accepts the same options in the pose field as the Pose (Power Type).

  • A Model Flip (Power Type):

    {
      "type":"sync:model_flip"
    }
    
  • A Key Pressed (Entity Condition):

    {
      "type": "sync:key_pressed",
      "key": "key.use",
      "continuous": true
    }
    

This Entity Condition accepts all of the Keybindings present in both Origins and Apoli in the key field, even keybinds from Origins Extra Keybinds

Q: Is it compatible with other library mods?

  • Sync is compatible is other library mods but it adds a Set Entity Aspects (Power Type) and a Has Aspect (Entity Condition) if you have AspectsLib installed.
  • Set Entity Aspects (Power Type):
    {
      "type": "sync:set_entity_aspects",
      "aspects": {
        "aspectslib:terra": 10,
        "aspectslib:ignis": 5
      }
    }
    

This power type accepts any Aspect that's present in data packs but only if AspectsLib is installed.

  • Has Aspect (Entity Condition):
      "condition": {
        "type": "sync:has_aspect",
        "aspect": "aspectslib:terra",
        "min": 5,
        "comparison": ">="
      }
    

You can learn more about this Entity Condition here.


Project members

Overgrown

Member

Details

Licensed MIT
Published a day ago
Updated 4 days ago