Mod

Crypt: Mimic

Quick rating

Crypt: Mimic

No reviews yet

Data-driven fake-player NPCs

Community voices

Reviews

Filter by exact patch versions
Loading exact versions…
Match includes

Click once to include, again to exclude, again to clear

Rating Any
Any 0.5 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0
Min
Max
Play Status
Reviews
Time Played
hrs+
Verified developers only
Has developer response
List view
Grid view
Compact view
Sort by
Date
Rating
Helpful
Unhelpful
Edited
Sort ascending
Delete this review?

This removes your review from the project. You can write a new review after.

Review submitted for moderation

Your updated review is now pending. It has been sent to moderators, who will check that it meets our guidelines before it appears publicly.

No reviews yet. Be the first to review this project!

Get it on

Available Platforms

Compatibility

Supported Environments

Dev Environment
Client Required
Server Required

About

Project Details

Type
Mod
License
Mozilla Public License 2.0
Authors

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.

Custom banner text
ModDex rating badge preview

Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.

Identifiers

Platform IDs

Modrinth ID

Resources

External Links

Source Issues Wiki Discord

About

Description

Made for ModFest: Carnival

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)
}

Screenshots

Gallery

This project has no gallery images yet.

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

0
Reviews
0
Followers
0
In stacks

By the numbers

Statistics

~2,000
Downloads
Last Updated
CurseForge
Created
Last synced
When ModDex last fetched and imported data for this project from CurseForge or Modrinth. High-traffic and active projects are checked more often.
Next pipeline sync