clear() | Remove all items from this transport line. |
get_item_count(item) → uint | Count some or all items on this line. |
remove_item(items) → uint | Remove some items from this line. |
can_insert_at(position) → boolean | Can an item be inserted at a given position? |
can_insert_at_back() → boolean | Can an item be inserted at the back of this line? |
insert_at(position, items) → boolean | Insert items at a given position. |
insert_at_back(items) → boolean | Insert items at the back of this line. |
get_contents() → dictionary string → uint | Get counts of all items on this line. |
operator # :: uint [R] | Get the number of items on this transport line. |
owner :: LuaEntity [R] | The entity this transport line belongs to. |
output_lines :: array of LuaTransportLine [R] | The transport lines that this transport line outputs items to or an empty table if none. |
operator [] :: LuaItemStack [R] | The indexing operator. |
valid :: boolean [R] | Is this object valid? |
help() → string | All methods, and properties that this object supports. |
One line on a transport belt.
Remove all items from this transport line.
Count some or all items on this line.
Remove some items from this line.
Can an item be inserted at the back of this line?
Insert items at a given position.
Insert items at the back of this line.
Get counts of all items on this line.
Get the number of items on this transport line.
The entity this transport line belongs to.
The transport lines that this transport line outputs items to or an empty table if none.
The indexing operator.