Automatic item and node colorization (#5640)
* Automatic item and node colorization Now nodes with a palette yield colored item stacks, and colored items place colored nodes by default. The client predicts the colorization. * Backwards compatibility * Use nil * Style fixes * Fix code style * Document changes
This commit is contained in:
@@ -93,7 +93,7 @@ class InvRef : public ModApiBase {
|
||||
// Returns true if the item completely fits into the list
|
||||
static int l_room_for_item(lua_State *L);
|
||||
|
||||
// contains_item(self, listname, itemstack or itemstring or table or nil) -> true/false
|
||||
// contains_item(self, listname, itemstack or itemstring or table or nil, [match_meta]) -> true/false
|
||||
// Returns true if the list contains the given count of the given item name
|
||||
static int l_contains_item(lua_State *L);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user