TMM datapack_extension

Quick rating

TMM datapack_extension

No reviews yet

Allows customizing game area settings of the Train Murder Mystery mod through datapacks.

Mod Loaders
Fabric
Minecraft

Community voices

Reviews

Versions
Loading 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 review 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 Unsupported
Server Required

About

Project Details

Type
Mod
License
All Rights Reserved
Latest Version
1.0.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

TMM Datapack Extension

Allows customizing game area settings of the Train Murder Mystery mod through datapacks.

Key Features

  • No need to modify the original mod code
  • Flexible configuration of all game areas through datapack JSON files
  • Hot reload support - use /reload to apply changes without restarting

Customizable Areas

Includes: Player spawn position, spectator spawn position, ready area, play area offset, play area, reset template area, and reset paste area.

Datapack Usage Tutorial

You can download a sample datapack here.

1. Create Datapack Structure

Create the following folder structure:

my_tmm_config_datapack/
├── pack.mcmeta
└── data/
    └── trainmurdermystery/
        └── tmm_areas/
            └── custom_areas.json

2. Create Metadata File

Modification Instructions

Add to pack.mcmeta file:

{
  "pack": {
    "pack_format": 15,
    "description": "My TMM Custom Configuration"
  }
}

This mod enables customization of Train Murder Mystery game areas through datapacks. Users can modify the game areas by creating a datapack with custom configuration files.

3. Configure Game Areas

The extension will automatically load and apply any valid configuration found in datapacks under the path: data/trainmurdermystery/tmm_areas/custom_areas.json.

Configure in custom_areas.json file:

{
  "spawn_pos": {
    "pos": [-872.5, 0.0, -323.0],  // Player spawn position coordinates and orientation
    "yaw": 90.0,                     // Horizontal facing (-90=east, 0=south, 90=west, 180=north)
    "pitch": 0.0                      // Vertical facing (-90=looking up, 0=horizontal, 90=looking down)
  },
  "spectator_spawn_pos": {
    "pos": [-68.0, 133.0, -535.5],   // Spectator spawn position coordinates
    "yaw": -90.0,                     // Spectator horizontal facing
    "pitch": 15.0                     // Spectator vertical facing
  },
  "ready_area": {
    // Ready area where players must be to count as ready
    "minX": -1017.0,                  // Minimum X coordinate of the area
    "minY": -1.0,                     // Minimum Y coordinate of the area
    "minZ": -363.5,                   // Minimum Z coordinate of the area
    "maxX": -813.0,                   // Maximum X coordinate of the area
    "maxY": 3.0,                      // Maximum Y coordinate of the area
    "maxZ": -357.5                    // Maximum Z coordinate of the area
  },
  "play_area_offset": {
    // Coordinate offset when players are teleported from ready area to play area
    "x": 963.0,                       // X-axis offset
    "y": 121.0,                       // Y-axis offset
    "z": -175.0                       // Z-axis offset
  },
  "play_area": {
    // Game area where players are bound, going outside or falling will result in death
    "minX": -140.0,
    "minY": 118.0,
    "minZ": -550.5,
    "maxX": 230.0,
    "maxY": 200.0,
    "maxZ": -520.5
  },
  "reset_template_area": {
    // Area where the map reset base template is located
    "minX": -57.0,
    "minY": 64.0,
    "minZ": -531.0,
    "maxX": 177.0,
    "maxY": 74.0,
    "maxZ": -541.0
  },
  "reset_paste_area": {
    // Area where the template should be pasted during map reset
    "minX": -57.0,
    "minY": 119.0,
    "minZ": -531.0,
    "maxX": 177.0,
    "maxY": 129.0,
    "maxZ": -541.0
  }
}

Configuration values will override the default values from the original mod. If no custom configuration is found, the mod will use the original default values.

4. Installation and Usage

Place the datapack in the world's datapacks folder

Note: This mod was developed with the assistance of AI technology.

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
Ratings
0
Followers
0
In stacks

By the numbers

Statistics

<1,000
Downloads
Last Updated
CurseForge
Modrinth
Created
Last synced
When ModDex last fetched this project from CurseForge or Modrinth. Every project is re-checked on a schedule, and any project that ships a new file is synced automatically within hours of the release.
New file updates sync automatically
How syncing works