Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local chest = require("chest")
- local menu = require("menu")
- local menu = menu.new()
- menu:run()
- local chestList = {}
- for i=1, 16 do
- chestList[i] = chest.new(i, "", math.random(0, 64))
- end
- chestList[1].item = "minecraft:charcoal"
- --[[
- for i=1, 16 do
- shell.run("clear")
- print("index: "..chestList[i].index)
- print("item: "..chestList[i].item)
- print("itemCount: "..chestList[i].itemCount)
- sleep(2)
- end
- ]]--
- --[[
- print("index:\t"..chest1.index)
- print("item:\t"..chest1.item)
- print("itemCount:\t"..chest1.itemCount)
- print("chest x:\t"..chest1.location.x);
- print("chest y:\t"..chest1.location.y);
- print("chest side:\t"..chest1.location.side);
- ]]--
Add Comment
Please, Sign In to add comment