Difference between revisions of "minetest.get content id"

From Minetest Developer Wiki
Jump to navigation Jump to search
m
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
== Syntax ==
+
{{UnofficialLua}}
<source>minetest.get_content_id(name)</source>
+
{{DISPLAYTITLE:minetest.get_content_id}}
  
== Description ==
+
Gets the internal content ID of a node for [https://rubenwardy.com/minetest_modding_book/en/advmap/lvm.html Voxel manipulators].
Returns an integer:
 
the internal [[content id|content ID]] of name
 
  
 
+
[[Category:Methods|g]]
{{MissingExample}}
 
[[Category:Methods]]
 

Latest revision as of 14:09, 25 October 2022

Mbox warning.png This page contains unofficial, low-quality Lua API documentation and is likely to be outdated or wrong. Do not rely on it!
For the official and up-to-date documentation, see Lua API Documentation.
Mbox warning.png This page has been proposed for deletion for the following reason: "Contains unofficial and potentially outdated, redundant and inconsistent Lua API information"
If you don't think that this page should be deleted, please explain why on the talk page.


Gets the internal content ID of a node for Voxel manipulators.