Release 2.9.2

Signed-off-by: Alexander Brandes <mc.cache@web.de>
This commit is contained in:
Alexander Brandes 2024-04-04 21:56:07 +02:00
parent 778c212e85
commit 5e10c98915
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
10 changed files with 15 additions and 15 deletions

View File

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

View File

@ -93,7 +93,7 @@ public class ScatterBrush implements Brush {
/** /**
* @deprecated Use {@link ScatterBrush#finish(EditSession, BlockVector3Set, BlockVector3, Pattern, double)} * @deprecated Use {@link ScatterBrush#finish(EditSession, BlockVector3Set, BlockVector3, Pattern, double)}
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.9.2")
public void finish(EditSession editSession, LocalBlockVectorSet placed, BlockVector3 pos, Pattern pattern, double size) { public void finish(EditSession editSession, LocalBlockVectorSet placed, BlockVector3 pos, Pattern pattern, double size) {
finish(editSession, (BlockVector3Set) placed, pos, pattern, size); finish(editSession, (BlockVector3Set) placed, pos, pattern, size);
} }
@ -101,7 +101,7 @@ public class ScatterBrush implements Brush {
/** /**
* Complete the scatter brush process. * Complete the scatter brush process.
* *
* @since TODO * @since 2.9.2
*/ */
public void finish(EditSession editSession, BlockVector3Set placed, BlockVector3 pos, Pattern pattern, double size) { public void finish(EditSession editSession, BlockVector3Set placed, BlockVector3 pos, Pattern pattern, double size) {
} }
@ -118,7 +118,7 @@ public class ScatterBrush implements Brush {
/** /**
* @deprecated Use {@link ScatterBrush#apply(EditSession, BlockVector3Set, BlockVector3, Pattern, double)} * @deprecated Use {@link ScatterBrush#apply(EditSession, BlockVector3Set, BlockVector3, Pattern, double)}
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.9.2")
public void apply(EditSession editSession, LocalBlockVectorSet placed, BlockVector3 pt, Pattern p, double size) throws public void apply(EditSession editSession, LocalBlockVectorSet placed, BlockVector3 pt, Pattern p, double size) throws
MaxChangedBlocksException { MaxChangedBlocksException {
apply(editSession, (BlockVector3Set) placed, pt, p, size); apply(editSession, (BlockVector3Set) placed, pt, p, size);
@ -127,7 +127,7 @@ public class ScatterBrush implements Brush {
/** /**
* Apply the scatter brush to a given position * Apply the scatter brush to a given position
* *
* @since TODO * @since 2.9.2
*/ */
public void apply(EditSession editSession, BlockVector3Set placed, BlockVector3 pt, Pattern p, double size) throws public void apply(EditSession editSession, BlockVector3Set placed, BlockVector3 pt, Pattern p, double size) throws
MaxChangedBlocksException { MaxChangedBlocksException {

View File

@ -15,7 +15,7 @@ import com.sk89q.worldedit.world.block.BlockStateHolder;
/** /**
* @deprecated Unused internal, will be removed in v3 * @deprecated Unused internal, will be removed in v3
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.9.2")
public class TransformExtent extends BlockTransformExtent { public class TransformExtent extends BlockTransformExtent {
private final MutableVector3 mutable1 = new MutableVector3(); private final MutableVector3 mutable1 = new MutableVector3();

View File

@ -15,7 +15,7 @@ import static java.lang.Math.floorDiv;
* @deprecated replaced by {@link com.sk89q.worldedit.function.pattern.RandomPattern} * @deprecated replaced by {@link com.sk89q.worldedit.function.pattern.RandomPattern}
* combined with {@link com.fastasyncworldedit.core.math.random.Linear2DRandom}. * combined with {@link com.fastasyncworldedit.core.math.random.Linear2DRandom}.
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.9.2")
public class Linear2DBlockPattern extends AbstractPattern { public class Linear2DBlockPattern extends AbstractPattern {
private final Pattern[] patternsArray; private final Pattern[] patternsArray;

View File

@ -15,7 +15,7 @@ import static java.lang.Math.floorDiv;
* @deprecated replaced by {@link com.sk89q.worldedit.function.pattern.RandomPattern} * @deprecated replaced by {@link com.sk89q.worldedit.function.pattern.RandomPattern}
* combined with {@link com.fastasyncworldedit.core.math.random.Linear3DRandom}. * combined with {@link com.fastasyncworldedit.core.math.random.Linear3DRandom}.
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.9.2")
public class Linear3DBlockPattern extends AbstractPattern { public class Linear3DBlockPattern extends AbstractPattern {
private final Pattern[] patternsArray; private final Pattern[] patternsArray;

View File

@ -6,7 +6,7 @@ import static java.lang.Math.floorDiv;
/** /**
* A {@link SimpleRandom} that deterministically maps coordinates * A {@link SimpleRandom} that deterministically maps coordinates
* to values. * to values.
* @since TODO * @since 2.9.2
*/ */
public class Linear2DRandom implements SimpleRandom { public class Linear2DRandom implements SimpleRandom {
private final int xScale; private final int xScale;

View File

@ -5,7 +5,7 @@ import static java.lang.Math.floorDiv;
/** /**
* A {@link SimpleRandom} that deterministically maps coordinates * A {@link SimpleRandom} that deterministically maps coordinates
* to values. * to values.
* @since TODO * @since 2.9.2
*/ */
public class Linear3DRandom implements SimpleRandom { public class Linear3DRandom implements SimpleRandom {

View File

@ -59,7 +59,7 @@ public interface BlockVector3Set extends Set<BlockVector3> {
* *
* @param x x offset * @param x x offset
* @param z z offset * @param z z offset
* @since TODO * @since 2.9.2
*/ */
void setOffset(int x, int z); void setOffset(int x, int z);
@ -70,7 +70,7 @@ public interface BlockVector3Set extends Set<BlockVector3> {
* @param x x offset * @param x x offset
* @param y y offset * @param y y offset
* @param z z offset * @param z z offset
* @since TODO * @since 2.9.2
*/ */
void setOffset(int x, int y, int z); void setOffset(int x, int y, int z);
@ -81,7 +81,7 @@ public interface BlockVector3Set extends Set<BlockVector3> {
* @param y y radius center * @param y y radius center
* @param z z radius center * @param z z radius center
* @return if radius is contained by the set * @return if radius is contained by the set
* @since TODO * @since 2.9.2
*/ */
boolean containsRadius(int x, int y, int z, int radius); boolean containsRadius(int x, int y, int z, int radius);

View File

@ -79,7 +79,7 @@ public interface Pattern extends Filter {
* Get the likely maximum size of the volume this pattern will affect * Get the likely maximum size of the volume this pattern will affect
* *
* @return Pattern size * @return Pattern size
* @since TODO * @since 2.9.2
*/ */
default BlockVector3 size() { default BlockVector3 size() {
return BlockVector3.ONE; return BlockVector3.ONE;

View File

@ -65,7 +65,7 @@ public enum RegionSelectorType {
* Get a {@link RegionSelectorType} for the given {@link RegionSelector} * Get a {@link RegionSelectorType} for the given {@link RegionSelector}
* *
* @param selector Region selector to get type enum for * @param selector Region selector to get type enum for
* @since TODO * @since 2.9.2
*/ */
@Nullable @Nullable
public static RegionSelectorType getForSelector(RegionSelector selector) { public static RegionSelectorType getForSelector(RegionSelector selector) {