About this Mod
moire
moire is a Kotlin library providing extension functions and a DSL
for polymer-virtual-entity. With moire, you can easily create and manageElementHolder instance.
Note: The API is subject to change without backward compatibility until version 1.0.0. Please be aware of
potential changes.
Gradle Setup
Groovy
repositories {
maven { url 'https://maven.nucleoid.xyz/' }
maven { url 'https://api.modrinth.com/maven' }
}
dependencies {
modImplementation 'eu.pb4:polymer-virtual-entity:POLYMER_VERSION'
modImplementation 'maven.modrinth:moire:MOIRE_VERSION'
}
Kotlin DSL
repositories {
maven("https://maven.nucleoid.xyz/")
maven("https://api.modrinth.com/maven")
}
dependencies {
modImplementation("eu.pb4:polymer-virtual-entity:POLYMER_VERSION")
modImplementation("maven.modrinth:moire:MOIRE_VERSION")
}
Usage
Here is a simple example.
import jp.fishmans.moire.elements.*
import jp.fishmans.moire.matrices.rotateLocalYDegrees
import net.minecraft.item.Items
fun create() = elementHolder {
itemDisplayElement {
transformation {
scaleLocal(0.5f)
}
onTick {
transform {
rotateLocalYDegrees(11.25f)
}
startInterpolationIfDirty(1)
}
item = Items.TNT.defaultStack
teleportDuration = 1
}
}
Available Versions
How to Install moire on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.4).
Install Mod
Open the mod browser in the dashboard and search for "moire". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.4
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
moire server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.21.4). You can switch loaders with one click in the panel.
Is moire compatible with fabric?
moire officially supports fabric for Minecraft 1.21.4. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with moire – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if moire consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install moire with just one click on your server.