Community listing page, reviews may not be monitored by the author.
Zenworks
No reviews yet
A growing collection of ZenScript utility methods for CraftTweaker.
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
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.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
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
-1when 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
nullwhen 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
Screenshots
Gallery
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
By the numbers
Statistics
Get it on
Available Platforms
On ModDex
Community snapshot
By the numbers