About this Mod
Not what I set out to make, but still something cool :3
Usage guide
Spawning
/crypt-mimic <identifier> <x> <y> <z> <nbt>
The npc will act as an armour stand until it is locked with:/data modify entity <seletor> Locked set value True
While it is unlocked interacting will modify items, once locked dialog actions will show.
You can also modify model part rotations just as you would an armour stand.
NBT tags
NpcId - The npc types id
ArmourItems - A list of item stack compounds
HandItems - A list of item stack compounds
Small - Boolean for small model
Locked - Boolean for locked model
Pose - Compound of pose rotations.
Pose.Head - A list of floats, euler for Head rotation.
Pose.Body - A list of floats, euler for Body rotation.
Pose.LeftArm - A list of floats, euler for Left Arm rotation.
Pose.RightArm - A list of floats, euler for Right Arm rotation.
Pose.LeftLeg - A list of floats, euler for Left Leg rotation.
Pose.RightLeg - A list of floats, euler for Right Leg rotation.
NPCs
data/<namespace>/crypt-mimic/npc/<id>.json
// note: this example uses json5 for the comments, use regular json for actual data
{
// `name` uses the vanilla Text codec, so you can build fancy things
"name": [ // required
{
"type": "translatable",
"translate": "npc.<namespace>.<id>.name"
}
],
// `title` also uses the vanilla Text codec
"title": [ // optional
{
"type": "translatable",
"translate": "npc.<namespace>.<id>.title"
}
],
"skin": { // optional
"texture": "<namespace>:textures/entity/npc/<id>.png", // required
"hasSlimArms": true // optional, defaults to false
},
"action": { // optional
"action": "crypt-mimic:show_dialog", // required
"value": "<namespace>:dialog_<id>" // may be required, dependent on `action`
}
}
Dialog
data/<namespace>/crypt-mimic/dialog/<id>.json
// note: this example uses json5 for the comments, use regular json for actual data
{
// `text` uses the vanilla Text codec
"text": [ // required
{
"type": "translatable",
"translate": "dialog.<namespace>.<id>"
}
],
"actions": [ // required, even if empty but should contain at least one
{
"action": "crypt_mimic:show_dialog", // required
"value": "<namespace>:<different_id>" // may be required, dependent on `action`
}
]
}
Custom dialog actions
Dialog actions use the action.<namespace>.<id> translation key.
import gay.pyrrha.mimic.dialog.DialogAction;
DialogAction.getEVENT().register((player, entity, action) -> {
// do things
});
Kotlin Example
import gay.pyrrha.mimic.dialog.DialogAction
DialogAction.EVENT.register { player, entity, action ->
// do things (but in kotlin :3)
}
Available Versions
How to Install Crypt: Mimic 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).
Install Mod
Open the mod browser in the dashboard and search for "Crypt: Mimic". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Crypt: Mimic 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). You can switch loaders with one click in the panel.
Is Crypt: Mimic compatible with fabric?
Crypt: Mimic officially supports fabric for Minecraft 1.21. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Crypt: Mimic – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Crypt: Mimic 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.
Rent Modded Server
Install Crypt: Mimic with just one click on your server.