display_modpack/display_api
bri cassa 21cfb2e59e Merge branch 'github' 2022-07-02 12:47:48 +02:00
..
API.md Add 'display_api/' from commit '3a43e4ad81dc6595fabfa22c88e229c393f93529' 2019-12-31 17:06:56 +01:00
LICENSE.txt Add 'display_api/' from commit '3a43e4ad81dc6595fabfa22c88e229c393f93529' 2019-12-31 17:06:56 +01:00
README.md Add 'display_api/' from commit '3a43e4ad81dc6595fabfa22c88e229c393f93529' 2019-12-31 17:06:56 +01:00
copyright.txt Add 'display_api/' from commit '3a43e4ad81dc6595fabfa22c88e229c393f93529' 2019-12-31 17:06:56 +01:00
deprecation.lua Add 'display_api/' from commit '3a43e4ad81dc6595fabfa22c88e229c393f93529' 2019-12-31 17:06:56 +01:00
display.lua Add 'display_api/' from commit '3a43e4ad81dc6595fabfa22c88e229c393f93529' 2019-12-31 17:06:56 +01:00
init.lua Add mods loading messages to action log 2020-07-23 15:39:26 +02:00
mod.conf Delete depends.txt, update mod.conf 2022-07-02 12:46:17 +02:00

README.md

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.

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-14

  • dispay_api: Display API now detects automatically whenr rotation restrictions have to be applied.

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.