From fd4a5420629b9e40b3718921e120c5d191dcc116 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Mon, 7 Mar 2022 15:35:00 +0100 Subject: [PATCH] build: Release 6.6.0 --- .../main/java/com/plotsquared/bukkit/queue/GenChunk.java | 2 +- .../main/java/com/plotsquared/bukkit/util/BukkitWorld.java | 6 +++--- Core/src/main/java/com/plotsquared/core/PlotPlatform.java | 4 ++-- .../java/com/plotsquared/core/generator/HybridUtils.java | 4 ++-- Core/src/main/java/com/plotsquared/core/location/World.java | 4 ++-- Core/src/main/java/com/plotsquared/core/plot/Plot.java | 2 +- Core/src/main/java/com/plotsquared/core/plot/PlotArea.java | 4 ++-- Core/src/main/java/com/plotsquared/core/plot/PlotWorld.java | 2 +- .../java/com/plotsquared/core/plot/flag/FlagContainer.java | 2 +- .../main/java/com/plotsquared/core/plot/flag/PlotFlag.java | 2 +- .../main/java/com/plotsquared/core/queue/LocalChunk.java | 2 +- .../java/com/plotsquared/core/queue/QueueCoordinator.java | 4 ++-- .../main/java/com/plotsquared/core/util/RegionManager.java | 4 ++-- .../src/main/java/com/plotsquared/core/util/RegionUtil.java | 2 +- Core/src/main/java/com/plotsquared/core/util/WorldUtil.java | 2 +- .../main/java/com/plotsquared/core/uuid/UUIDMapping.java | 2 +- build.gradle.kts | 2 +- 17 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/queue/GenChunk.java b/Bukkit/src/main/java/com/plotsquared/bukkit/queue/GenChunk.java index ac40d26ce..4288342d6 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/queue/GenChunk.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/queue/GenChunk.java @@ -67,7 +67,7 @@ public class GenChunk extends ScopedQueueCoordinator { * @param minY minimum world Y, inclusive * @param maxY maximum world Y, inclusive * - * @since TODO + * @since 6.6.0 */ public GenChunk(int minY, int maxY) { super(null, Location.at("", 0, minY, 0), Location.at("", 15, maxY, 15)); diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/util/BukkitWorld.java b/Bukkit/src/main/java/com/plotsquared/bukkit/util/BukkitWorld.java index 1f8045f7d..3fd32c9a1 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/util/BukkitWorld.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/util/BukkitWorld.java @@ -88,7 +88,7 @@ public class BukkitWorld implements World { /** * Get the min world height from a Bukkit {@link org.bukkit.World}. Inclusive * - * @since TODO + * @since 6.6.0 */ public static int getMinWorldHeight(org.bukkit.World world) { return HAS_MIN_Y ? world.getMinHeight() : 0; @@ -97,7 +97,7 @@ public class BukkitWorld implements World { /** * Get the max world height from a Bukkit {@link org.bukkit.World}. Exclusive * - * @since TODO + * @since 6.6.0 */ public static int getMaxWorldHeight(org.bukkit.World world) { return HAS_MIN_Y ? world.getMaxHeight() : 256; @@ -143,7 +143,7 @@ public class BukkitWorld implements World { /** * @deprecated This method is not meant to be invoked or overridden, with no replacement. */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.6.0") protected boolean canEqual(final Object other) { return other instanceof BukkitWorld; } diff --git a/Core/src/main/java/com/plotsquared/core/PlotPlatform.java b/Core/src/main/java/com/plotsquared/core/PlotPlatform.java index 7788a21dc..50acf9ed1 100644 --- a/Core/src/main/java/com/plotsquared/core/PlotPlatform.java +++ b/Core/src/main/java/com/plotsquared/core/PlotPlatform.java @@ -102,7 +102,7 @@ public interface PlotPlatform

extends LocaleHolder { * Gets the default minimum world height for the version of Minecraft that the server is running. * * @return minimum world height - * @since TODO + * @since 6.6.0 */ int versionMinHeight(); @@ -110,7 +110,7 @@ public interface PlotPlatform

extends LocaleHolder { * Gets the default maximum world height for the version of Minecraft that the server is running. * * @return maximum world height (inclusive) - * @since TODO + * @since 6.6.0 */ int versionMaxHeight(); diff --git a/Core/src/main/java/com/plotsquared/core/generator/HybridUtils.java b/Core/src/main/java/com/plotsquared/core/generator/HybridUtils.java index 41920f58b..0eab11c71 100644 --- a/Core/src/main/java/com/plotsquared/core/generator/HybridUtils.java +++ b/Core/src/main/java/com/plotsquared/core/generator/HybridUtils.java @@ -605,7 +605,7 @@ public class HybridUtils { * @return if successful * @deprecated use {@link HybridUtils#regenerateRoad(PlotArea, BlockVector2, int, QueueCoordinator)} */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.6.0") public boolean regenerateRoad(final PlotArea area, final BlockVector2 chunk, int extend) { return regenerateRoad(area, chunk, extend, null); } @@ -618,7 +618,7 @@ public class HybridUtils { * @param extend How far to extend setting air above the road * @param queueCoordinator {@link QueueCoordinator} to use to set the blocks. Null if one should be created and enqueued * @return if successful - * @since TODO + * @since 6.6.0 */ public boolean regenerateRoad( final PlotArea area, diff --git a/Core/src/main/java/com/plotsquared/core/location/World.java b/Core/src/main/java/com/plotsquared/core/location/World.java index 4473fd1a7..0d019f4a5 100644 --- a/Core/src/main/java/com/plotsquared/core/location/World.java +++ b/Core/src/main/java/com/plotsquared/core/location/World.java @@ -61,7 +61,7 @@ public interface World { /** * Get the min world height. Inclusive. * - * @since TODO + * @since 6.6.0 */ int getMinHeight(); @@ -69,7 +69,7 @@ public interface World { /** * Get the max world height. Inclusive. * - * @since TODO + * @since 6.6.0 */ int getMaxHeight(); diff --git a/Core/src/main/java/com/plotsquared/core/plot/Plot.java b/Core/src/main/java/com/plotsquared/core/plot/Plot.java index bb552e789..8b0e78610 100644 --- a/Core/src/main/java/com/plotsquared/core/plot/Plot.java +++ b/Core/src/main/java/com/plotsquared/core/plot/Plot.java @@ -122,7 +122,7 @@ import static com.plotsquared.core.util.entity.EntityCategories.CAP_VEHICLE; */ public class Plot { - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.6.0") public static final int MAX_HEIGHT = 256; private static final Logger LOGGER = LogManager.getLogger("PlotSquared/" + Plot.class.getSimpleName()); diff --git a/Core/src/main/java/com/plotsquared/core/plot/PlotArea.java b/Core/src/main/java/com/plotsquared/core/plot/PlotArea.java index 378882012..a45451aeb 100644 --- a/Core/src/main/java/com/plotsquared/core/plot/PlotArea.java +++ b/Core/src/main/java/com/plotsquared/core/plot/PlotArea.java @@ -1381,7 +1381,7 @@ public abstract class PlotArea { /** * Get the min height from which P2 will generate blocks. Inclusive. * - * @since TODO + * @since 6.6.0 */ public int getMinGenHeight() { return this.minGenHeight; @@ -1390,7 +1390,7 @@ public abstract class PlotArea { /** * Get the max height to which P2 will generate blocks. Inclusive. * - * @since TODO + * @since 6.6.0 */ public int getMaxGenHeight() { return this.maxGenHeight; diff --git a/Core/src/main/java/com/plotsquared/core/plot/PlotWorld.java b/Core/src/main/java/com/plotsquared/core/plot/PlotWorld.java index dc78223f3..826bf46a1 100644 --- a/Core/src/main/java/com/plotsquared/core/plot/PlotWorld.java +++ b/Core/src/main/java/com/plotsquared/core/plot/PlotWorld.java @@ -125,7 +125,7 @@ public abstract class PlotWorld { /** * @deprecated This method is not meant to be invoked or overridden, with no replacement. */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.6.0") protected boolean canEqual(final Object other) { return other instanceof PlotWorld; } diff --git a/Core/src/main/java/com/plotsquared/core/plot/flag/FlagContainer.java b/Core/src/main/java/com/plotsquared/core/plot/flag/FlagContainer.java index 654acbe0a..63a4f8a56 100644 --- a/Core/src/main/java/com/plotsquared/core/plot/flag/FlagContainer.java +++ b/Core/src/main/java/com/plotsquared/core/plot/flag/FlagContainer.java @@ -391,7 +391,7 @@ public class FlagContainer { /** * @deprecated This method is not meant to be invoked or overridden, with no replacement. */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.6.0") protected boolean canEqual(final Object other) { return other instanceof FlagContainer; } diff --git a/Core/src/main/java/com/plotsquared/core/plot/flag/PlotFlag.java b/Core/src/main/java/com/plotsquared/core/plot/flag/PlotFlag.java index c9cf5b1dc..a7678e756 100644 --- a/Core/src/main/java/com/plotsquared/core/plot/flag/PlotFlag.java +++ b/Core/src/main/java/com/plotsquared/core/plot/flag/PlotFlag.java @@ -221,7 +221,7 @@ public abstract class PlotFlag> { /** * @deprecated This method is not meant to be invoked or overridden, with no replacement. */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.6.0") protected boolean canEqual(final Object other) { return other instanceof PlotFlag; } diff --git a/Core/src/main/java/com/plotsquared/core/queue/LocalChunk.java b/Core/src/main/java/com/plotsquared/core/queue/LocalChunk.java index fc242692e..7c1a0cfbf 100644 --- a/Core/src/main/java/com/plotsquared/core/queue/LocalChunk.java +++ b/Core/src/main/java/com/plotsquared/core/queue/LocalChunk.java @@ -74,7 +74,7 @@ public class LocalChunk { /** * Get the minimum layer position stored (usually -4 or 0). * - * @since TODO + * @since 6.6.0 */ public int getMinSection() { return this.minSection; diff --git a/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java b/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java index 1d3e8ebe2..7853f89eb 100644 --- a/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java +++ b/Core/src/main/java/com/plotsquared/core/queue/QueueCoordinator.java @@ -77,7 +77,7 @@ public abstract class QueueCoordinator { * @return a new {@link ScopedQueueCoordinator} * @deprecated Use {@link ScopedQueueCoordinator#getForChunk(int, int, int, int)} */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.6.0") public ScopedQueueCoordinator getForChunk(int x, int z) { if (getWorld() == null) { return getForChunk(x, z, PlotSquared.platform().versionMinHeight(), PlotSquared.platform().versionMaxHeight()); @@ -91,7 +91,7 @@ public abstract class QueueCoordinator { * @param x chunk x coordinate * @param z chunk z coordinate * @return a new {@link ScopedQueueCoordinator} - * @since TODO + * @since 6.6.0 */ public ScopedQueueCoordinator getForChunk(int x, int z, int minY, int maxY) { int bx = x << 4; diff --git a/Core/src/main/java/com/plotsquared/core/util/RegionManager.java b/Core/src/main/java/com/plotsquared/core/util/RegionManager.java index 87ca3708e..45ed7e4c4 100644 --- a/Core/src/main/java/com/plotsquared/core/util/RegionManager.java +++ b/Core/src/main/java/com/plotsquared/core/util/RegionManager.java @@ -379,7 +379,7 @@ public abstract class RegionManager { }); } - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.6.0") public void setBiome( final CuboidRegion region, final int extendBiome, @@ -398,7 +398,7 @@ public abstract class RegionManager { * @param biome biome to set * @param area {@link PlotArea} in which the biome is being set * @param whenDone task to run when complete - * @since TODO + * @since 6.6.0 */ public void setBiome( final CuboidRegion region, diff --git a/Core/src/main/java/com/plotsquared/core/util/RegionUtil.java b/Core/src/main/java/com/plotsquared/core/util/RegionUtil.java index cc3d704aa..7b86490cd 100644 --- a/Core/src/main/java/com/plotsquared/core/util/RegionUtil.java +++ b/Core/src/main/java/com/plotsquared/core/util/RegionUtil.java @@ -76,7 +76,7 @@ public class RegionUtil { return new CuboidRegion(min, max); } - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.6.0") public static CuboidRegion createRegion(int pos1x, int pos2x, int pos1z, int pos2z) { return createRegion(pos1x, pos2x, 0, 255, pos1z, pos2z); } diff --git a/Core/src/main/java/com/plotsquared/core/util/WorldUtil.java b/Core/src/main/java/com/plotsquared/core/util/WorldUtil.java index 9fa8cddf0..0674c7c82 100644 --- a/Core/src/main/java/com/plotsquared/core/util/WorldUtil.java +++ b/Core/src/main/java/com/plotsquared/core/util/WorldUtil.java @@ -96,7 +96,7 @@ public abstract class WorldUtil { * @param world World name * @param region Region * @param biome Biome - * @since TODO + * @since 6.6.0 */ public static void setBiome(String world, final CuboidRegion region, BiomeType biome) { PlotSquared.platform().worldUtil().setBiomes(world, region, biome); diff --git a/Core/src/main/java/com/plotsquared/core/uuid/UUIDMapping.java b/Core/src/main/java/com/plotsquared/core/uuid/UUIDMapping.java index 13d021d43..4325f67b6 100644 --- a/Core/src/main/java/com/plotsquared/core/uuid/UUIDMapping.java +++ b/Core/src/main/java/com/plotsquared/core/uuid/UUIDMapping.java @@ -71,7 +71,7 @@ public class UUIDMapping { /** * @deprecated This method is not meant to be invoked or overridden, with no replacement. */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "6.6.0") protected boolean canEqual(final Object other) { return other instanceof UUIDMapping; } diff --git a/build.gradle.kts b/build.gradle.kts index 5121c9f72..4d099a4ac 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -18,7 +18,7 @@ plugins { idea } -version = "6.5.2-SNAPSHOT" +version = "6.6.0" allprojects { group = "com.plotsquared"