EnumExtenderJS
No reviews yet
An Enum Extender for kubejs
Neoforge is a fork of the Minecraft Forge available for versions 1.20.1+ of Minecraft. Many Forge mods are compatible with Neoforge and vice versa.
Community voices
Reviews
Click once to include, again to exclude, again to clear
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
Resources
External Links
About
Description
An Enum Extender for kubejs
The first step: go to kubejs/enum_extender.json and add the enum target.
belike:

The format is <className>-<extenderScriptName>.
Step 2: go to kubejs/enum_extender_scripts and add extender script.
belike:



the method args is unique identifier for enum (VERY_HARD and THES_CREATE) and the normal arges

the create method can only be used in extender scripts, and if you try use this method in other scripts(server or startup or client), thie method will do nothing and return null.
There is no code completion, but you can write it where there is code completion and then copy it :)
the JavaWapper in extender scripts also have class filte(copy from kubejs and probejs).
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
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources