Display modpack for Minetest, provides mods with dynamic display and font display : clocks, signs, and more.
Go to file
2019-03-11 10:16:18 +01:00
API.md Update API documentation 2018-12-11 14:58:11 +01:00
copyright.txt Update copyright.txt 2018-09-26 19:43:33 +02:00
depends.txt Reverting submodule change until zip file does not include submodule 2018-09-21 21:19:48 +02:00
deprecation.lua Depreciation of old display groups and display_lib global + warnings 2018-12-03 16:27:08 +01:00
display.lua Fixed crash on MT0.4 2019-03-11 10:16:18 +01:00
init.lua Depreciation of old display groups and display_lib global + warnings 2018-12-03 16:27:08 +01:00
LICENSE.txt Reverting submodule change until zip file does not include submodule 2018-09-21 21:19:48 +02:00
mod.conf Added mod.conf 2019-03-09 19:08:46 +01:00
README.md Update README 2019-03-09 20:47:33 +01:00
settingtypes.txt Use MT5 set_rotation to allow all rotations of nodes 2019-03-09 20:24:53 +01:00

Display API

This library's purpose is to ease creation of nodes with one or more displays on sides. For example, signs and clocks. Display can be dynamic and/or different for each node instance.

Limitations: This lib uses entities to draw display. This means display has to be vertical (and "upside up") on Minetest before version 5.0. This restriction can be set in settings.

Settings: display_rotation_restriction should be set to false if using Minetest 5.0 and above, true otherwise.

Dependancies:default

License: LGPLv2

API: See API.md document please.

For more information, see the forum topic at the Minetest forums.

Deprecation notice (for modders)

December 2018

Following objects are deprecated, shows a warning in log when used:

  • display_modpack_node group (use display_api group instead);
  • display_lib_node group (use display_api group instead);
  • display_lib global table (use display_api global table instead);

These objects will be removed in the future.

Change log

2019-03-09

  • display_api: Display nodes can be rotated in every directions (if running Minetest 5 or above).
  • display_api: New setting to restrict rotations to Minetest 0.4 abilities (restriction enabled by default).

2018-12-14

  • display_api: New yaw attributes, entities can now have different angles with node.