summaryrefslogtreecommitdiff
path: root/doc/lua_api.txt
Commit message (Collapse)AuthorAge
* Builtin: Add vector.angle(). Returns the angle between 2 vectors (#7738)ANAND2019-03-17
|
* Lua_api.txt: Document blockpos, coordinate conversion, map terminology (#8376)Paramat2019-03-16
| | | Also fix and improve LVM 'calc_lighting()' warning.
* Document the `float` special group (#8306)DS2019-03-10
|
* Add math.factorial (#8298)HybridDog2019-03-05
|
* Add sounds for falling and attached nodes (#7719)DS2019-03-05
| | | | | | | | | * Add sounds for falling and attached nodes The sound specified in `node_definition.sounds.fall` is used. When a falling node is spawned at a position or an attached node drops, the sound is played at this position. * allow all sorts of soundspecs
* lua_api.txt, settingtypes.txt: Various improvements (#8252)Paramat2019-02-18
|
* Update many things in Lua API docs (#8236)Wuzzy2019-02-17
| | | | | | | | | - minetest.get_hit_params - minetest.get_dig_params - table.indexof - Scope of minetest.register_alias - Vector function parameters - More explanation of when `minetest.on_player_receive_fields` is called - Syntax/semantics of the fields in `minetest.on_player_receive_fields`
* lua_api.txt: Various additions and improvements (#8245)Paramat2019-02-17
|
* Use true pitch/yaw/roll rotations without loss of precision by pgimeno (#8019)Paul Ouellette2019-02-07
| | | | | Store the rotation in the node as a 4x4 transformation matrix internally (through IDummyTransformationSceneNode), which allows more manipulations without losing precision or having gimbal lock issues. Network rotation is still transmitted as Eulers, though, not as matrix. But it will stay this way in 5.0.
* Remove incorrect feature flag (#8086)Paul Ouellette2019-01-19
| | | And document the versions that introduced the features.
* Deprecate modpack.txt and use modpack.conf instead (#7892)rubenwardy2019-01-06
| | | | * Deprecate modpack.txt and use modpack.conf instead
* Proselytize the network. Use IEEE F32 (#8030)SmallJoker2019-01-03
| | | | | * Proselytize the network. Use IEEE F32 * Remove unused V2F1000 functions
* Add minetest.load_area (#8023)HybridDog2018-12-31
|
* Lua_api.txt: Add documentation of missing field to 'on_punch' (#8008)ClobberXD2018-12-22
|
* Lua_api.txt: Document inventory sending behaviour (#7720)zeuner2018-12-18
|
* (client_)lua_api.txt: Rename func -> function (#7960)ClobberXD2018-12-12
|
* lua_api.txt: Various fixes and improvements (#7945)Paul Ouellette2018-12-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add missing tables of registered things * Eliminate some duplication Registration functions in 'Registered definitions' section merged into 'Registration functions' section. * Misc. fixes * Add privilege definition table * Remove not-special soil group from special groups * Merge two registration functions sections * Move 'added to' information to tables section Also fix some capitalization and missing periods * Minor fixes * Split Registration functions into two subsections And update Registered definition tables to match order * Fixes
* Add object visual type 'item' (#7870)Alex2018-12-11
|
* Fix wrong parameter order for inventory callbacks (#7952)Paul Ouellette2018-12-10
|
* Add eat sound (#7956)Wuzzy2018-12-10
|
* Raise hotbar limit to 32 slots, add associated keybinding options (#7916)Vanessa Dannenberg2018-12-02
| | | | add associated keybinding options update docs and settingtypes
* Document which formspec fields are sent (#7717)zeuner2018-12-02
|
* Add Lua methods 'set_rotation()' and 'get_rotation()' (#7395)CoderForTheBetter2018-11-28
| | | | * Adds Lua methods 'set_rotation()' and 'get_rotation'. Also changed some method names to be more clear. Instead of an f32 being sent over network for yaw, now a v3f is sent for rotation on xyz axes. Perserved Lua method set_yaw/setyaw so that old mods still work, other wise to set yaw they would need to switch to set_rotation(0, yaw, 0).
* Lua_api.txt: Update glasslike_framed textures documentation (#7884)Paramat2018-11-22
|
* Framed glasslike: Fix and document top/base textures feature (#7824)Paramat2018-10-30
|
* clear_craft: Return false if recipe not found, don't throw error (#7804)Paramat2018-10-24
|
* Add disable_repair group to prevent tool repair (#7381)Wuzzy2018-10-16
|
* Add core.remove_detached_inventory (#7684)SmallJoker2018-10-10
| | | | Breaks backwards compatibility for good Bump protocol version
* Player hand list: require init by modsSmallJoker2018-10-04
| | | | | Mods will now have to initialize the list/slot in order to define the default player hand. They may use the inventory callbacks to prevent abuse of this list.
* Particles: Make collision with objects optional (#7682)Paramat2018-09-08
| | | | | | Also set it to false for node dig particles, as they are often created and high in number. Improve particle documentation.
* Lua_api.txt: Update mapgen alias docs, add Singlenode use (#7659)Paramat2018-08-19
|
* Raycast: export exact pointing location (#6304)Dániel Juhász2018-08-16
| | | | | * Return intersection point in node coordinates. * Clarify 'intersection_point' documentation
* lua_api.txt: Refine 'Item types' for 4e2eeee (#7648)SmallJoker2018-08-15
|
* lua_api.txt: Various fixes and improvements (#7638)pauloue2018-08-15
| | | | | | | | | | | | Improve item types descriptions. Add replacements field to fuel definition. Shorten two headers. Markdown fixes. Remove extra example. Add blank lines after headings. Linkify section references. Bracketed section names can be linked when compiled to HTML.
* Lua_api.txt: Move item def section nearby node def (#7636)ClobberXD2018-08-12
|
* Feature check for commit ac4884c3d677ef51bcce47f95ccd49d874022692 (#7618)zeuner2018-08-12
| | | adds `entity_independent_selectionbox` to minetest.features
* Formspecs: Add tooltip element for arearubenwardy2018-08-05
|
* lua_api.txt: Improve code block format (#7599)pauloue2018-08-03
| | | | | | | | Remove ^ and --[[ ]] symbols. Fix comment indentation level. Separate fields with blank lines. Remove period from single-sentence descriptions, add periods to multi-sentence descriptions. Separate inline comments from the code with two spaces.
* Lua_api.txt: Improve Player HUD flags documentation (#7588)ClobberXD2018-07-31
|
* Lua_api.txt: Clarify entity 'initial_properties' and related deprecation (#7596)Paramat2018-07-29
|
* Lua_api.txt: Various improvements (#7582)pauloue2018-07-26
| | | | | Fixes and format improvements. Shorten definition tables headers and clarify when they are used. Add subheadings for craft recipes.
* Update mip mapping and textarea documentation (#7315)HybridDog2018-07-19
| | | | | | * Fix textarea formspec documentation The label is shown and the background isn't * Document the missing gamma correction when generating mip maps * Remove duplicate text (such as size parameter descriptions)
* Lua_api.txt: Various minor improvements (#7560)Paramat2018-07-16
| | | | | | Add missing section title for 'Node paramtypes'. Clarify documentation for schematic Y-slice table. Document that schematic Y-slice behaviour does not invert for ceiling schematic decorations.
* Lua_api.txt: Formatting and grammar fixes (#7534)pauloue2018-07-08
| | | | | | | | | Use tree output for directory structure. Remove 2 blank lines near document top. Spelling and grammar fixes. Markdown fixes. Condense paths section. Fix skipped heading levels.
* Lua_api.txt: Improve section titles, clarify sections (#7533)Paramat2018-07-06
|
* Make the server status message customizable (#7357)SmallJoker2018-07-01
| | | | Remove now redundant setting show_statusline_on_connect Improve documentation of `minetest.get_server_status`
* Lua_api.txt: Re-order some sections. Alphabeticise class reference (#7487)Paramat2018-06-26
|
* Lua_api.txt: Replace `engine.*` with `core.*` (#7474)Anand S2018-06-24
|
* Decoration API: Add lightweight ability to have complete coverage (#7456)Paramat2018-06-24
| | | | | | | | | | | | | | When the noise value or fill_ratio >= 10.0 complete coverage is enabled. This disables random placement to avoid redundant multiple placements at one position. Instead, 1 decoration per surface node is placed by looping across each division. '10' was chosen as this is the fill_ratio that previously created very near complete coverage. The complete coverage feature therefore integrates smoothly when noise is used for variable decoration density. 'fill_ratio = 10' should be used by modders who want a decoration placed on every surface node. Compared to before such a decoration placement will be 10 times faster.
* Lua_api.txt: Fix incorrect vector section directive (#7466)Anand S2018-06-20
|