Chest with inventory shared between all instances

I believe he means how the Ender Chest works in Minecraft. You can build and place as many of the chests as you like, but the inventory of them will always be the exact same thing.Boogieman14 wrote:Isn't that just called a Logistics Network?
Code: Select all
function onTick(event)
if game.player.opened.name == "singular-chest " then
-- what if chest has items? clear / abort / temporarely swap inventories?
fillChestWithSingularInventory(game.player.opened) -- Access glob.singular and insert loops items to chest.
opened = game.player.opened
elseif opened then -- player is not looking inside chest anymore
moveItems2SingularInventory(opened) -- Copies chest inventory to glob.singular and clears chest.
opened = nil
end
end