Minecart Peripherals
Simple minecraft computer-craft add-on for handling minecarts.
No ratings yet
Be the first to rate it.
Community listing page
Community listing page, reviews may not be monitored by the author.
Community voices
Reviews
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
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.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
About
Description
![]()
Simple minecraft computer-craft add-on for handling minecarts. The mod includes a detector block for computers and a new peripheral for turtles. This mod is made for Better Minecarts but can be used without it.
minecart detector

usage:

Place the minecart detector under any type of rail. The detector will see all minecarts and rails within its detection range (default 25 blocks, configurable). The detector range works across the rails, so you will need to connect the rails together or use multiple detectors. You can connect your computer to either side of the detector and use it with wires.
Example code: railGui.lua
crafting:

LUA api:
| method | return | description |
|---|---|---|
| listRails() | list of tables | List all rail in the detector range. |
| listMinecarts() | list of tables | List all minecart in the detector range. |
| getRail(x, y, z) | table | Get details for a rail, with the relative coordinates. |
| getMinecart(id) | table | Get details for a minecart with the Id. |
| activateMinecart(id, activate) | void | Activate the minecart (like an activator rail do it) |
| moveMinecart(id, direction) | void | Push the minecart with a little amount of energy, for a specific direction. Valid directions: north, south, west, east. |
| stopMinecart(id) | void | Stop the minecart. |
| getMinecartInventoryList(id) | table | Get all item from the minecart inventory, with some details. Return with an integer key table. |
additional functions when better minecarts installed:
| method | return | description |
|---|---|---|
| setLocomotiveSpeed(id, speed) | void | Set up locomotive speed, [1,2,3] forward, 0 pause, -1 stop, -2 backward. |
| toggleLocomotiveLamp(id) | void | Toggle locomotive lamp. |
| toggleLocomotiveSignal(id) | void | Toggle locomotive redstone signal. |
| whistle(id) | void | Use the locomotive whistle. |
| connect(id1, id2) | void | Connect two minecart together, the first will be the parent. |
| disconnect(id1, id2) | void | Disconnect two minecart, the first should be the parent. |
| revert(id1, id2) | void | Revert train direction, the two minecart should be in the same train. |
minecart loader

usage:

A turtle can control a minecart if it is directly in front of the turtle. If the minecart has inventory, the turtle can directly access the minecart's inventory. It can place a minecart on the track or pick it up.
Example code: minecartCli.lua
crafting:

LUA api:
| method | return | description |
|---|---|---|
| isMinecartAtTheFront() | boolean | True, when a minecart direct at the front of the turtle. |
| isValidInventory() | boolean | True, when the minecart has inventory. |
| inventorySize() | integer | Get how many slots are in the minecart inventory. |
| inventoryList() | table | Get all item from the minecart inventory, with some details. Return with an integer key table. |
| getItemDetail(slot) | table | Get all detail for the selected item stack. |
| getItemLimit(slot) | integer | Get item limit for a slot. |
| pushItems(fromSlot[, limit[, toSlot]]) | integer | Move items from the turtle's inventory to the minecart's inventory. |
| pullItems(fromSlot[, limit[, toSlot]]) | integer | Move items from the minecart's inventory to the turtle's inventory. |
| addMinecart(direction, slot) | void | Place a minecart in front of the turtle, from the slot, with specific direction. Valid directions: north, south, west, east. |
| removeMinecart(slot) | void | Remove the minecart at front of the turtle and put in the selected slot. |
| renameMinecart(name) | void | Rename minecart with a new name. |
| toggleMinecartName(showName) | void | Toggle minecart name visibility. |
additional functions when better minecarts installed:
| method | return | description |
|---|---|---|
| colorizeMinecart(slot [, isBottom]) | void | Use a dye from the specific slot on the minecart, if isBottom=false change the top color, otherwise the bottom color. |
Screenshots
Gallery
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.
Stats
- Downloads
- <1,000
- Used in
- 3 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Oct 25, 2026 2:02 AM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before this date changes.
How syncing works
External Links
Stats
- Downloads
- <1,000
- Used in
- 3 modpacks
- Followers
- 0
- In stacks
- 0
- Created
- Last synced
-
Oct 25, 2026 2:02 AM UTC
New file updates sync automatically.
When ModDex last fully re-synced this project from CurseForge or Modrinth. A new file release triggers a resync usually within minutes, and every project is also re-synced on a schedule. Edits that don't ship a file, such as a new description or screenshots, are checked every few hours and can appear before this date changes.
How syncing works