Guard against invalid block indices in getBlockName()
Guard against invalid item names in getItemTexture(), return default