mirror of
https://github.com/minetest-mods/hopper.git
synced 2025-01-03 11:07:30 +01:00
tweak wording a little
This commit is contained in:
parent
7cddb3a124
commit
ea10762e0e
9
api.txt
9
api.txt
@ -14,7 +14,8 @@ Make sure any mods using this function has 'hopper' in the depends.txt file.
|
|||||||
hopper:add_container({ {"where_from", "node_name", "inventory_name"} })
|
hopper:add_container({ {"where_from", "node_name", "inventory_name"} })
|
||||||
|
|
||||||
'where_from' is a string telling the api that items are coming from either
|
'where_from' is a string telling the api that items are coming from either
|
||||||
the 'top', going to the 'bottom' or coming from the 'side'.
|
the 'top' node into a hopper, going into the 'bottom' node from a
|
||||||
|
hopper or coming from a 'side' hopper into a container.
|
||||||
|
|
||||||
'node_name" is the name of the container itself (e.g. "default:chest")
|
'node_name" is the name of the container itself (e.g. "default:chest")
|
||||||
|
|
||||||
@ -23,9 +24,9 @@ hopper:add_container({ {"where_from", "node_name", "inventory_name"} })
|
|||||||
e.g.
|
e.g.
|
||||||
|
|
||||||
hopper:add_container({
|
hopper:add_container({
|
||||||
{"top", "default:furnace", "dst"}, -- take cooked items into hopper
|
{"top", "default:furnace", "dst"}, -- take cooked items from above into hopper
|
||||||
{"bottom", "default:furnace", "src"}, -- insert items to be cooked from hopper
|
{"bottom", "default:furnace", "src"}, -- insert items below to be cooked from hopper
|
||||||
{"side", "default:furnace", "fuel"}, -- replenish furnace fuel from hopper
|
{"side", "default:furnace", "fuel"}, -- replenish furnace fuel from hopper at side
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user