Clipboard=
{[1]={["NBT"]={
type="compound",
value={
id={type="string", value="Chest"},
x={type="int", value=0},
y={type="int", value=128},
z={type="int", value=0},
Items={
type="list",
value={
{
type="compound",
value={
id={type="short", value=7},
Count={type="byte", value=64},
Damage={type="short", value=0},
Slot={type="byte", value=0}
}
},
{
type="compound",
value={
id={type="short", value=1},
Count={type="byte", value=32},
Damage={type="short", value=0},
Slot={type="byte", value=2}
}
}
}
},
randomLong={type="long", value={1, 2}},
randomIntArray={type="intArray", value={1, 2, 3, 4}},
randomByteArray={type="byteArray", value={5, 6, 7, 8}}
}
}
}
}
(If there are some curly braces missing, that isn't the problem, because I was modifying this table manually so it would look like the output of the program, as I can't test in-game at the moment)
Clipboard[1]["NBT"]["value"]["x"]["value"]=1 Clipboard[1]["NBT"]["value"]["y"]["value"]=2 Clipboard[1]["NBT"]["value"]["z"]["value"]=3
Any of those three lines will simply erase most of the table, leaving none of the other data. What should be done to fix that? How can one manipulate tables in such a way to make that work?
Edited by moomoomoo309, 11 August 2014 - 03:02 AM.











