NetJS (KubeJS Addon)
Modby KostromDan
Addon for KubeJS for very limited safe network interaction.
Description
Description:
Addon for KubeJS for very limited safe network interaction.
Adds NetJSWrapper named NetJS which you can use anywhere in your scripts.
The mod itself does nothing.
Features:
// async, accessing the network will be a separate thread, the game will continue to run, and the callback will be called when the result is received.
- NetJS.getPasteBin('3zCF8MM6', result => {})
- NetJS.getGists('3f1cd831af032e52238ef161bdd715b3', result => {})
// linear, not recomended, because will stop main client/server thread utill result is received. - NetJS.getPasteBin('3zCF8MM6', false, result => {})
- NetJS.getGists('3f1cd831af032e52238ef161bdd715b3', false, result => {})
Usage:
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Fancy Trail
The mod that beautifies slash trails based on EPICFIGHT
Advanced Lightsabers
Adds nearly 420 trillion combinations of unique, advanced lightsabers.
Alex's Mobs Interaction
An addon that adds tons of new features specifically for the mod Alex's Mobs
Aqua Creepers!
Another reason to stay away from the ocean...
Enderite Mod (for Forge/NeoForge)
Adds successors to Netherite items
Iguana Lib
An iguana lib core for my mods.