Back to mods
Zenworks project artwork

CurseForge · Minecraft mod

Zenworks

A growing collection of ZenScript utility methods for CraftTweaker.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Zenworks release should I use?

Updated last month
Latest stable file zenworks-1.0.0.jar
Game version 1.12.2
Loader Forge

zenworks-1.0.0.jar targets 1.12.2 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. All 1 required mods have matching files.

Where it goes

Is Zenworks required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does zenworks-1.0.0.jar need?

zenworks-1.0.0.jar. Change the file and its required mods may change too.

All 1 required mods have matching files

Install CraftTweaker first. We found matching files for this game-version and loader setup.

CraftTweaker Needed by zenworks-1.0.0.jar
required
Matching file found Matched file: CraftTweaker2-1.12-4.1.20.718.jar

We only count dependency files that match this setup. A file for another loader does not fill the gap.

Before you install it

Add Zenworks without breaking your instance.

Built for zenworks-1.0.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use zenworks-1.0.0.jar. It targets 1.12.2 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    Install CraftTweaker first. We found matching files for this game-version and loader setup.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside zenworks-1.0.0.jar. It opens that exact file at the source.

About this project

What does Zenworks add?

Zenworks is my collection of ZenScript utility methods for CraftTweaker. I add a method when one of my own scripts needs it, so the methods are a mixed set and do not follow one theme. Other script authors may find them useful too. The current methods work with potion effects and nearby players.

Zenworks adds no items, blocks, or recipes, and changes nothing until a script calls one of its methods.

AI usage disclaimer: This mod was developed with AI-agent assistance using this agent workflow. The project owner reviewed the work during development.

Methods

  • addPotionEffectById: gives a living entity a potion effect named by a string, such as "minecraft:haste", so a script can pick the potion while the game runs. Returns whether the effect changed.
  • getPotionAmplifierById: reads the level of an entity's potion effect by its id, or -1 when the entity does not have it.
  • getPlayersInRadius: finds the living players within a distance of any entity.
  • asPlayer: turns an entity into a player for player methods, or gives null when it is not a player.

A wrong argument, such as an unknown potion id, writes one clear error to crafttweaker.log that names the method, the value, and the script line.

Documentation

The method catalog lists every method with its exact signature and a working example, and shows the CraftTweaker way for needs CraftTweaker already meets.

Installation

Install Zenworks and CraftTweaker on both the client and the server.

Source: github.com/mahghuuuls/zenworks

Project description from CurseForge.

Pick your setup

Zenworks by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

1 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Zenworks versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.