Difference between revisions of "Itemstrings"

From Luanti Wiki
Jump to navigation Jump to search
(Added the itemstrings of the other minetest_game mods.)
m (fixed headings)
Line 24: Line 24:
 
''See [[Itemstrings/default]].''
 
''See [[Itemstrings/default]].''
  
=== bones ===
+
==== bones ====
 
* [[Bones|bones]]
 
* [[Bones|bones]]
  
=== bucket ===
+
==== bucket ====
 
* [[Bucket|bucket]]
 
* [[Bucket|bucket]]
 
* [[Bucket|bucket_water]]
 
* [[Bucket|bucket_water]]
 
* [[Bucket|bucket_lava]]
 
* [[Bucket|bucket_lava]]
  
=== doors ===
+
==== doors ====
 
* [[Wooden Door|door_wood]]
 
* [[Wooden Door|door_wood]]
 
* [[Steel Door|door_steel]]
 
* [[Steel Door|door_steel]]
  
=== dye ===
+
==== dye ====
 
''See [[Itemstrings/dye]].''
 
''See [[Itemstrings/dye]].''
  
=== fire ===
+
==== fire ====
 
* [[Fire|basic_flame]]
 
* [[Fire|basic_flame]]
  
=== farming ===
+
==== farming ====
 
''See [[Itemstrings/farming]].''
 
''See [[Itemstrings/farming]].''
  
=== flowers ===
+
==== flowers ====
 
* [[Flower|dandelion_white]]
 
* [[Flower|dandelion_white]]
 
* [[Flower|dandelion_yellow]]
 
* [[Flower|dandelion_yellow]]
Line 53: Line 53:
 
* [[Flower|viola]]
 
* [[Flower|viola]]
  
=== screwdriver ===
+
==== screwdriver ====
 
* [[Screwdriver|screwdriver]]
 
* [[Screwdriver|screwdriver]]
  
=== stairs ===
+
==== stairs ====
 
''See [[Itemstrings/stairs]].''
 
''See [[Itemstrings/stairs]].''
  
=== vessels ===
+
==== vessels ====
 
* [[Glass bottle|glass_bottle]]
 
* [[Glass bottle|glass_bottle]]
 
* [[Drinking glass|drinking_glass]]
 
* [[Drinking glass|drinking_glass]]
Line 65: Line 65:
 
* [[Glass fragments|glass_fragments]]
 
* [[Glass fragments|glass_fragments]]
  
=== wool ===
+
==== wool ====
 
''See [[Itemstrings/Wool]].''
 
''See [[Itemstrings/Wool]].''
  

Revision as of 16:42, 22 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:dirtdirt (from mod “default”)
  • farming:breadbread (from mod “default”)
  • wool:orange — orange wool (from mod “wool”)
  • screwdriver:screwdriverscrewdriver (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

See Itemstrings/moreblocks.

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 Air
  • ignore — used to represent nodes in unloaded areas

See also