LycheeJS NeoForge: Script Custom Recipes for Minecraft

LycheeJS NeoForge lets you script custom block interactions, crushing, and anvil recipes with JavaScript for Minecraft. Build unique gameplay fast.

Download lycheejs for Minecraft 1.21.1

Original name: lycheejs

Minecraft: 1.21.1

Loaders: NeoForge

FileVersionLoaderSize
lycheejs-1.21.1-1.0.0.jar1.21.1NeoForge39 КБDownload
lycheejs-1.21.1-2.0.0.jar1.21.1NeoForge39 КБDownload
lycheejs-1.21.1-2.1.jar1.21.1NeoForge41 КБDownload
lycheejs-1.21.1-2.2.jar1.21.1NeoForge41 КБDownload

LycheeJS NeoForge

Recipe datapacks have always been powerful, but writing JSON by hand for every interaction gets old fast. LycheeJS NeoForge changes that by letting you define Lychee recipes in clean, readable JavaScript. If you have ever wanted a gold block to transform when clicked with an iron block, or gravel to turn into sand when water drips on it, this add-on puts that power directly in your hands.

What LycheeJS NeoForge Actually Does

At its core, this mod bridges the Lychee recipe framework with a scripting layer built on JavaScript. Instead of juggling nested JSON objects, you write server-side scripts using builders like PostBuilder, ContextualBuilder, and SizedIngredientWrapper. The result is a compact, expressive syntax that reads almost like plain English.

The add-on covers a wide range of Lychee recipe types, including:

  • block_clicking and block_interacting for right-click or tool-based transformations
  • item_inside and dripstone_dripping for fluid and dripstone reactions
  • anvil_crafting for custom anvil combinations
  • block_crushing and block_exploding for destruction-based outputs
  • item_burning, item_exploding, and lightning_channeling for environmental triggers
  • random_block_ticking for passive, chance-driven block behavior

Each recipe supports post actions such as dropItem, withChance, and consumeAndPlace, so you can fine-tune drop rates and block states without writing a single line of Java.

Supported Versions and Loader

LycheeJS NeoForge is built specifically for the NeoForge mod loader, targeting modern Minecraft releases in the 1.21 family. Because NeoForge has become the go-to platform for many modpacks, this add-on slots neatly into existing setups without dragging in legacy Forge dependencies. Always confirm the exact Minecraft version listed on the mod page before you download LycheeJS NeoForge, since script APIs can shift between minor releases.

If you manage multiple instances, the foxygame.net launcher keeps things simple by bundling LycheeJS NeoForge in its add-on catalog, so you can add it to a fresh NeoForge profile in a single click and let the launcher handle version matching automatically.

How to Install LycheeJS NeoForge

Getting started is straightforward, and how to install depends mainly on whether you run a client or a dedicated server.

Client Installation

  • Install a compatible NeoForge version for your chosen Minecraft release.
  • Place the LycheeJS NeoForge jar and the base Lychee library into your mods folder.
  • Launch the game once to generate the script directory.
  • Drop your .js recipe files into the appropriate scripts folder and reload.

Server Installation

Servers follow the same pattern: install NeoForge, add both jars, and confirm that script files are present before players connect. Recipe scripts run server-side, so clients do not need to replicate them manually. This makes LycheeJS NeoForge for Minecraft servers especially convenient for pack authors who want to push recipe changes without shipping a full mod update.

Writing Your First Script

A minimal example shows the appeal. Registering a block clicking recipe takes only a few lines: wrap your input ingredient, define the target block predicate, and attach a post action that drops or places an item with a set chance. The same pattern repeats across every recipe type, which means once you understand one builder, the rest follow naturally. Contextual builders add extra conditions, letting you gate recipes behind chance rolls or environmental checks.

Because everything lives in JavaScript, you can reuse variables, loop over ingredient lists, and comment your logic. That flexibility is a genuine step up from static JSON files, particularly for large modpacks with dozens of custom interactions.

Final Thoughts

LycheeJS NeoForge lowers the barrier to custom recipe design for NeoForge players and pack developers alike. Whether you are building a small survival tweak or a sprawling progression overhaul, scripting recipes in JavaScript keeps your work readable and maintainable. Grab the right build for your Minecraft version, follow the install steps above, and start experimenting with the builders. Your next clever block interaction is only a few lines of code away.