Difference between revisions of "Terminology"

From Minetest Developer Wiki
Jump to navigation Jump to search
(Added link to Irrlicht's website, added some info about minetest.conf.)
Line 3: Line 3:
 
*[http://irrlicht.sourceforge.net/ '''Irrlicht'''] is the 3D rendering libary used by the Minetest engine.
 
*[http://irrlicht.sourceforge.net/ '''Irrlicht'''] is the 3D rendering libary used by the Minetest engine.
 
*'''Minetest Engine''' - a game engine consisting of a collection of libraries connected by C++ code.
 
*'''Minetest Engine''' - a game engine consisting of a collection of libraries connected by C++ code.
*'''Minetest Game''' - a collection of mods (as below), consisting primarily of the minetest_game repository, which provides the bulk of the game's content.
+
*'''minetest_game''' - a collection of mods (as below), consisting primarily of the minetest_game repository, which provides the bulk of the game's content.
 
*'''Mods''' are plugins that use the Lua modding API to modify, extend or add features and blocks.
 
*'''Mods''' are plugins that use the Lua modding API to modify, extend or add features and blocks.
 
*'''Server''' - the program that manages and distributes mod, texture and sound data to the players. It also does all of the mod initiation.
 
*'''Server''' - the program that manages and distributes mod, texture and sound data to the players. It also does all of the mod initiation.
Line 15: Line 15:
 
**the players passwords, their health, and their inventory.
 
**the players passwords, their health, and their inventory.
 
**and other needed files, such as ban lists, seed numbers and protected areas.
 
**and other needed files, such as ban lists, seed numbers and protected areas.
*'''Blocks''' are 16×16×16 groups of nodes.
+
*'''Blocks''' or '''Mapblocks''' are 16×16×16 groups of nodes.
 
*'''Nodes''' are 1×1×1 meter individual cubes in the game, and are grouped, generated and loaded by their blocks.
 
*'''Nodes''' are 1×1×1 meter individual cubes in the game, and are grouped, generated and loaded by their blocks.
 
*'''Object''' - something in the world that is not attached to any particular node or position, can move and act on its own. Examples include mobs, dropped items, falling sand or gravel, primed TNT. Players are also objects.
 
*'''Object''' - something in the world that is not attached to any particular node or position, can move and act on its own. Examples include mobs, dropped items, falling sand or gravel, primed TNT. Players are also objects.
Line 22: Line 22:
 
**'''Tool item''' - a type of item that is non-stackable, wears out and improves mining speed or deals more damage. Examples: Pickaxes, axes, shovels, swords.
 
**'''Tool item''' - a type of item that is non-stackable, wears out and improves mining speed or deals more damage. Examples: Pickaxes, axes, shovels, swords.
 
**'''Node item''' - a type of item that can be placed as a node (see above). These include dirt, stone, cobble, etc., but also things like torches and signs.
 
**'''Node item''' - a type of item that can be placed as a node (see above). These include dirt, stone, cobble, etc., but also things like torches and signs.
**'''Material item''' - another name for "Node item"
 
 
**'''CraftItems''' - a type of item that can (depending on the item) be eaten, be used in crafting recipes or cooked in a furnace, be placed as objects or be used on things in the world.
 
**'''CraftItems''' - a type of item that can (depending on the item) be eaten, be used in crafting recipes or cooked in a furnace, be placed as objects or be used on things in the world.
 
**'''Node metadata''' - extra data that is attached to a node. Chests and furnaces use this to store their inventories, and signs use this to store what is written on them.
 
**'''Node metadata''' - extra data that is attached to a node. Chests and furnaces use this to store their inventories, and signs use this to store what is written on them.
Line 31: Line 30:
  
 
*'''Lua''' is a simple programming language that is used in mods
 
*'''Lua''' is a simple programming language that is used in mods
*'''The Modding API''' is a selection of functions and values, used by mod files to modify, extend or add features and blocks. API stands for '''A'''pplication '''P'''rogramming '''I'''nterface.
+
*'''Modding API''' or '''Lua API'''  is a selection of functions and values, used by mod files to modify, extend or add features and blocks. API stands for '''A'''pplication '''P'''rogramming '''I'''nterface.
 +
*'''lua-api.txt''' is a file in the doc/ folder wich contains a reference for the Lua API.
  
 
[[Category:Misc]]
 
[[Category:Misc]]

Revision as of 00:43, 16 June 2013

Minetest and its components

  • Irrlicht is the 3D rendering libary used by the Minetest engine.
  • Minetest Engine - a game engine consisting of a collection of libraries connected by C++ code.
  • minetest_game - a collection of mods (as below), consisting primarily of the minetest_game repository, which provides the bulk of the game's content.
  • Mods are plugins that use the Lua modding API to modify, extend or add features and blocks.
  • Server - the program that manages and distributes mod, texture and sound data to the players. It also does all of the mod initiation.
  • Client - the program that the player uses to connect to singleplayer or multiplayer games. Handles the rendering of the world.
  • minetest.conf is a file in the root directory which contains settings for the game. A list of default settings can be found in minetest.conf.example or defaultsettings.cpp.

In-game Content

  • a World is a saved game in Minetest, which folder contains:
    • Map - a SQLite database of the maps content, everything from blocks to chest contents.
    • the players passwords, their health, and their inventory.
    • and other needed files, such as ban lists, seed numbers and protected areas.
  • Blocks or Mapblocks are 16×16×16 groups of nodes.
  • Nodes are 1×1×1 meter individual cubes in the game, and are grouped, generated and loaded by their blocks.
  • Object - something in the world that is not attached to any particular node or position, can move and act on its own. Examples include mobs, dropped items, falling sand or gravel, primed TNT. Players are also objects.
  • Entity - an object (see above) that is written in Lua.
  • Items
    • Tool item - a type of item that is non-stackable, wears out and improves mining speed or deals more damage. Examples: Pickaxes, axes, shovels, swords.
    • Node item - a type of item that can be placed as a node (see above). These include dirt, stone, cobble, etc., but also things like torches and signs.
    • CraftItems - a type of item that can (depending on the item) be eaten, be used in crafting recipes or cooked in a furnace, be placed as objects or be used on things in the world.
    • Node metadata - extra data that is attached to a node. Chests and furnaces use this to store their inventories, and signs use this to store what is written on them.
    • Environment - A global object that (amongst other things) provides access to all nodes, (active) objects and players.
    • ABM's (Active Block Modifiers) are processes that run on blocks of a certain type, changing them or giving them interactive properties (eg. furnaces, grass growth).

Lua and Modding-related

  • Lua is a simple programming language that is used in mods
  • Modding API or Lua API is a selection of functions and values, used by mod files to modify, extend or add features and blocks. API stands for Application Programming Interface.
  • lua-api.txt is a file in the doc/ folder wich contains a reference for the Lua API.