63 return ByteTag::read($reader);
65 return ShortTag::read($reader);
67 return IntTag::read($reader);
69 return LongTag::read($reader);
71 return FloatTag::read($reader);
72 case self::TAG_Double:
73 return DoubleTag::read($reader);
74 case self::TAG_ByteArray:
75 return ByteArrayTag::read($reader);
76 case self::TAG_String:
77 return StringTag::read($reader);
79 return ListTag::read($reader, $tracker);
80 case self::TAG_Compound:
81 return CompoundTag::read($reader, $tracker);
82 case self::TAG_IntArray:
83 return IntArrayTag::read($reader);