Difference between revisions of "Ignore"

From Minetest Wiki
Jump to navigation Jump to search
m
Line 16: Line 16:
  
 
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".
 
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".
 +
 +
Other players: Remove those lines and test what happens after placing ignore: https://github.com/minetest/minetest/blob/master/src/map.cpp#L221-L230
  
 
[[Category:Blocks generated on special events]]
 
[[Category:Blocks generated on special events]]

Revision as of 17:54, 2 March 2016

Languages Language: English • Deutsch • français
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

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".

Other players: Remove those lines and test what happens after placing ignore: https://github.com/minetest/minetest/blob/master/src/map.cpp#L221-L230