HomeJavaModsExpressions Provider
Expressions Provider
ModsJava

Expressions Provider

by 4drian3d · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21.6–1.21.8 · Fabric⬇ Download for 1.21.2–1.21.8 · Folia⬇ Download for 1.21.2–1.21.8 · Paper⬇ Download for 1.21.2–1.21.8 · Purpur⬇ Download for 1.21.6–1.21.8 · Quilt⬇ Download for 1.21.2–1.21.8 · Sponge⬇ Download for 1.21.3–1.21.8 · Velocity
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

Expressions-Provider

Add MiniPlaceholders placeholders for complex mathematical and text expressions.

Installation

Placeholders

Basic Operations

Round

String Operations

User expressions

You can create your own expression shortcut in expressions.properties using our Expression Provider Language (EPL):

add_and_multiply=<expr_add:"<arg1>":"<expr_mul:'<arg2>':'<arg3>'>"> means <expr_user:add_and_multiply:arg1:arg2:arg3> will be evaluated to arg1 + (arg2 * arg3). So, <expr_user:add_and_multiply:2:3:4> evaluates to <expr_add:2:'<expr_mul:3:4>'>, which is 2 + (3 * 4) = 14

Example user expressions

Nesting

Expressions can be nested. Try /miniplaceholders parse me <expr_add:1:"<expr_add:1:'<expr_add:1:"<expr_add:1:'<expr_add:1:0>'>">'>">

Downloads

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more