Signed-off-by: Alexander Brandes <mc.cache@web.de>
Dieser Commit ist enthalten in:
Alexander Brandes 2024-08-11 21:37:10 +02:00
Ursprung 41d294e73b
Commit b5c22d6275
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 158F5701A6AAD00C
8 geänderte Dateien mit 10 neuen und 10 gelöschten Zeilen

Datei anzeigen

@ -52,7 +52,7 @@ ext {
}
}
version = String.format("%s-%s", rootVersion, buildNumber)
version = String.format("%s", rootVersion)
if (!project.hasProperty("gitCommitHash")) {
apply(plugin = "org.ajoberstar.grgit")

Datei anzeigen

@ -119,7 +119,7 @@ public class FaweAPI {
* @deprecated Opens streams that are not then closed. Use {@link ClipboardFormats#findByFile(File)} and its relevant
* methods to allow closing created streams/closing the reader (which will close the stream(s))
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.1")
public static Clipboard load(File file) throws IOException {
return ClipboardFormats.findByFile(file).load(file);
}

Datei anzeigen

@ -66,7 +66,7 @@ import java.util.zip.GZIPInputStream;
* Not necessarily much faster than {@link com.sk89q.worldedit.extent.clipboard.io.sponge.SpongeSchematicV3Reader}, but uses a
* stream based approach to keep the memory overhead minimal (especially in larger schematics)
*
* @since TODO
* @since 2.11.1
*/
@SuppressWarnings("removal") // JNBT
public class FastSchematicReaderV3 implements ClipboardReader {

Datei anzeigen

@ -36,7 +36,7 @@ import java.util.function.Function;
* Faster, stream-based implementation of {@link com.sk89q.worldedit.extent.clipboard.io.sponge.SpongeSchematicV3Writer} for
* writing schematics conforming the sponge schematic v3 format.
*
* @since TODO
* @since 2.11.1
*/
@SuppressWarnings("removal") // Yes, JNBT is deprecated - we know
public class FastSchematicWriterV3 implements ClipboardWriter {

Datei anzeigen

@ -27,7 +27,7 @@ public class SchemGen implements Resource {
/**
* @deprecated Use {@link SchemGen#SchemGen(Mask, Extent, List, boolean, Region)}
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.1")
public SchemGen(Mask mask, Extent extent, List<ClipboardHolder> clipboards, boolean randomRotate) {
this.mask = mask;
this.extent = extent;
@ -39,7 +39,7 @@ public class SchemGen implements Resource {
/**
* New instance. Places a schematic on terrain at a given x,z when appropriate
*
* @since TODO
* @since 2.11.1
*/
public SchemGen(Mask mask, Extent extent, List<ClipboardHolder> clipboards, boolean randomRotate, Region region) {
this.mask = mask;

Datei anzeigen

@ -101,7 +101,7 @@ public interface ClipboardFormat {
*
* @param inputStream The stream
* @return true if the given stream is of this format
* @since TODO
* @since 2.11.1
*/
default boolean isFormat(InputStream inputStream) {
return false;

Datei anzeigen

@ -177,7 +177,7 @@ public class ClipboardFormats {
* @deprecated DO NOT USE. Sponge formats 2 and 3 both use .schem by default.
*/
@Nullable
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.1")
public static ClipboardFormat findByExtension(String extension) {
checkNotNull(extension);

Datei anzeigen

@ -83,7 +83,7 @@ public interface ChangeSet extends Closeable {
* @return the change count
* @deprecated History could be larger than int max value so FAWE prefers {@link ChangeSet#longSize()}
*/
@Deprecated(since = "TODO")
@Deprecated(since = "2.11.1")
int size();
//FAWE start
@ -93,7 +93,7 @@ public interface ChangeSet extends Closeable {
* History could be larger than int max value so FAWE prefers this method.
*
* @return the change count
* @since TODO
* @since 2.11.1
*/
default long longSize() {
return size();