question: public void readFromNBT ( final NBTTagCompound nbt ) { programs . clear ( ) ; final NBTTagList pagesNbt = nbt . getTagList ( TAG_PAGES , Constants . NBT . TAG_STRING ) ; for ( int index = 0 ; index < pagesNbt . tagCount ( ) ; index ++ ) { programs . add ( Arrays . asList ( PATTERN_LINES . split ( pagesNbt . getStringTagAt ( index ) ) ) ) ; } selectedProgram = nbt . getInteger ( TAG_SELECTED ) ; validateSelectedPage ( ) ; }
target:  Load data from the specified NBT tag.