promotional bannermobile promotional banner

SL Library

Adds various base utilities, synchronization help, policy, packet sending and data driven

๐Ÿ”นSL Library

 

๐Ÿงฐ Core Library & Utilities

SL Library includes a internal library designed to support mod features such as synchronization, event handling, logic execution, and client-side rendering utilities.


 

โš™๏ธ What does it provide?

The internal library is composed of multiple utility modules that handle:

  • ๐Ÿ”„ Network synchronization (client ↔ server)
  • ๐ŸŽฏ Event-driven systems for gameplay interactions
  • ๐Ÿง  Conditional logic and execution systems
  • ๐Ÿ“ฆ File handling and configuration utilities
  • โšก Command registration and processing
  • ๐ŸŽฎ Input handling and player interaction events
  • โœจ Custom particle systems (including text particles)
  • ๐Ÿงฉ Compatibility and modular execution support

 

๐ŸŒ Networking System

Includes a complete packet-based synchronization layer:

  • Sync custom data between client and server  
  • Handle cooldowns, tags, and state updates  
  • Support for particle and visual synchronization  

 

๐ŸŽฏ Event System

Provides a wide range of events for gameplay interaction:

  • Player input and movement  
  • Attack and combat behavior  
  • Targeting systems  
  • Client-side rendering and camera control  

 

๐Ÿง  Logic & Execution System

A flexible logic framework built around reusable "statements":

  • Player, entity, item, and equipment conditions  
  • Execution chains and conditional logic  
  • Sound and action triggers  

 

โœจ Particle System

Includes a custom particle engine with advanced features:

  • Text-based particles  
  • Buffered rendering system  
  • Mathematical handlers for animation and positioning  

 

๐Ÿ› ๏ธ Utilities & Tools

Additional systems included:

  • File reading and path building utilities  
  • Configuration management  
  • Command registration system  
  •  Exception handling framework  
  • Rendering helpers and overlay utilities  

 

๐Ÿ”นSL Data-Driven

Extends data reading, whether for resource packs, data packs via external folders, or early internal In-Jar reads

 

๐Ÿ“ Global Data-Driven Folders

SL Data-Driven provides two special global directories inside your `.minecraft` folder:

.minecraft/data_driven/resourcepacks  
.minecraft/data_driven/datapacks  


 

๐Ÿ” How it works

Anything placed inside these folders behaves as if it were built directly into the game or a mod.

The key advantage:

  • Content is global  
  • Works across all worlds automatically  
  • No per-world installation required

 

๐Ÿ“ฆ Resource Packs

Path:
.minecraft/data_driven/resourcepacks  

  • Store assets such as textures, models, animations, and similar files  
  • Behaves like a built-in resource pack  
  • No manual activation required  

Resourcepack example:


 

๐Ÿ“š Data Packs

Path:

.minecraft/data_driven/datapacks  

  • Store datapacks and data-driven logic  
  • Works like standard datapacks  
  • Automatically loaded in all worlds  

Datapacks example:


 

๐Ÿ“ฆ Dependency Package System

SL Data-Driven introduces a dependency system that allows other mods to automatically add content using structured files (such as JSON) directly inside their .jar.

This makes it easy to create extensions, compatibility layers, and data-driven features without modifying the base mod.


 

๐Ÿ” How does it work?

The system is fully automatic:

1. Declare the dependency  
Your mod must depend on "sl_data_driven" in its META-INF descriptor.

2. Folder structure  
Inside your mod, create the following path:

/data_driven/<your_mod_id>/

3. Add your files  
Place any files you want SL Data-Driven to process (JSON, configs, etc.) inside that folder.

4. Automatic loading  
On startup, SL Data-Driven

  • Detects all mods that depend on it  
  •  Scans the /data_driven/ directory  
  •  Loads the files as extensions  

This allows collecting and reading files, but it does not add a base read; all file reading must be designed.

 

One way to confirm that it works is, for example, to check that your modid is listed here, in this case I added the mod (SL Library) to the Data-Driven

When valid:

 

When it is invalid:

 


 

โœ… Minimum requirements

For your .jar to be recognized as a valid mod:

  •  It must include a META-INF descriptor  
  • It must use:

modLoader="lowcodefml"


 

๐Ÿงช Example configuration

modLoader="lowcodefml"
loaderVersion="[47,)"
license="All Rights Reserved"

[[mods]]
modId="your_modid"
displayName="Your Mod Name"
version="1.0"
authors="you"

[[dependencies.your_modid]]
modId="sl_data_driven"
mandatory=true
versionRange="*"
ordering="AFTER"
side="BOTH"

The SL Library Team

profile avatar
Owner
  • 31
    Followers
  • 13
    Projects
  • 1.7M
    Downloads

More from SleysView all