| 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. |