MineClone2/mods/PLAYER/wieldview/transform.lua
AFCMS d4e0d4d1c1 Revert "Revert "improve wieldview API (!)""
This reverts commit 613779a851049feb4fa8bc067490cdba45c12962.
2021-03-30 01:00:17 +02:00

9 lines
192 B
Lua

-- Wielded Item Transformations - http://dev.minetest.net/texture
wieldview.register_transform = function(item, rotation)
wieldview.transform[item] = rotation
end
wieldview.transform = {}