1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-06 18:25:21 +01:00

Finalize primary header spacing

This commit is contained in:
Bradley Pierce
2024-01-25 20:56:50 -05:00
parent 0504c1c96c
commit 6b579d7413
3 changed files with 24 additions and 0 deletions

View File

@@ -109,6 +109,8 @@ translated by editing a `.tr` text file. See
If you'd like to monetarily support Minetest development, you can find donation If you'd like to monetarily support Minetest development, you can find donation
methods on [our website](https://www.minetest.net/get-involved/#donate). methods on [our website](https://www.minetest.net/get-involved/#donate).
# Maintaining # Maintaining
* This is a concise version of the * This is a concise version of the

View File

@@ -881,6 +881,8 @@ It can be created via `Raycast(pos1, pos2, objects, liquids)` or
* `next()`: returns a `pointed_thing` with exact pointing location * `next()`: returns a `pointed_thing` with exact pointing location
* Returns the next thing pointed by the ray or nil. * Returns the next thing pointed by the ray or nil.
# Definitions # Definitions
* `minetest.get_node_def(nodename)` * `minetest.get_node_def(nodename)`

View File

@@ -12,6 +12,8 @@ The block serialization version does not fully specify every aspect of this
format; if compliance with this format is to be checked, it needs to be format; if compliance with this format is to be checked, it needs to be
done by detecting if the files and data indeed follows it. done by detecting if the files and data indeed follows it.
# Files # Files
Everything is contained in a directory, the name of which is freeform, but Everything is contained in a directory, the name of which is freeform, but
@@ -180,6 +182,8 @@ For `load_mod_<mod>`, the possible values are:
redis_port = 6379 - (optional) Connection port redis_port = 6379 - (optional) Connection port
redis_password = hunter2 - (optional) Server password redis_password = hunter2 - (optional) Server password
# Player File Format # Player File Format
Should be pretty self-explanatory. Should be pretty self-explanatory.
@@ -248,6 +252,8 @@ Example content:
EndInventoryList EndInventoryList
EndInventory EndInventory
# Map File Format # Map File Format
Minetest maps consist of `MapBlock`s, chunks of 16x16x16 nodes. Minetest maps consist of `MapBlock`s, chunks of 16x16x16 nodes.
@@ -330,6 +336,8 @@ The blob is the data that would have otherwise gone into the file.
See below for description. See below for description.
# MapBlock Serialization Format # MapBlock Serialization Format
> **Notes**: > **Notes**:
@@ -508,6 +516,8 @@ Before map format version 29:
End of File (EOF). End of File (EOF).
# Format of Nodes # Format of Nodes
A node is composed of the `u8` fields `param0`, `param1` and `param2`. A node is composed of the `u8` fields `param0`, `param1` and `param2`.
@@ -522,10 +532,14 @@ Since map format version 24:
The purpose of `param1` and `param2` depend on the definition of the node. The purpose of `param1` and `param2` depend on the definition of the node.
# Name-ID-Mapping # Name-ID-Mapping
The mapping maps node content IDs to node names. The mapping maps node content IDs to node names.
# Node Metadata Format (Before Map Format Version 23) # Node Metadata Format (Before Map Format Version 23)
The node metadata is serialized depending on the `type_id` field. The node metadata is serialized depending on the `type_id` field.
@@ -565,6 +579,8 @@ The node metadata is serialized depending on the `type_id` field.
* `u8[len]` `owner` * `u8[len]` `owner`
* serialized inventory * serialized inventory
# Static Objects # Static Objects
Static objects are persistent freely moving objects in the world. Static objects are persistent freely moving objects in the world.
@@ -588,6 +604,8 @@ Since protocol version 37:
* `s32` pitch * 1000 * `s32` pitch * 1000
* `s32` roll * 1000 * `s32` roll * 1000
# Itemstring Format # Itemstring Format
Examples: Examples:
@@ -603,6 +621,8 @@ Older formats:
The wear value in tools is 0...65535. The wear value in tools is 0...65535.
# Inventory Serialization Format # Inventory Serialization Format
* The inventory serialization format is line-based. * The inventory serialization format is line-based.