NBTTagEnd .java

net.minecraft.nbt.NBTTagEnd (class, 42 lines): extends NBTBase. members: copy, getId, toString.

net.minecraft.nbtclass42 linescommonextends NBTBase756 B

API Surface (3)

byte getId()
String toString()
NBTBase copy()

Code Graph: Dependencies (2)

Edges (calls / imports / inherits / references) resolved by graphify from the AST. Every chip opens the class source.

Full Source

NBTTagEnd.java42 lines · MCP 1.8.9 · verbatimOriginal ↗
1
package net.minecraft.nbt;
2
3
import java.io.DataInput;
4
import java.io.DataOutput;
5
import java.io.IOException;
6
7
public class NBTTagEnd extends NBTBase
8
{
9
    void read(DataInput input, int depth, NBTSizeTracker sizeTracker) throws IOException
10
    {
11
        sizeTracker.read(64L);
12
    }
13
14
    /**
15
     * Write the actual data contents of the tag, implemented in NBT extension classes
16
     */
17
    void write(DataOutput output) throws IOException
18
    {
19
    }
20
21
    /**
22
     * Gets the type byte for the tag.
23
     */
24
    public byte getId()
25
    {
26
        return (byte)0;
27
    }
28
29
    public String toString()
30
    {
31
        return "END";
32
    }
33
34
    /**
35
     * Creates a clone of the tag.
36
     */
37
    public NBTBase copy()
38
    {
39
        return new NBTTagEnd();
40
    }
41
}
42

Deobfuscated MCP 1.8.9 source of NBTTagEnd from Marcelektro/MavenMCP-1.8.9 (net/minecraft/nbt/NBTTagEnd.java), stored verbatim.