Added new items.py file with list of itemID and names
This commit is contained in:
@@ -3,6 +3,7 @@ import sys
|
||||
sys.path.append(".")
|
||||
|
||||
from overviewer_core.nbt import load
|
||||
from overviewer_core import items
|
||||
|
||||
print "Inspecting %s" % sys.argv[1]
|
||||
|
||||
@@ -13,4 +14,5 @@ print "Position: %r" % data['Pos']
|
||||
print "Health: %s" % data['Health']
|
||||
print "Inventory: %d items" % len(data['Inventory'])
|
||||
for item in data['Inventory']:
|
||||
print " %r" % item
|
||||
print " %-3d %s" % (item['Count'], items.id2item(item['id']))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user