001    package net.minecraft.src;
002    
003    import java.io.DataInput;
004    import java.io.DataOutput;
005    import java.io.IOException;
006    
007    public class NBTTagEnd extends NBTBase
008    {
009        public NBTTagEnd()
010        {
011            super((String)null);
012        }
013    
014        /**
015         * Read the actual data contents of the tag, implemented in NBT extension classes
016         */
017        void load(DataInput par1DataInput) throws IOException {}
018    
019        /**
020         * Write the actual data contents of the tag, implemented in NBT extension classes
021         */
022        void write(DataOutput par1DataOutput) throws IOException {}
023    
024        /**
025         * Gets the type byte for the tag.
026         */
027        public byte getId()
028        {
029            return (byte)0;
030        }
031    
032        public String toString()
033        {
034            return "END";
035        }
036    
037        /**
038         * Creates a clone of the tag.
039         */
040        public NBTBase copy()
041        {
042            return new NBTTagEnd();
043        }
044    }