aboutsummaryrefslogtreecommitdiff
path: root/src/script/lua_api/l_metadata.cpp
AgeCommit message (Collapse)Author
2021-10-05Make MetaDataRef:get return nil instead of nothing (#11666)Jude Melton-Houghton
2020-07-16Revert "Auto delete MetaData when = 0 (#8770)" (#10183)Lars Müller
This reverts commit 808eb4c5714da5ac36f4a70653d6b3805060828c.
2020-05-02Auto delete MetaData when = 0 (#8770)Lejo
* Auto delete MetaData when = 0
2018-12-04Send only changed node metadata to clients instead of whole mapblock (#5268)SmallJoker
Includes newer style changes and fixes by est31 Improve the block position de-serialization Add type NodeMetadataMap
2018-06-30Modernize lua read (part 2 & 3): C++ templating assurance (#7410)Loïc Blot
* Modernize lua read (part 2 & 3): C++ templating assurance Implement the boolean reader Implement the string reader Also remove unused & unimplemented script_error_handler Add a reader with default value
2018-06-04Modernize lua read (part 1): C++ templating insurance (#7394)Loïc Blot
* Modernize lua read (part 1): C++ templating assurance Implement the float reader
2018-04-30MetaDataRef: Add contains() and get() (#7214)rubenwardy
2018-04-06Add player:get_meta(), deprecate player attributes (#7202)rubenwardy
* Add player:get_meta(), deprecate player attributes
2018-02-18Check argument types inside MetaDataRef Lua API (#7045)sfan5
2017-08-20Modernize source code: last part (#6285)Loïc Blot
* Modernize source code: last par * Use empty when needed * Use emplace_back instead of push_back when needed * For range-based loops * Initializers fixes * constructors, destructors default * c++ C stl includes
2017-04-08Hardware coloring for itemstacksDániel Juhász
Adds the possibility to colorize item stacks based on their metadata. In the item/node definition you can specify palette (an image file) and color (fallback color if the item has no palette or metadata). Then you can add palette_index to the metadata. Dropped itemstacks with different colors do not merge.
2017-02-04Derive NodeMetaRef from MetaDataRefrubenwardy