Minecraft Mods

UniLibRev1 [Core] [Library]

  • 359 views, 1 today
  • 17 downloads, 0 today
  • 3
  • 2
ModMaker's Avatar ModMaker
Level 12 : Journeyman Miner
2
A collection of tools for my own needs, designed to serve as a core library that players shall install to enjoy my upcoming mods. Developers may decompile the library to see how it works, there is no obfuscation applied. The library is heavily based on a few publicly available resources (WTFPL). Please note that there are no warranties provided, so you have been warned.


Introducing UniLibRev1 - The Ultimate API for Unleashing the Power of Multitasking, JSON Encoding, Command Systems, and Windows Shortcut Files!
Function 1: MultiTasker
Are you tired of your applications running tasks sequentially, resulting in sluggish performance? Look no further! MultiTasker from UniLibRev1 is here to revolutionize your threading experience. With its simple yet powerful library, you can effortlessly schedule tasks on different threads, optimizing performance like never before.
Using MultiTasker is as easy as importing TaskManager.jar into your project. Create a global TaskManager field in your main class, and call the tick() function to unleash the magic! But beware, tick() will indefinitely block anything below it from being called, so make sure it's the last thing in your main function.
Scheduling tasks is a breeze with MultiTasker. You can schedule tasks from any thread to be executed either on a separate new thread or on the thread you're calling tick() on. Just use the queueTask(Task, boolean) method to queue tasks, and watch as your application becomes a multitasking marvel.
Function 2: e-json
Unlock the power of JSON encoding with e-json, the annotation-based library from UniLibRev1. With e-json, you can seamlessly work with object fields and effortlessly encode and decode JSON data.
Simply add the @JsonValue("some_json_name") annotation to your object fields, and e-json will handle the rest. Encode objects with ease and decode them back into their original form effortlessly. It's like magic!
But that's not all! e-json provides a wide range of methods to access and manipulate JSON data. Whether you need to work with arrays, objects, booleans, strings, numbers, or even custom classes, e-json has got you covered.
Function 3: SimpleCommandSystem
Say goodbye to complex command systems and hello to simplicity with SimpleCommandSystem from UniLibRev1. Designed to make text-command systems a breeze, SimpleCommandSystem will transform the way you handle user input.
Creating a command is as simple as extending the SimpleCommand class and implementing the onCommand() method. Register your commands with the SimpleCommandProcessor, and watch as your commands come to life.
With SimpleCommandSystem, you can easily handle user input, execute code based on commands, and even show error messages when needed. It's the epitome of simplicity and elegance.
Function 4: Summary (MS Link)
Get ready to dive into the fascinating world of Windows shortcut files with Summary, the ultimate library for parsing and creating .lnk files. Developed by UniLibRev1, Summary allows you to explore the depths of the Shell Link (.LNK) Binary File Format.
Unleash your creativity and open existing .lnk files or create new ones from scratch. Set up properties like the working directory, command line arguments, icon, console text color, and more. Summary supports files and directories on local filesystems, Samba shares, and special Windows folders.
While Summary doesn't currently support environment variables or non-filesystem targets, it provides a comprehensive set of classes and methods to manipulate .lnk files with ease. Dive into the format specification to unlock the full potential of Summary or rely on the convenient ShellLinkHelper class for general tasks.


Download UniLibRev1 now and experience the power and complexity of this awe-inspiring API. Whether you're a seasoned developer or a curious enthusiast, UniLibRev1 will take your projects to new heights of complexity and sophistication.
Progress100% complete
Game VersionMinecraft 1.12.2
Tags

Create an account or sign in to comment.

Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome