Difference between revisions of "Ignore"

From Minetest Wiki
Jump to navigation Jump to search
m
Line 14: Line 14:
 
Normal players: Just ignore.
 
Normal players: Just ignore.
  
Modders: It is a node that represents a node in a unloaded [http://dev.minetest.net/Terminology MapBlock]. If you try to access a block whose [http://dev.minetest.net/Terminology MapBlock] is unloaded, this is what you will get.
+
Modders: It is a node that represents a node in a unloaded [http://dev.minetest.net/Terminology MapBlock]. If you try to access a block whose [http://dev.minetest.net/Terminology MapBlock] is unloaded, this is what you will get. You can use [http://dev.minetest.net/minetest.get_node_or_nil minetest.get_node_or_nil] to get nil instead of "ignore".
  
 
[[Category:Blocks generated on special events]]
 
[[Category:Blocks generated on special events]]

Revision as of 19:17, 30 December 2014

CONTENT_IGNORE
Air.png
A node in Minetest Game
Node Type N/A
Drops N/A
Physics N/A
Luminance No
Flammable No
Generated N/A
Renewable N/A
Stackable Yes (99)
Itemstring ignore

Description

Normal players: Just ignore.

Modders: It is a node that represents a node in a unloaded MapBlock. If you try to access a block whose MapBlock is unloaded, this is what you will get. You can use minetest.get_node_or_nil to get nil instead of "ignore".