question: protected void write ( DataOutputStream stream ) throws Exception { Iterator < NBT_Tag > iter = elements . iterator ( ) ; while ( iter . hasNext ( ) ) { NBT_Tag ret = iter . next ( ) ; ret . save ( stream ) ; } TAG_End end = new TAG_End ( "" ) ; end . save ( stream ) ; }
target:  Saving method.  (see NBT_Tag)