BartMassey/mc-level — pull request #6 by XaaK (2013-03-01 21:39:19+00:00)
Title: Item Names

I have added a very basic itemId->Name mapping. This is only for display at this point - we still can't use the names when specifying the find criteria on the command line; that might be something to tackle next. I also need to add the name mapping in for enchantments as well - but first I wanted to see if this was generally a good direction to go.

Thanks.

Here is what the output looks like now:

Saplings (ID:6)[x=-103,y=62,z=-66,source=free[dim=surface]]
Saplings (ID:6)[x=-107,y=68,z=-68,source=free[dim=surface]]
Seeds (ID:295)[x=-652,y=63,z=-42,source=free[dim=surface]]
Chest (ID:-1)[x=-579,y=52,z=-39,source=tile[dim=surface]
containedItems=
Bread (ID:297)[x=-579,y=52,z=-39,source=inside[Chest]]
Bucket (ID:325)[x=-579,y=52,z=-39,source=inside[Chest]]
Bread (ID:297)[x=-579,y=52,z=-39,source=inside[Chest]]
Wheat (ID:296)[x=-579,y=52,z=-39,source=inside[Chest]]
Saddle (ID:329)[x=-579,y=52,z=-39,source=inside[Chest]]
Bucket (ID:325)[x=-579,y=52,z=-39,source=inside[Chest]]
]