Difference between revisions of "Itemstrings"
Jump to navigation
Jump to search
(→Special itemstrings: add unknown itemstring) |
(→Special itemstrings: remove unknown (it's not what you think it is)) |
||
Line 24: | Line 24: | ||
* <code>air</code>—used for [[Air]] | * <code>air</code>—used for [[Air]] | ||
* <code>ignore</code>—see [[Ignore]] | * <code>ignore</code>—see [[Ignore]] | ||
− | |||
== See also == | == See also == |
Revision as of 17:53, 7 September 2017
Language: | English • Deutsch • français • italiano • Bahasa Melayu |
---|
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: /giveme default:torch
—give yourself a torch
Special itemstrings
There are itemstrings which do not follow the usual syntax rules. These itemstrings are always available, regardless of the activated mods: