/// <exception cref="System.IO.IOException"/> public static void WriteTag(net.minecraft.src.NBTBase nbtbase, java.io.DataOutput dataoutput) { dataoutput.WriteByte(nbtbase.GetType()); if (nbtbase.GetType() == 0) { return; } else { dataoutput.WriteUTF(nbtbase.GetKey()); nbtbase.WriteTagContents(dataoutput); return; } }
public virtual void SetTag(net.minecraft.src.NBTBase nbtbase) { tagType = nbtbase.GetType(); tagList.Add(nbtbase); }