Difference between revisions of "Itemstrings"
m (→wool: fixed the link) |
m (→Syntax: fixed a typo) |
||
Line 8: | Line 8: | ||
*<code>default:torch</code> — a [[torch]] (from mod “default”) | *<code>default:torch</code> — a [[torch]] (from mod “default”) | ||
*<code>default:dirt</code> — [[dirt]] (from mod “default”) | *<code>default:dirt</code> — [[dirt]] (from mod “default”) | ||
− | *<code>farming:bread</code> — [[bread]] (from mod | + | *<code>farming:bread</code> — [[bread]] (from mod “farming”) |
*<code>wool:orange</code> — orange [[wool]] (from mod “wool”) | *<code>wool:orange</code> — orange [[wool]] (from mod “wool”) | ||
*<code>screwdriver:screwdriver</code> — [[screwdriver]] (from mod “screwdriver”) | *<code>screwdriver:screwdriver</code> — [[screwdriver]] (from mod “screwdriver”) |
Revision as of 09:49, 27 October 2013
Itemstrings are the internal names for items, blocks, nodes (everything which can be stored in an inventory).
Syntax
An usual itemstring consists of a the name of the mod where the item originates from followed by a “:” followed by an item name. All itemstrings are case sensitive.
<mod_name>:<item_name>
Examples:
default:torch
— a torch (from mod “default”)default:dirt
— dirt (from mod “default”)farming:bread
— bread (from mod “farming”)wool:orange
— orange wool (from mod “wool”)screwdriver:screwdriver
— screwdriver (from mod “screwdriver”)
There are itemstrings which don’t follow the syntax rules, see #Special itemstrings.
Usages
Itemstrings can be used as arguments used for the /give
and /giveme
commands.
Example: /give Alberto default:torch 1
— gives Alberto one torch
Lists of itemstrings
minetest_game
default
See Itemstrings/default.
bones
bucket
doors
dye
See Itemstrings/dye.
fire
farming
See Itemstrings/farming.
flowers
screwdriver
stairs
See Itemstrings/stairs.
vessels
wool
See Itemstrings/wool.
Other games
Mesecons
See Itemstrings/mesecons.
More Blocks
More Ores
See Itemstrings/moreores.
Special itemstrings
There are itemstrings which don’t follow the usual syntax rules. These itemstrings are always available, regardless of the activated mods:
air
— used for Airignore
— used to represent nodes in unloaded areas