mirror of
https://github.com/minetest-mods/hopper.git
synced 2024-12-22 21:32:29 +01:00
Works with shift+click for newly placed hoppers
This commit is contained in:
parent
192ca97b68
commit
8bda9878fe
@ -13,3 +13,5 @@ Released under WTFPL
|
||||
0.3 - transfer function added
|
||||
|
||||
0.4 - Supports locked chest and protected chest
|
||||
|
||||
0.5 - Works with 0.4.13's new shift+click for newly placed Hoppers
|
17
init.lua
17
init.lua
@ -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", {
|
||||
|
Loading…
Reference in New Issue
Block a user