Posted 22 November 2015 - 02:08 AM
using a turtle to scan chests for items, is there a name property for each item? Currently using safari nets.
The output is:
raw_name: item.mfr.safarinet.reusable
max_dmg: 0
max_size: 1
dmg: 0
id: MineFactoryReloaded:safarinet,reusable
nbt_hash: 23536b81e69c21ea30ba6d754ffd9bba
ore_dict: table: ——–
safari_net: table: —————–
name: safarinet.reuable
mod_id: MineFactoryReloaded
Although the safari net is called "Pink Slime", i cant find a property to get the name if you look at the safari_net table it will give you the property "captured": MineFactoryReloaded.mfrEntityPinkSlime, although cutting and rebuilding this as a string for the name would be extremely over complicated and something that id want to avoid.
a = peripheral.wrap("left")
itemTbl = a.getStackInSlot(1)
for k, v in pairs(itemTbl) do
print(k..": "..tostring(v))
end
The output is:
raw_name: item.mfr.safarinet.reusable
max_dmg: 0
max_size: 1
dmg: 0
id: MineFactoryReloaded:safarinet,reusable
nbt_hash: 23536b81e69c21ea30ba6d754ffd9bba
ore_dict: table: ——–
safari_net: table: —————–
name: safarinet.reuable
mod_id: MineFactoryReloaded
Although the safari net is called "Pink Slime", i cant find a property to get the name if you look at the safari_net table it will give you the property "captured": MineFactoryReloaded.mfrEntityPinkSlime, although cutting and rebuilding this as a string for the name would be extremely over complicated and something that id want to avoid.