From 53e9587861fdf8c588f7e51eca522215167250b4 Mon Sep 17 00:00:00 2001 From: SmallJoker Date: Tue, 3 May 2016 20:14:01 +0200 Subject: Add [resize texture modifier Resizes the texture to the given dimensions. --- doc/lua_api.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index e8e74f674..a4592286a 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -279,6 +279,13 @@ Example: [combine:16x32:0,0=default_cobble.png:0,16=default_wood.png +#### `[resize:x` +Resizes the texture to the given dimensions. + +Example: + + default_sandstone.png^[resize:16x16 + #### `[brighten` Brightens the texture. -- cgit v1.2.3