Posted 10 April 2015 - 12:30 AM
turtle.getItemDetail returns a table as such:
however, when using turtle.inspect (or any directional version of it) it returns a table formatted as such:
{
name = "minecraft:sandstone",
metadata = 0
}
Note that the with turtle.getItemDetail, the key for the damage value is "damage". However, with turtle.inspect, it is "metadata". There do not appear to be any differences between the two values.
Screenshots:
{
name = "minecraft:sandstone",
damage = 0,
count = 1
}
however, when using turtle.inspect (or any directional version of it) it returns a table formatted as such:
{
name = "minecraft:sandstone",
metadata = 0
}
Note that the with turtle.getItemDetail, the key for the damage value is "damage". However, with turtle.inspect, it is "metadata". There do not appear to be any differences between the two values.
Screenshots:
Edited on 09 April 2015 - 10:31 PM