Difference between revisions of "Objects"

From Luanti Wiki
Jump to navigation Jump to search
(rename Minetest to Luanti)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
{{Languages|nocat=1}}
 
{{Languages|nocat=1}}
'''Objects''' are things in Minetest which are able to move in the world freely. They do not have to fit into a grid like [[blocks]].
+
'''Objects''' (or '''entities''') are things in Luanti which are able to move in the world freely. They do not have to fit into a grid like [[nodes]], anything that exists in the world that is not in the node grid (e.g. players, mobs, vehicles) are implemented as objects.
  
Each object behaves differently. Some objects do collide with blocks and/or other objects, while some don't. Objects may have health and can be attacked and destroyed like [[Player]]s, [[Mobs]] and [[Vehicles]] for example.
+
Each object behaves differently. Some objects do collide with nodes and/or other objects, while some don't. Objects may have health and can be attacked and destroyed by inflicting damage on them.
  
=== Built-in objects ===
+
=== Engine provided objects ===
 
{| class="wikitable"
 
{| class="wikitable"
 
|[[File:Falling Node.png|32px]]
 
|[[File:Falling Node.png|32px]]
|width="150px"|[[Falling Block]]
+
|width="150px"|[[Falling Node]]
 
|[[File:Item entity.png|32px]]
 
|[[File:Item entity.png|32px]]
 
|width="150px"|[[Item stack]]
 
|width="150px"|[[Item stack]]

Latest revision as of 22:35, 22 October 2024

Languages Language: English • Deutsch • 日本語 • Bahasa Melayu

Objects (or entities) are things in Luanti which are able to move in the world freely. They do not have to fit into a grid like nodes, anything that exists in the world that is not in the node grid (e.g. players, mobs, vehicles) are implemented as objects.

Each object behaves differently. Some objects do collide with nodes and/or other objects, while some don't. Objects may have health and can be attacked and destroyed by inflicting damage on them.

Engine provided objects

Falling Node.png Falling Node Item entity.png Item stack Unknown Object.png Unknown Object