Minor documentation fixes

This commit is contained in:
Lars Mueller 2024-01-24 15:24:25 +01:00 committed by Lars Müller
parent fbec168e91
commit b1ee137177
1 changed files with 7 additions and 5 deletions

View File

@ -506,8 +506,8 @@ Example:
* `<w>`: width * `<w>`: width
* `<h>`: height * `<h>`: height
* `<x>`: x position * `<x>`: x position, negative numbers allowed
* `<y>`: y position * `<y>`: y position, negative numbers allowed
* `<file>`: texture to combine * `<file>`: texture to combine
Creates a texture of size `<w>` times `<h>` and blits the listed files to their Creates a texture of size `<w>` times `<h>` and blits the listed files to their
@ -613,13 +613,13 @@ Creates an inventorycube with `grass.png`, `dirt.png^grass_side.png` and
* `<y>`: y position * `<y>`: y position
* `<color>`: a `ColorString`. * `<color>`: a `ColorString`.
Creates a texture of the given size and color, optionally with an <x>,<y> Creates a texture of the given size and color, optionally with an `<x>,<y>`
position. An alpha value may be specified in the `Colorstring`. position. An alpha value may be specified in the `Colorstring`.
The optional <x>,<y> position is only used if the [fill is being overlaid The optional `<x>,<y>` position is only used if the `[fill` is being overlaid
onto another texture with '^'. onto another texture with '^'.
When [fill is overlaid onto another texture it will not upscale or change When `[fill` is overlaid onto another texture it will not upscale or change
the resolution of the texture, the base texture will determine the output the resolution of the texture, the base texture will determine the output
resolution. resolution.
@ -8402,6 +8402,7 @@ Player properties need to be saved manually.
pointable = true, pointable = true,
-- Can be `true` if it is pointable, `false` if it can be pointed through, -- Can be `true` if it is pointable, `false` if it can be pointed through,
-- or `"blocking"` if it is pointable but not selectable. -- or `"blocking"` if it is pointable but not selectable.
-- Clients older than 5.9.0 interpret `pointable = "blocking"` as `pointable = true`.
-- Can be overridden by the `pointabilities` of the held item. -- Can be overridden by the `pointabilities` of the held item.
visual = "cube" / "sprite" / "upright_sprite" / "mesh" / "wielditem" / "item", visual = "cube" / "sprite" / "upright_sprite" / "mesh" / "wielditem" / "item",
@ -9015,6 +9016,7 @@ Used by `minetest.register_node`.
pointable = true, pointable = true,
-- Can be `true` if it is pointable, `false` if it can be pointed through, -- Can be `true` if it is pointable, `false` if it can be pointed through,
-- or `"blocking"` if it is pointable but not selectable. -- or `"blocking"` if it is pointable but not selectable.
-- Clients older than 5.9.0 interpret `pointable = "blocking"` as `pointable = true`.
-- Can be overridden by the `pointabilities` of the held item. -- Can be overridden by the `pointabilities` of the held item.
-- A client may be able to point non-pointable nodes, since it isn't checked server-side. -- A client may be able to point non-pointable nodes, since it isn't checked server-side.