Mod

CraftTweaker Java Library

Quick rating

CraftTweaker Java Library

No reviews yet

Java libraries for crafttweaker

QoL & Tweaks
Mod Loaders
Forge
Minecraft

Community voices

Reviews

Versions
Loading versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your review has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

About

Project Details

Type
Mod
Latest Version
ctjl-1.20.1-1.3.0.jar
Authors

For authors

Embed Badge

If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

CurseForge ID

Resources

External Links

Source Issues Wiki Discord

About

Description

This mod was created in order to expand the capabilities of CraftTweaker for experienced users.

The mod offers java libraries for implementing more complex scenarios

The purpose of fashion

IO support

Network support

Asynchrony

Multithreading

And much more, but these are the initial tasks

Examples

Also, if you need to add specific functionality, you can write to me about it in my Discord

If you want to support me Boosty

MultiThread

val tread = thread.createTread(() => {
    var i = 0;
    while (i < 5000){
        println("Thread 1: " + i);
        i++;
    }
});

thread.createRunThread(() => {
    var i = 0;
    while (i < 5000){
        println("Thread 2: " + i);
        i++;
    }
});

tread.start();

Async

import stdlib.Exception;
import mods.ctjl.java.lang.ExecutionException;
import mods.ctjl.java.lang.InterruptedException;

var async_1 = async.supplyAsync(() => {
  var i = 0;
  println("Async 1 Start");
  while(i < 2000){
    println(i);
    i++;
  }
  return 1;
});

var async_2 = async.runAsync(() => {
  var i = 0;
  println("Async 2 Start");
  while(i < 2000){
    println(i);
    i++;
  }
});

try {
  async_1.getValue();
  println("Async 1 End");
} catch ex as ExecutionException {
  println(ex.toString());
} catch ex as InterruptedException {
  println(ex.toString());
}

try {
  async_2.getValue();
  println("Async 2 End");
} catch ex as Exception {
  println("Some Error");
  println(ex.toString());
}

Screenshots

Gallery

This project has no gallery images yet.

Versions

Files

Relations

Project Relations

More like this

Similar Mods

Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.

On ModDex

Community snapshot

0
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

~24,000
Downloads
Last Updated
Created
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync