/// <exception cref="System.IO.IOException"/> internal override void ReadTagContents(java.io.DataInput datainput) { int i = datainput.ReadInt(); byteArray = new byte[i]; datainput.ReadFully(byteArray); }
/// <exception cref="System.IO.IOException"/> internal override void ReadTagContents(java.io.DataInput datainput) { tagMap.Clear(); net.minecraft.src.NBTBase nbtbase; for (; (nbtbase = net.minecraft.src.NBTBase.ReadTag(datainput)).GetType() != 0; tagMap [nbtbase.GetKey()] = nbtbase) { } }
/// <exception cref="System.IO.IOException"/> public static net.minecraft.src.NBTTagCompound GetCompound(java.io.DataInput datainput) { net.minecraft.src.NBTBase nbtbase = net.minecraft.src.NBTBase.ReadTag(datainput); if (nbtbase is net.minecraft.src.NBTTagCompound) { return((net.minecraft.src.NBTTagCompound)nbtbase); } else { throw new System.IO.IOException("Root tag must be a named compound tag"); } }
/// <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); } }
/// <exception cref="System.IO.IOException"/> public static net.minecraft.src.NBTBase ReadTag(java.io.DataInput datainput) { byte byte0 = datainput.ReadByte(); if (byte0 == 0) { return(new net.minecraft.src.NBTTagEnd()); } else { net.minecraft.src.NBTBase nbtbase = CreateTagOfType(byte0); nbtbase.key = datainput.ReadUTF(); nbtbase.ReadTagContents(datainput); return(nbtbase); } }
/// <exception cref="System.IO.IOException"/> internal override void ReadTagContents(java.io.DataInput datainput) { byteValue = datainput.ReadByte(); }
public static string readUTF(java.io.DataInput @in) { throw new System.NotImplementedException(); }
/// <exception cref="System.IO.IOException"/> internal override void ReadTagContents(java.io.DataInput datainput) { intValue = datainput.ReadInt(); }
/// <exception cref="System.IO.IOException"/> internal override void ReadTagContents(java.io.DataInput datainput) { longValue = datainput.ReadLong(); }
/// <exception cref="System.IO.IOException"/> internal abstract void ReadTagContents(java.io.DataInput datainput);
// Referenced classes of package net.minecraft.src: // NBTBase /// <exception cref="System.IO.IOException"/> internal override void ReadTagContents(java.io.DataInput datainput) { }
/// <exception cref="System.IO.IOException"/> internal override void ReadTagContents(java.io.DataInput datainput) { stringValue = datainput.ReadUTF(); }
/// <exception cref="System.IO.IOException"/> internal override void ReadTagContents(java.io.DataInput datainput) { doubleValue = datainput.ReadDouble(); }