Works with shift+click for newly placed hoppers

This commit is contained in:
TenPlus1 2015-09-13 09:39:04 +01:00
parent 192ca97b68
commit 8bda9878fe
2 changed files with 12 additions and 9 deletions

@ -12,4 +12,6 @@ Released under WTFPL
0.3 - transfer function added
0.4 - Supports locked chest and protected chest
0.4 - Supports locked chest and protected chest
0.5 - Works with 0.4.13's new shift+click for newly placed Hoppers

@ -1,12 +1,13 @@
local hopper_formspec =
"size[8,9]"..
default.gui_bg..
default.gui_bg_img..
default.gui_slots..
"list[current_name;main;0,0.3;8,4;]"..
"list[current_player;main;0,4.85;8,1;]"..
"list[current_player;main;0,6.08;8,3;8]"
--default.get_hotbar_bg(0,4.85)
"size[8,9]"
.. default.gui_bg
.. default.gui_bg_img
.. default.gui_slots
.. "list[current_name;main;0,0.3;8,4;]"
.. "list[current_player;main;0,4.85;8,1;]"
.. "list[current_player;main;0,6.08;8,3;8]"
.. "listring[current_name;main]"
.. "listring[current_player;main]"
-- hopper
minetest.register_node("hopper:hopper", {