aboutsummaryrefslogtreecommitdiff
path: root/doc
AgeCommit message (Collapse)Author
2017-04-08Document that write_json will error on unserializable types. (#5539)raymoo
Previously it was erroneously documented that it would save them as null.
2017-04-08[CSM] Add event on_connect player API lua (#5540)Vincent Glize
* Add event on_connect player API lua
2017-04-06[CSM] Add function to get the server protocol version. (#5529)red-001
2017-04-06[CSM] Add support for positional audio. (#5516)red-001
Fixes parts of #5389.
2017-04-04[CSM] Add local node meta reference. (#5508)red-001
2017-04-01First commit for fine pointed (#5485)MarkuBu
2017-04-01[CSM] Add function and chat command to disconnect from server. (#5487)red-001
2017-03-30Paramtype2: Add missing type CPT2_GLASSLIKE_LIQUID_LEVELparamat
Add the missing paramtype2 for param2 controlling the liquid level inside the glasslike_framed drawtype. Add missing documentation of the feature to lua_api.txt. Update and improve comments for drawtype enumerations in nodedef.h.
2017-03-28Add functions to strip color information. (#5472)Diego Martínez
2017-03-28[CSM] Fix errors in and improve the CSM documentation. (#5467)red-001
2017-03-22[CSM] Add function to get player names in range (#5435)bigfoot547
* [CSM] Add function to get currently connected player names
2017-03-20Firelike drawtype: Add missing docs for visual_scale in lua_api.txt (#5434)Paramat
2017-03-17Give CSM access to use `core.colorize()` (#5113)red-001
2017-03-16[CSM] Add minimap API modifiers (#5399)Loïc Blot
* Rename Mapper (too generic) to Minimap * Add lua functions to get/set position, angle, mode for minimap * Client: rename m_mapper to m_minimap * Add minimap to core.ui namespace (core.ui.minimap) * Add various functions to manage minimap (show, hide, toggle_shape) * Cleanup trivial declaration in client
2017-03-15lua_api: Document minetest.features (#5311)SmallJoker
2017-03-14Add disclaimer to client_lua_api.txt (#5391)rubenwardy
2017-03-13Add `get_wielded_item`red-001
2017-03-13[CSM] Add `on_punchnode` callbackred-001
2017-03-13[CSM] Add `get_node` and `get_node_or_nil`red-001
2017-03-13[CSM] Add `on_dignode` callback (#5140)red-001
2017-03-13[CSM] Add local formspecs. (#5094)red-001
2017-03-13[CSM] sound_play & sound_stop support + client_lua_api doc (#5096)Loïc Blot
* squashed: CSM: Implement register_globalstep * Re-use fatal error mechanism from server to disconnect client on CSM error * Little client functions cleanups * squashed: CSM: add core.after function * core.after is shared code between client & server * ModApiUtil get_us_time feature enabled for client
2017-03-13GUI: Allow texture packs to customize the progress bar (#5368)kilbith
2017-03-11Light calculation: New bulk node lighting codeDániel Juhász
This commit introduces a new bulk node lighting algorithm to minimize lighting bugs during l-system tree generation, schematic placement and non-mapgen-object lua voxelmanip light calculation. If the block above the changed area is not loaded, it gets loaded to avoid lighting bugs. Light is updated as soon as write_to_map is called on a voxel manipulator, therefore update_map does nothing.
2017-03-04Add minetest.spawn_falling_node(pos) (#5339)zaoqi
* Add minetest.spawn_falling_node(pos) * lua_api.txt: Add minetest.spawn_falling_node(pos) * Update minetest.spawn_falling_node(pos)
2017-03-04FormSpec: Add position and anchor elements (#5284)adelcoding1
2017-02-20Fix the documentation for `minetest.is_yes` (#5276)red-001
2017-02-10Correct lua_api.txt docs related to meta (#5198)rubenwardy
2017-02-08Add ModMetadata API (#5131)Loïc Blot
* mod can create a ModMetadata object where store its values and retrieve it. * Modmetadata object can only be fetched at mod loading * Save when modified using same time as map interval or at server stop * add helper function to get mod storage path * ModMetadata has exactly same calls than all every other Metadata
2017-02-04Add per-stack descriptions using ItemStack Metadatarubenwardy
2017-02-04Add ItemStack key-value meta storagerubenwardy
2017-01-30Add multiply texture modifiersapier
Allows colorizing of textures using a color multiplication method.
2017-01-28from_table: Fix crash for missing inventory or fieldSmallJoker
2017-01-28Make entity on_punch have same signature and behaviour as player on_punchsapier
2017-01-27Implement player attribute backend (#4155)Loïc Blot
* This backend permit mods to store extra players attributes to a common interface. * Add the obj:set_attribute(attr, value) Lua call * Add the obj:get_attribute(attr) Lua call Examples: * player:set_attribute("home:home", "10,25,-78") * player:get_attribute("default:mana") Attributes are saved as a json in the player file in extended_attributes key They are saved only if a modification on the attributes occurs and loaded when emergePlayer is called (they are attached to PlayerSAO).
2017-01-23core: Add dir_to_yaw and yaw_to_dir helpersAuke Kok
These are needed to go from things like entity yaw to a vector and vice versa.
2017-01-23Vector: Add vector.sort(a, b): return box edgesAuke Kok
This function returns the box corners of the smallest box that includes the two given coordinates.
2017-01-23Add hardware node coloring. Includes:Dániel Juhász
- Increase ContentFeatures serialization version - Color property and palettes for nodes - paramtype2 = "color", "colored facedir" or "colored wallmounted"
2017-01-21Add Entity get_texture_mod() to Lua APIsapier
Send texture modifier to clients connecting later too
2017-01-20Add chatcommand unregister and override API (#5076)Elijah Duffy
Introduces two functions to unregister and override chatcommands. minetest.unregister_chatcommand("<name>") and minetest.override_chatcommand("<name>", {<redifinition>})
2017-01-18Add particle animation, glowsfan5
This is implemented by reusing and extending the TileAnimation code for the methods used by particles.
2017-01-18Add minetest.player_exists() (#5064)rubenwardy
2017-01-16Rename ObjectRef methods to be consistent and predictablerubenwardy
2017-01-09Add staticdata parameter to add_entity (#5009)Rui
* Add staticdata parameter to add_entity * Add add_entity_with_staticdata to core.features
2017-01-05lua_api.txt: Add registered_chatcommands to global tablesLNJ
2017-01-04Expose and document chatcommands as minetest.registered_chatcommandsrubenwardy
2017-01-02Add 2D sheet animation for nodessfan5
2017-01-02Added "[sheet" to the texture special commands.Luke Puchner-Hardman
"[sheet:WxH:X,Y" assumes the base image is a tilesheet with W*H tiles on it and crops to the tile at position X,Y. Basically it works like "[verticalframe" but in 2D. For testing, I combined the four default_chest images into one.
2016-12-26Various anticheat improvementssfan5
* Calculate maximum interact distance from wielded tool * New "interacted_while_dead" cheat_type for the Lua API * Disallow dropping items while dead * Move player to spawn before resurrecting them
2016-12-22Bump version to 0.4.150.4.15sfan5