@Override
    public final void write(final @NotNull T tag, final @NotNull DataOutput output) throws IOException {
      if (this.writer != null) this.writer.write(tag, output);
    }
A binary tag writer.

@param <T> the tag type
@since 4.0.0
nbt/src/main/java/net/kyori/adventure/nbt/BinaryTagType.java