mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2025-02-16 20:41:24 +01:00
Updated Clipboard API (markdown)
parent
3eaa0229d8
commit
c557d51f6f
@ -1,6 +1,7 @@
|
||||
With FAWE installed, you can register a new ClipboardFormat through the API
|
||||
```Java
|
||||
ClipboardFormat.addFormat(new AbstractClipboardFormat("CUSTOM", "custom") { // name of format, aliases...
|
||||
// (name of format, aliases...)
|
||||
ClipboardFormat.addFormat(new AbstractClipboardFormat("CUSTOM", "custom") {
|
||||
@Override
|
||||
public ClipboardReader getReader(InputStream inputStream) throws IOException {
|
||||
return new yourCustomClipboardReader();
|
||||
|
Loading…
Reference in New Issue
Block a user