예제 #1
0
        /// <exception cref="System.IO.IOException"/>
        internal override void ReadTagContents(java.io.DataInput datainput)
        {
            int i = datainput.ReadInt();

            byteArray = new byte[i];
            datainput.ReadFully(byteArray);
        }
예제 #2
0
        /// <exception cref="System.IO.IOException"/>
        internal override void ReadTagContents(java.io.DataInput datainput)
        {
            tagType = datainput.ReadByte();
            int i = datainput.ReadInt();

            tagList = new List <NBTBase>();
            for (int j = 0; j < i; j++)
            {
                net.minecraft.src.NBTBase nbtbase = net.minecraft.src.NBTBase.CreateTagOfType(tagType
                                                                                              );
                nbtbase.ReadTagContents(datainput);
                tagList.Add(nbtbase);
            }
        }
예제 #3
0
 /// <exception cref="System.IO.IOException"/>
 internal override void ReadTagContents(java.io.DataInput datainput)
 {
     intValue = datainput.ReadInt();
 }