Exemplo n.º 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);
        }
Exemplo n.º 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);
            }
        }
Exemplo n.º 3
0
 /// <exception cref="System.IO.IOException"/>
 internal override void ReadTagContents(java.io.DataInput datainput)
 {
     intValue = datainput.ReadInt();
 }