Modscraper Modscraper Minecraft
SL Library logo

SL Library

Mod

by Sleys

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

Type

Mod

CurseForge Downloads

239,856

CurseForge ID

1497274

Last Updated

Jul 10, 2026

Description

🔹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:
description_404b2142-8e12-4dea-acab-6524fb0332e1.png

 

📚 Data Packs

Path:

.minecraft/data_driven/datapacks  

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

Datapacks example:
description_dd2a5131-389d-4e8b-92f4-0500c3bca936.png

 

📦 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:

description_952039e1-a765-4e9c-8a71-837854d19f3b.png

 

When it is invalid:

description_01b2d85a-8d51-47a0-804c-dc1b1b28fd94.png

 

 

✅ 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"

Similar Mods

Included in Modpacks

External Resources