mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-25 12:25:46 +01:00
build: Release 6.6.0
This commit is contained in:
parent
dc13f2565f
commit
fd4a542062
@ -67,7 +67,7 @@ public class GenChunk extends ScopedQueueCoordinator {
|
|||||||
* @param minY minimum world Y, inclusive
|
* @param minY minimum world Y, inclusive
|
||||||
* @param maxY maximum world Y, inclusive
|
* @param maxY maximum world Y, inclusive
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 6.6.0
|
||||||
*/
|
*/
|
||||||
public GenChunk(int minY, int maxY) {
|
public GenChunk(int minY, int maxY) {
|
||||||
super(null, Location.at("", 0, minY, 0), Location.at("", 15, maxY, 15));
|
super(null, Location.at("", 0, minY, 0), Location.at("", 15, maxY, 15));
|
||||||
|
@ -88,7 +88,7 @@ public class BukkitWorld implements World<org.bukkit.World> {
|
|||||||
/**
|
/**
|
||||||
* Get the min world height from a Bukkit {@link org.bukkit.World}. Inclusive
|
* 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) {
|
public static int getMinWorldHeight(org.bukkit.World world) {
|
||||||
return HAS_MIN_Y ? world.getMinHeight() : 0;
|
return HAS_MIN_Y ? world.getMinHeight() : 0;
|
||||||
@ -97,7 +97,7 @@ public class BukkitWorld implements World<org.bukkit.World> {
|
|||||||
/**
|
/**
|
||||||
* Get the max world height from a Bukkit {@link org.bukkit.World}. Exclusive
|
* 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) {
|
public static int getMaxWorldHeight(org.bukkit.World world) {
|
||||||
return HAS_MIN_Y ? world.getMaxHeight() : 256;
|
return HAS_MIN_Y ? world.getMaxHeight() : 256;
|
||||||
@ -143,7 +143,7 @@ public class BukkitWorld implements World<org.bukkit.World> {
|
|||||||
/**
|
/**
|
||||||
* @deprecated This method is not meant to be invoked or overridden, with no replacement.
|
* @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) {
|
protected boolean canEqual(final Object other) {
|
||||||
return other instanceof BukkitWorld;
|
return other instanceof BukkitWorld;
|
||||||
}
|
}
|
||||||
|
@ -102,7 +102,7 @@ public interface PlotPlatform<P> extends LocaleHolder {
|
|||||||
* Gets the default minimum world height for the version of Minecraft that the server is running.
|
* Gets the default minimum world height for the version of Minecraft that the server is running.
|
||||||
*
|
*
|
||||||
* @return minimum world height
|
* @return minimum world height
|
||||||
* @since TODO
|
* @since 6.6.0
|
||||||
*/
|
*/
|
||||||
int versionMinHeight();
|
int versionMinHeight();
|
||||||
|
|
||||||
@ -110,7 +110,7 @@ public interface PlotPlatform<P> extends LocaleHolder {
|
|||||||
* Gets the default maximum world height for the version of Minecraft that the server is running.
|
* Gets the default maximum world height for the version of Minecraft that the server is running.
|
||||||
*
|
*
|
||||||
* @return maximum world height (inclusive)
|
* @return maximum world height (inclusive)
|
||||||
* @since TODO
|
* @since 6.6.0
|
||||||
*/
|
*/
|
||||||
int versionMaxHeight();
|
int versionMaxHeight();
|
||||||
|
|
||||||
|
@ -605,7 +605,7 @@ public class HybridUtils {
|
|||||||
* @return if successful
|
* @return if successful
|
||||||
* @deprecated use {@link HybridUtils#regenerateRoad(PlotArea, BlockVector2, int, QueueCoordinator)}
|
* @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) {
|
public boolean regenerateRoad(final PlotArea area, final BlockVector2 chunk, int extend) {
|
||||||
return regenerateRoad(area, chunk, extend, null);
|
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 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
|
* @param queueCoordinator {@link QueueCoordinator} to use to set the blocks. Null if one should be created and enqueued
|
||||||
* @return if successful
|
* @return if successful
|
||||||
* @since TODO
|
* @since 6.6.0
|
||||||
*/
|
*/
|
||||||
public boolean regenerateRoad(
|
public boolean regenerateRoad(
|
||||||
final PlotArea area,
|
final PlotArea area,
|
||||||
|
@ -61,7 +61,7 @@ public interface World<T> {
|
|||||||
/**
|
/**
|
||||||
* Get the min world height. Inclusive.
|
* Get the min world height. Inclusive.
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 6.6.0
|
||||||
*/
|
*/
|
||||||
int getMinHeight();
|
int getMinHeight();
|
||||||
|
|
||||||
@ -69,7 +69,7 @@ public interface World<T> {
|
|||||||
/**
|
/**
|
||||||
* Get the max world height. Inclusive.
|
* Get the max world height. Inclusive.
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 6.6.0
|
||||||
*/
|
*/
|
||||||
int getMaxHeight();
|
int getMaxHeight();
|
||||||
|
|
||||||
|
@ -122,7 +122,7 @@ import static com.plotsquared.core.util.entity.EntityCategories.CAP_VEHICLE;
|
|||||||
*/
|
*/
|
||||||
public class Plot {
|
public class Plot {
|
||||||
|
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "6.6.0")
|
||||||
public static final int MAX_HEIGHT = 256;
|
public static final int MAX_HEIGHT = 256;
|
||||||
|
|
||||||
private static final Logger LOGGER = LogManager.getLogger("PlotSquared/" + Plot.class.getSimpleName());
|
private static final Logger LOGGER = LogManager.getLogger("PlotSquared/" + Plot.class.getSimpleName());
|
||||||
|
@ -1381,7 +1381,7 @@ public abstract class PlotArea {
|
|||||||
/**
|
/**
|
||||||
* Get the min height from which P2 will generate blocks. Inclusive.
|
* Get the min height from which P2 will generate blocks. Inclusive.
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 6.6.0
|
||||||
*/
|
*/
|
||||||
public int getMinGenHeight() {
|
public int getMinGenHeight() {
|
||||||
return this.minGenHeight;
|
return this.minGenHeight;
|
||||||
@ -1390,7 +1390,7 @@ public abstract class PlotArea {
|
|||||||
/**
|
/**
|
||||||
* Get the max height to which P2 will generate blocks. Inclusive.
|
* Get the max height to which P2 will generate blocks. Inclusive.
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 6.6.0
|
||||||
*/
|
*/
|
||||||
public int getMaxGenHeight() {
|
public int getMaxGenHeight() {
|
||||||
return this.maxGenHeight;
|
return this.maxGenHeight;
|
||||||
|
@ -125,7 +125,7 @@ public abstract class PlotWorld {
|
|||||||
/**
|
/**
|
||||||
* @deprecated This method is not meant to be invoked or overridden, with no replacement.
|
* @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) {
|
protected boolean canEqual(final Object other) {
|
||||||
return other instanceof PlotWorld;
|
return other instanceof PlotWorld;
|
||||||
}
|
}
|
||||||
|
@ -391,7 +391,7 @@ public class FlagContainer {
|
|||||||
/**
|
/**
|
||||||
* @deprecated This method is not meant to be invoked or overridden, with no replacement.
|
* @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) {
|
protected boolean canEqual(final Object other) {
|
||||||
return other instanceof FlagContainer;
|
return other instanceof FlagContainer;
|
||||||
}
|
}
|
||||||
|
@ -221,7 +221,7 @@ public abstract class PlotFlag<T, F extends PlotFlag<T, F>> {
|
|||||||
/**
|
/**
|
||||||
* @deprecated This method is not meant to be invoked or overridden, with no replacement.
|
* @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) {
|
protected boolean canEqual(final Object other) {
|
||||||
return other instanceof PlotFlag;
|
return other instanceof PlotFlag;
|
||||||
}
|
}
|
||||||
|
@ -74,7 +74,7 @@ public class LocalChunk {
|
|||||||
/**
|
/**
|
||||||
* Get the minimum layer position stored (usually -4 or 0).
|
* Get the minimum layer position stored (usually -4 or 0).
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 6.6.0
|
||||||
*/
|
*/
|
||||||
public int getMinSection() {
|
public int getMinSection() {
|
||||||
return this.minSection;
|
return this.minSection;
|
||||||
|
@ -77,7 +77,7 @@ public abstract class QueueCoordinator {
|
|||||||
* @return a new {@link ScopedQueueCoordinator}
|
* @return a new {@link ScopedQueueCoordinator}
|
||||||
* @deprecated Use {@link ScopedQueueCoordinator#getForChunk(int, int, int, int)}
|
* @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) {
|
public ScopedQueueCoordinator getForChunk(int x, int z) {
|
||||||
if (getWorld() == null) {
|
if (getWorld() == null) {
|
||||||
return getForChunk(x, z, PlotSquared.platform().versionMinHeight(), PlotSquared.platform().versionMaxHeight());
|
return getForChunk(x, z, PlotSquared.platform().versionMinHeight(), PlotSquared.platform().versionMaxHeight());
|
||||||
@ -91,7 +91,7 @@ public abstract class QueueCoordinator {
|
|||||||
* @param x chunk x coordinate
|
* @param x chunk x coordinate
|
||||||
* @param z chunk z coordinate
|
* @param z chunk z coordinate
|
||||||
* @return a new {@link ScopedQueueCoordinator}
|
* @return a new {@link ScopedQueueCoordinator}
|
||||||
* @since TODO
|
* @since 6.6.0
|
||||||
*/
|
*/
|
||||||
public ScopedQueueCoordinator getForChunk(int x, int z, int minY, int maxY) {
|
public ScopedQueueCoordinator getForChunk(int x, int z, int minY, int maxY) {
|
||||||
int bx = x << 4;
|
int bx = x << 4;
|
||||||
|
@ -379,7 +379,7 @@ public abstract class RegionManager {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "6.6.0")
|
||||||
public void setBiome(
|
public void setBiome(
|
||||||
final CuboidRegion region,
|
final CuboidRegion region,
|
||||||
final int extendBiome,
|
final int extendBiome,
|
||||||
@ -398,7 +398,7 @@ public abstract class RegionManager {
|
|||||||
* @param biome biome to set
|
* @param biome biome to set
|
||||||
* @param area {@link PlotArea} in which the biome is being set
|
* @param area {@link PlotArea} in which the biome is being set
|
||||||
* @param whenDone task to run when complete
|
* @param whenDone task to run when complete
|
||||||
* @since TODO
|
* @since 6.6.0
|
||||||
*/
|
*/
|
||||||
public void setBiome(
|
public void setBiome(
|
||||||
final CuboidRegion region,
|
final CuboidRegion region,
|
||||||
|
@ -76,7 +76,7 @@ public class RegionUtil {
|
|||||||
return new CuboidRegion(min, max);
|
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) {
|
public static CuboidRegion createRegion(int pos1x, int pos2x, int pos1z, int pos2z) {
|
||||||
return createRegion(pos1x, pos2x, 0, 255, pos1z, pos2z);
|
return createRegion(pos1x, pos2x, 0, 255, pos1z, pos2z);
|
||||||
}
|
}
|
||||||
|
@ -96,7 +96,7 @@ public abstract class WorldUtil {
|
|||||||
* @param world World name
|
* @param world World name
|
||||||
* @param region Region
|
* @param region Region
|
||||||
* @param biome Biome
|
* @param biome Biome
|
||||||
* @since TODO
|
* @since 6.6.0
|
||||||
*/
|
*/
|
||||||
public static void setBiome(String world, final CuboidRegion region, BiomeType biome) {
|
public static void setBiome(String world, final CuboidRegion region, BiomeType biome) {
|
||||||
PlotSquared.platform().worldUtil().setBiomes(world, region, biome);
|
PlotSquared.platform().worldUtil().setBiomes(world, region, biome);
|
||||||
|
@ -71,7 +71,7 @@ public class UUIDMapping {
|
|||||||
/**
|
/**
|
||||||
* @deprecated This method is not meant to be invoked or overridden, with no replacement.
|
* @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) {
|
protected boolean canEqual(final Object other) {
|
||||||
return other instanceof UUIDMapping;
|
return other instanceof UUIDMapping;
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@ plugins {
|
|||||||
idea
|
idea
|
||||||
}
|
}
|
||||||
|
|
||||||
version = "6.5.2-SNAPSHOT"
|
version = "6.6.0"
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
group = "com.plotsquared"
|
group = "com.plotsquared"
|
||||||
|
Loading…
Reference in New Issue
Block a user