diff --git a/build.gradle.kts b/build.gradle.kts index ce3bc8f757..7653c397c9 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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") diff --git a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/BukkitImplAdapter.java b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/BukkitImplAdapter.java index 986b348d33..7c778b5ce9 100644 --- a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/BukkitImplAdapter.java +++ b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/BukkitImplAdapter.java @@ -407,7 +407,7 @@ default IBatchProcessor getTickingPostProcessor() { /** * Returns an {@link PlacementStateProcessor} instance for processing placed blocks to "fix" them. - * @since TODO + * @since 2.12.3 */ default PlacementStateProcessor getPlatformPlacementProcessor(Extent extent, BlockTypeMask mask, Region region) { return null; diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/io/schematic/MinecraftStructure.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/io/schematic/MinecraftStructure.java index ea77fb1ca0..18e7d4b99b 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/io/schematic/MinecraftStructure.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/clipboard/io/schematic/MinecraftStructure.java @@ -70,13 +70,13 @@ public MinecraftStructure(@Nonnull DataOutput out) { } @SuppressWarnings("removal") - @Deprecated(since = "TODO") + @Deprecated(since = "2.12.3") public MinecraftStructure(@Nonnull com.sk89q.jnbt.NBTInputStream inputStream) { this.in = inputStream.dataInputStream(); } @SuppressWarnings("removal") - @Deprecated(since = "TODO") + @Deprecated(since = "2.12.3") public MinecraftStructure(@Nonnull com.sk89q.jnbt.NBTOutputStream out) { this.out = out; } @@ -176,7 +176,7 @@ public Clipboard read(UUID clipboardId) throws IOException { /** * @deprecated owner is not used anymore, use {@link #write(Clipboard)} */ - @Deprecated(since = "TODO") + @Deprecated(since = "2.12.3") public void write(Clipboard clipboard, @SuppressWarnings("unused") String owner) throws IOException { this.write(clipboard); } diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/processor/PlacementStateProcessor.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/processor/PlacementStateProcessor.java index 3479271d6d..35f73e5a62 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/processor/PlacementStateProcessor.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/extent/processor/PlacementStateProcessor.java @@ -42,7 +42,7 @@ /** * Processor/pattern that uses Minecraft internal methods to determine the shape of blocks, e.g. stairs and fences * - * @since TODO + * @since 2.12.3 */ public abstract class PlacementStateProcessor extends AbstractDelegateExtent implements IBatchProcessor, Pattern { @@ -76,7 +76,7 @@ public abstract class PlacementStateProcessor extends AbstractDelegateExtent imp * * @param extent Extent to use * @param mask Mask of blocks to perform updates on - * @since TODO + * @since 2.12.3 */ public PlacementStateProcessor(Extent extent, BlockTypeMask mask, Region region) { super(extent); diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/function/mask/Adjacent2DMask.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/function/mask/Adjacent2DMask.java index 22d5d7ff76..ca214cf39b 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/function/mask/Adjacent2DMask.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/function/mask/Adjacent2DMask.java @@ -8,7 +8,7 @@ /** * Mask that tests adjacency only in 2D/the same y-level * - * @since TODO + * @since 2.12.3 */ public class Adjacent2DMask extends AbstractMask { @@ -23,7 +23,7 @@ public class Adjacent2DMask extends AbstractMask { * @param mask Mask required to be adjacent * @param requiredMin Minimum number of positive adjacency matches required * @param requiredMax Maximum number of positive adjacency matches required - * @since TODO + * @since 2.12.3 */ public Adjacent2DMask(Mask mask, int requiredMin, int requiredMax) { this.mask = mask; diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/function/mask/AdjacentAny2DMask.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/function/mask/AdjacentAny2DMask.java index 9bc8aa67e3..3d499da42d 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/function/mask/AdjacentAny2DMask.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/function/mask/AdjacentAny2DMask.java @@ -10,7 +10,7 @@ /** * Optimized version of {@link Adjacent2DMask} for testing for any single adjacency * - * @since TODO + * @since 2.12.3 */ public class AdjacentAny2DMask extends AbstractMask { @@ -21,7 +21,7 @@ public class AdjacentAny2DMask extends AbstractMask { * Optimized version of {@link Adjacent2DMask} for testing for any single adjacency. Caches results of the adjacent mask * * @param mask Mask required to be adjacent - * @since TODO + * @since 2.12.3 */ public AdjacentAny2DMask(Mask mask) { this(mask, true); @@ -32,7 +32,7 @@ public AdjacentAny2DMask(Mask mask) { * * @param mask Mask required to be adjacent * @param cache If the result of the adjacency mask should be cached - * @since TODO + * @since 2.12.3 */ public AdjacentAny2DMask(Mask mask, boolean cache) { this.mask = cache ? CachedMask.cache(mask) : mask; @@ -61,7 +61,7 @@ public boolean test(BlockVector3 v) { * * @param extent extent to test in * @param position position to test at - * @since TODO + * @since 2.12.3 */ public boolean test(Extent extent, BlockVector3 position) { if (!(mask instanceof AbstractExtentMask extentMask)) { diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/Filter.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/Filter.java index ab277ded4c..6fff48f7ef 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/Filter.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/Filter.java @@ -65,7 +65,7 @@ default void join() { /** * Signals to the filter the edit has concluded * - * @since TODO + * @since 2.12.3 */ default void finish() { diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/IBlocks.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/IBlocks.java index 9923223ea9..1f8045d3ee 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/IBlocks.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/IBlocks.java @@ -42,7 +42,7 @@ public interface IBlocks extends Trimable { * This method might be conservative and return {@code true} even if the section is empty. * * @param layer the section's layer - * @since TODO + * @since 2.12.3 */ default boolean hasNonEmptySection(int layer) { return hasSection(layer); diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/IChunkSet.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/IChunkSet.java index da6ea03e5f..7d24186fc4 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/IChunkSet.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/IChunkSet.java @@ -143,14 +143,14 @@ default IChunkSet createCopy() { /** * Set the side effects to be used when settings these blocks * - * @since TODO + * @since 2.12.3 */ void setSideEffectSet(@Nonnull SideEffectSet sideEffectSet); /** * Get the side effects to be used when settings these blocks * - * @since TODO + * @since 2.12.3 */ @Nonnull SideEffectSet getSideEffectSet(); diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/IQueueExtent.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/IQueueExtent.java index e1714f0398..adfabbf454 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/IQueueExtent.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/IQueueExtent.java @@ -85,14 +85,14 @@ default BlockVector3 getMaximumPoint() { /** * Set the side effects to be used with this extent * - * @since TODO + * @since 2.12.3 */ void setSideEffectSet(SideEffectSet sideEffectSet); /** * Get the side effects to be used with this extent * - * @since TODO + * @since 2.12.3 */ SideEffectSet getSideEffectSet(); diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/util/ExtentTraverser.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/util/ExtentTraverser.java index e1a1069797..d108041ba4 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/util/ExtentTraverser.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/util/ExtentTraverser.java @@ -28,7 +28,7 @@ public ExtentTraverser(@Nonnull T root, ExtentTraverser parent) { /** * Get the world backing the given extent, if present, else null. * - * @since TODO + * @since 2.12.3 */ @Nullable public static World getWorldFromExtent(Extent extent) { diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/EditSessionBuilder.java b/worldedit-core/src/main/java/com/sk89q/worldedit/EditSessionBuilder.java index 418e54cffe..4b294d2c4c 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/EditSessionBuilder.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/EditSessionBuilder.java @@ -422,7 +422,7 @@ public EditSessionBuilder combineStages(@Nullable Boolean combineStages) { /** * Set the side effects to be used with this edit * - * @since TODO + * @since 2.12.3 */ public EditSessionBuilder setSideEffectSet(@Nullable SideEffectSet sideEffectSet) { this.sideEffectSet = sideEffectSet; @@ -756,7 +756,7 @@ public AbstractChangeSet getChangeTask() { /** * Get the SideEffectSet that will be used * - * @since TODO + * @since 2.12.3 */ public SideEffectSet getSideEffectSet() { return sideEffectSet; diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/Platform.java b/worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/Platform.java index 346098de59..f94a836275 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/Platform.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/Platform.java @@ -284,7 +284,7 @@ default IBatchProcessor getPlatformPostProcessor(boolean fastMode) { * Returns an {@link PlacementStateProcessor} instance for processing placed blocks to "fix" them. Optional region to * prevent any changes outside of, as sometimes block neighbours will also be updated otherwise. * - * @since TODO + * @since 2.12.3 */ default PlacementStateProcessor getPlatformPlacementProcessor(Extent extent, BlockTypeMask mask, @Nullable Region region) { return null; diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/function/RegionMaskingFilter.java b/worldedit-core/src/main/java/com/sk89q/worldedit/function/RegionMaskingFilter.java index f5c5363706..fbc9fc66a5 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/function/RegionMaskingFilter.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/function/RegionMaskingFilter.java @@ -56,7 +56,7 @@ public RegionMaskingFilter(Mask mask, RegionFunction function) { * @param function the function */ //FAWE start - Extent - @Deprecated(since = "TODO") + @Deprecated(since = "2.12.3") public RegionMaskingFilter(@SuppressWarnings("unused") Extent extent, Mask mask, RegionFunction function) { this(mask, function); } diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockCategoryMask.java b/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockCategoryMask.java index bb89b0a084..75b8b34877 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockCategoryMask.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockCategoryMask.java @@ -59,7 +59,7 @@ public boolean test(Extent extent, BlockVector3 vector) { /** * Test a specific block against this category mask * - * @since TODO + * @since 2.12.3 */ public > boolean test(B blockStateHolder) { return category.contains(blockStateHolder); diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockTypeMask.java b/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockTypeMask.java index 55f7519d01..4e0f98f67d 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockTypeMask.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/function/mask/BlockTypeMask.java @@ -145,7 +145,7 @@ public boolean test(BlockType block) { /** * Test a block state against this block type mask * - * @since TODO + * @since 2.12.3 */ public > boolean test(B blockStateHolder) { return types[blockStateHolder.getBlockType().getInternalId()]; diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/util/Direction.java b/worldedit-core/src/main/java/com/sk89q/worldedit/util/Direction.java index 3d21ef587b..e69789d1a9 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/util/Direction.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/util/Direction.java @@ -361,7 +361,7 @@ private Flag() { /** * Get the directions associated with the given block state, e.g. the connections a fence makes or the direction stairs face * - * @since TODO + * @since 2.12.3 */ public static EnumSet getDirections(BlockState state) { EnumSet directions = EnumSet.noneOf(Direction.class); diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/util/SideEffectSet.java b/worldedit-core/src/main/java/com/sk89q/worldedit/util/SideEffectSet.java index 73e3805eb3..a7ca29cfa1 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/util/SideEffectSet.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/util/SideEffectSet.java @@ -64,7 +64,7 @@ public SideEffectSet(Map sideEffects) { /** * Create a new {@link SideEffectSet} with the given side effect set to "on" * - * @since TODO + * @since 2.12.3 */ public SideEffectSet with(SideEffect sideEffect) { return with(sideEffect, SideEffect.State.ON); @@ -73,7 +73,7 @@ public SideEffectSet with(SideEffect sideEffect) { /** * Create a new {@link SideEffectSet} with the given side effect set to "off" * - * @since TODO + * @since 2.12.3 */ public SideEffectSet without(SideEffect sideEffect) { return with(sideEffect, SideEffect.State.OFF); @@ -134,7 +134,7 @@ public static SideEffectSet none() { * - Neighbours * - Lighting (if set to mode 0 in config * - * @since TODO + * @since 2.12.3 */ public static SideEffectSet api() { return defaults().without(SideEffect.HISTORY);