Skip to content

Commit

Permalink
Release 2.11.0
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Brandes <mc.cache@web.de>
  • Loading branch information
NotMyFault committed Jun 30, 2024
1 parent 04fb55d commit c82ab99
Show file tree
Hide file tree
Showing 19 changed files with 60 additions and 60 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ logger.lifecycle("""
*******************************************
""")

var rootVersion by extra("2.10.1")
var rootVersion by extra("2.11.0")
var snapshot by extra("SNAPSHOT")
var revision: String by extra("")
var buildNumber by extra("")
Expand All @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ public void save(File file) {
/**
* Indicates that a field's default value should match another input if the config is otherwise already generated
*
* @since TODO
* @since 2.11.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public BlockMaskBuilder() {
/**
* Create a new instance with a given {@link ParserContext} to use if parsing regex
*
* @since TODO
* @since 2.11.0
*/
public BlockMaskBuilder(ParserContext context) {
this(new long[BlockTypes.size()][], context);
Expand All @@ -79,7 +79,7 @@ protected BlockMaskBuilder(long[][] bitSets) {
/**
* Create a new instance with a given {@link ParserContext} to use if parsing regex
*
* @since TODO
* @since 2.11.0
*/
protected BlockMaskBuilder(long[][] bitSets, ParserContext context) {
this.bitSets = bitSets;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1352,7 +1352,7 @@ public void setTool(ItemType item, @Nullable Tool tool) throws InvalidToolBindEx
* @param item the item type
* @param tool the tool to set, which can be {@code null}
* @throws InvalidToolBindException if the item can't be bound to that item
* @since TODO
* @since 2.11.0
*/
public void setTool(BaseItem item, @Nullable Tool tool) throws InvalidToolBindException {
if (item.getType().hasBlockType()) {
Expand Down Expand Up @@ -1919,7 +1919,7 @@ public String getNavWandItem() {
* Get the preferred wand item for this user, or {@code null} to use the default
*
* @return item id of wand item, or {@code null}
* @since TODO
* @since 2.11.0
*/
public BaseItem getWandBaseItem() {
return wandItem == null ? null : new BaseItem(wandItem.getType(), wandItem.getNbtReference());
Expand All @@ -1929,7 +1929,7 @@ public BaseItem getWandBaseItem() {
* Get the preferred navigation wand item for this user, or {@code null} to use the default
*
* @return item id of nav wand item, or {@code null}
* @since TODO
* @since 2.11.0
*/
public BaseItem getNavWandBaseItem() {
return navWandItem == null ? null : new BaseItem(navWandItem.getType(), navWandItem.getNbtReference());
Expand Down
10 changes: 5 additions & 5 deletions worldedit-core/src/main/java/com/sk89q/worldedit/WorldEdit.java
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ public void checkMaxBrushRadius(double radius) throws MaxBrushRadiusException {
/**
* @deprecated Use {@link WorldEdit#checkMaxBrushRadius(Expression, Actor)}
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public void checkMaxBrushRadius(Expression radius) throws MaxBrushRadiusException {
double val = radius.evaluate();
checkArgument(val >= 0, "Radius must be a positive number.");
Expand All @@ -485,7 +485,7 @@ public void checkMaxBrushRadius(Expression radius) throws MaxBrushRadiusExceptio
* @param radius Radius to check
* @param actor Actor to check for
* @throws MaxRadiusException If given radius larger than allowed
* @since TODO
* @since 2.11.0
*/
public void checkMaxRadius(double radius, Actor actor) {
int max = actor.getLimit().MAX_RADIUS;
Expand All @@ -500,7 +500,7 @@ public void checkMaxRadius(double radius, Actor actor) {
* @param radius Radius to check
* @param actor Actor to check for
* @throws MaxRadiusException If given radius larger than allowed
* @since TODO
* @since 2.11.0
*/
public void checkMaxBrushRadius(double radius, Actor actor) {
int max = actor.getLimit().MAX_BRUSH_RADIUS;
Expand All @@ -515,7 +515,7 @@ public void checkMaxBrushRadius(double radius, Actor actor) {
* @param expression Radius to check
* @param actor Actor to check for
* @throws BrushRadiusLimitException If given radius larger than allowed
* @since TODO
* @since 2.11.0
*/
public void checkMaxBrushRadius(Expression expression, Actor actor) {
double radius = expression.evaluate();
Expand All @@ -532,7 +532,7 @@ public void checkMaxBrushRadius(Expression expression, Actor actor) {
* @param position Position to check
* @param extent Extent to check in
* @throws OutsideWorldBoundsException If the position is outside the world height limits
* @since TODO
* @since 2.11.0
*/
public void checkExtentHeightBounds(BlockVector3 position, Extent extent) {
if (position.y() < extent.getMinY() || position.y() > extent.getMaxY()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ private void createCopy(
aliases = {"/download"},
desc = "Downloads your clipboard through the configured web interface"
)
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
@CommandPermissions({"worldedit.clipboard.download"})
public void download(
final Actor actor,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public record BiomeChange3D(BlockVector3 position, BiomeType previous, BiomeType
* @return the position
* @deprecated Use {@link #position()}.
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public BlockVector3 getPosition() {
return position;
}
Expand All @@ -67,7 +67,7 @@ public BlockVector3 getPosition() {
* @return the previous biome
* @deprecated Use {@link #previous()}.
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public BiomeType getPrevious() {
return previous;
}
Expand All @@ -78,7 +78,7 @@ public BiomeType getPrevious() {
* @return the current biome
* @deprecated Use {@link #current()}.
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public BiomeType getCurrent() {
return current;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public <BP extends BlockStateHolder<BP>, BC extends BlockStateHolder<BC>> BlockC
* @return the position
* @deprecated use {@link #position()}
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public BlockVector3 getPosition() {
return position;
}
Expand All @@ -82,7 +82,7 @@ public BlockVector3 getPosition() {
* @return the previous block
* @deprecated use {@link #previous()}
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public BaseBlock getPrevious() {
return previous;
}
Expand All @@ -93,7 +93,7 @@ public BaseBlock getPrevious() {
* @return the current block
* @deprecated use {@link #current()}
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public BaseBlock getCurrent() {
return current;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ protected AbstractFactory(WorldEdit worldEdit, InputParser<E> defaultParser) {
* @param worldEdit the WorldEdit instance
* @param defaultParser the parser to fall back to
* @param richParser the rich parser
* @since TODO
* @since 2.11.0
*/
protected AbstractFactory(WorldEdit worldEdit, InputParser<E> defaultParser, FaweParser<E> richParser) {
checkNotNull(worldEdit);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public MutableBlockVector2 mutZ(int z) {
* Get the X coordinate.
*
* @return the x coordinate
* @since TODO
* @since 2.11.0
*/
public int x() {
return x;
Expand All @@ -134,7 +134,7 @@ public int x() {
* @return the x coordinate
* @deprecated use {@link #x()} instead
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public int getX() {
return x;
}
Expand All @@ -145,7 +145,7 @@ public int getX() {
* @return the x coordinate
* @deprecated use {@link #x()} instead
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public int getBlockX() {
return x;
}
Expand All @@ -164,7 +164,7 @@ public BlockVector2 withX(int x) {
* Get the Z coordinate.
*
* @return the z coordinate
* @since TODO
* @since 2.11.0
*/
public int z() {
return z;
Expand All @@ -176,7 +176,7 @@ public int z() {
* @return the z coordinate
* @deprecated use {@link #z()} instead
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public int getZ() {
return z;
}
Expand All @@ -187,7 +187,7 @@ public int getZ() {
* @return the z coordinate
* @deprecated use {@link #z()} instead
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public int getBlockZ() {
return z;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ public BlockVector3 toImmutable() {
* Get the X coordinate.
*
* @return the x coordinate
* @since TODO
* @since 2.11.0
*/
public abstract int x();
//FAWE end
Expand All @@ -185,7 +185,7 @@ public BlockVector3 toImmutable() {
* @return the x coordinate
* @deprecated use {@link #x()} instead
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public int getX() {
return this.x(); //FAWE - access abstract getter instead of local field
}
Expand All @@ -196,7 +196,7 @@ public int getX() {
* @return the x coordinate
* @deprecated use {@link #x()} instead
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public int getBlockX() {
return this.x(); //FAWE - access abstract getter instead of local field
}
Expand All @@ -219,7 +219,7 @@ public BlockVector3 withX(int x) {
* Get the Y coordinate.
*
* @return the y coordinate
* @since TODO
* @since 2.11.0
*/
public abstract int y();
//FAWE end
Expand All @@ -230,7 +230,7 @@ public BlockVector3 withX(int x) {
* @return the y coordinate
* @deprecated use {@link #y()} instead
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public int getY() {
return this.y(); //FAWE - access abstract getter instead of local field
}
Expand All @@ -241,7 +241,7 @@ public int getY() {
* @return the y coordinate
* @deprecated use {@link #y()} instead
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public int getBlockY() {
return this.y(); //FAWE - access abstract getter instead of local field
}
Expand All @@ -263,7 +263,7 @@ public BlockVector3 withY(int y) {
* Get the Z coordinate.
*
* @return the Z coordinate
* @since TODO
* @since 2.11.0
*/
public abstract int z();
//FAWE end
Expand All @@ -274,7 +274,7 @@ public BlockVector3 withY(int y) {
* @return the z coordinate
* @deprecated use {@link #z()} instead
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public int getZ() {
return this.z(); //FAWE - access abstract getter instead of local field
}
Expand All @@ -285,7 +285,7 @@ public int getZ() {
* @return the z coordinate
* @deprecated use {@link #z()} instead
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public int getBlockZ() {
return this.z(); //FAWE - access abstract getter instead of local field
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public static Vector2 at(double x, double z) {
* @return the x coordinate
* @deprecated use {@link #x()} instead
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public double getX() {
return x;
}
Expand All @@ -66,7 +66,7 @@ public double getX() {
* Get the X coordinate, aligned to the block grid.
*
* @return the block-aligned x coordinate
* @since TODO
* @since 2.11.0
*/
public int blockX() {
return MathMan.roundInt(x);
Expand All @@ -86,7 +86,7 @@ public Vector2 withX(double x) {
* Get the Z coordinate, aligned to the block grid.
*
* @return the block-aligned z coordinate
* @since TODO
* @since 2.11.0
*/
public int blockZ() {
return MathMan.roundInt(z);
Expand All @@ -98,7 +98,7 @@ public int blockZ() {
* @return the z coordinate
* @deprecated use {@link #z()} instead
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.11.0")
public double getZ() {
return z;
}
Expand Down
Loading

0 comments on commit c82ab99

Please sign in to comment.