Release 2.11.0

Signed-off-by: Alexander Brandes <mc.cache@web.de>
This commit is contained in:
Alexander Brandes 2024-06-30 11:14:40 +02:00
parent 04fb55d491
commit c82ab99a22
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
19 changed files with 60 additions and 60 deletions

View File

@ -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 snapshot by extra("SNAPSHOT")
var revision: String by extra("") var revision: String by extra("")
var buildNumber by extra("") var buildNumber by extra("")
@ -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

@ -224,7 +224,7 @@ public class Config {
/** /**
* Indicates that a field's default value should match another input if the config is otherwise already generated * 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) @Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.FIELD}) @Target({ElementType.FIELD})

View File

@ -65,7 +65,7 @@ public class BlockMaskBuilder {
/** /**
* Create a new instance with a given {@link ParserContext} to use if parsing regex * Create a new instance with a given {@link ParserContext} to use if parsing regex
* *
* @since TODO * @since 2.11.0
*/ */
public BlockMaskBuilder(ParserContext context) { public BlockMaskBuilder(ParserContext context) {
this(new long[BlockTypes.size()][], context); this(new long[BlockTypes.size()][], context);
@ -79,7 +79,7 @@ public class BlockMaskBuilder {
/** /**
* Create a new instance with a given {@link ParserContext} to use if parsing regex * 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) { protected BlockMaskBuilder(long[][] bitSets, ParserContext context) {
this.bitSets = bitSets; this.bitSets = bitSets;

View File

@ -1352,7 +1352,7 @@ public class LocalSession implements TextureHolder {
* @param item the item type * @param item the item type
* @param tool the tool to set, which can be {@code null} * @param tool the tool to set, which can be {@code null}
* @throws InvalidToolBindException if the item can't be bound to that item * @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 { public void setTool(BaseItem item, @Nullable Tool tool) throws InvalidToolBindException {
if (item.getType().hasBlockType()) { if (item.getType().hasBlockType()) {
@ -1919,7 +1919,7 @@ public class LocalSession implements TextureHolder {
* Get the preferred wand item for this user, or {@code null} to use the default * Get the preferred wand item for this user, or {@code null} to use the default
* *
* @return item id of wand item, or {@code null} * @return item id of wand item, or {@code null}
* @since TODO * @since 2.11.0
*/ */
public BaseItem getWandBaseItem() { public BaseItem getWandBaseItem() {
return wandItem == null ? null : new BaseItem(wandItem.getType(), wandItem.getNbtReference()); return wandItem == null ? null : new BaseItem(wandItem.getType(), wandItem.getNbtReference());
@ -1929,7 +1929,7 @@ public class LocalSession implements TextureHolder {
* Get the preferred navigation wand item for this user, or {@code null} to use the default * 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} * @return item id of nav wand item, or {@code null}
* @since TODO * @since 2.11.0
*/ */
public BaseItem getNavWandBaseItem() { public BaseItem getNavWandBaseItem() {
return navWandItem == null ? null : new BaseItem(navWandItem.getType(), navWandItem.getNbtReference()); return navWandItem == null ? null : new BaseItem(navWandItem.getType(), navWandItem.getNbtReference());

View File

@ -468,7 +468,7 @@ public final class WorldEdit {
/** /**
* @deprecated Use {@link WorldEdit#checkMaxBrushRadius(Expression, Actor)} * @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 { public void checkMaxBrushRadius(Expression radius) throws MaxBrushRadiusException {
double val = radius.evaluate(); double val = radius.evaluate();
checkArgument(val >= 0, "Radius must be a positive number."); checkArgument(val >= 0, "Radius must be a positive number.");
@ -485,7 +485,7 @@ public final class WorldEdit {
* @param radius Radius to check * @param radius Radius to check
* @param actor Actor to check for * @param actor Actor to check for
* @throws MaxRadiusException If given radius larger than allowed * @throws MaxRadiusException If given radius larger than allowed
* @since TODO * @since 2.11.0
*/ */
public void checkMaxRadius(double radius, Actor actor) { public void checkMaxRadius(double radius, Actor actor) {
int max = actor.getLimit().MAX_RADIUS; int max = actor.getLimit().MAX_RADIUS;
@ -500,7 +500,7 @@ public final class WorldEdit {
* @param radius Radius to check * @param radius Radius to check
* @param actor Actor to check for * @param actor Actor to check for
* @throws MaxRadiusException If given radius larger than allowed * @throws MaxRadiusException If given radius larger than allowed
* @since TODO * @since 2.11.0
*/ */
public void checkMaxBrushRadius(double radius, Actor actor) { public void checkMaxBrushRadius(double radius, Actor actor) {
int max = actor.getLimit().MAX_BRUSH_RADIUS; int max = actor.getLimit().MAX_BRUSH_RADIUS;
@ -515,7 +515,7 @@ public final class WorldEdit {
* @param expression Radius to check * @param expression Radius to check
* @param actor Actor to check for * @param actor Actor to check for
* @throws BrushRadiusLimitException If given radius larger than allowed * @throws BrushRadiusLimitException If given radius larger than allowed
* @since TODO * @since 2.11.0
*/ */
public void checkMaxBrushRadius(Expression expression, Actor actor) { public void checkMaxBrushRadius(Expression expression, Actor actor) {
double radius = expression.evaluate(); double radius = expression.evaluate();
@ -532,7 +532,7 @@ public final class WorldEdit {
* @param position Position to check * @param position Position to check
* @param extent Extent to check in * @param extent Extent to check in
* @throws OutsideWorldBoundsException If the position is outside the world height limits * @throws OutsideWorldBoundsException If the position is outside the world height limits
* @since TODO * @since 2.11.0
*/ */
public void checkExtentHeightBounds(BlockVector3 position, Extent extent) { public void checkExtentHeightBounds(BlockVector3 position, Extent extent) {
if (position.y() < extent.getMinY() || position.y() > extent.getMaxY()) { if (position.y() < extent.getMinY() || position.y() > extent.getMaxY()) {

View File

@ -340,7 +340,7 @@ public class ClipboardCommands {
aliases = {"/download"}, aliases = {"/download"},
desc = "Downloads your clipboard through the configured web interface" 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"}) @CommandPermissions({"worldedit.clipboard.download"})
public void download( public void download(
final Actor actor, final Actor actor,

View File

@ -56,7 +56,7 @@ public record BiomeChange3D(BlockVector3 position, BiomeType previous, BiomeType
* @return the position * @return the position
* @deprecated Use {@link #position()}. * @deprecated Use {@link #position()}.
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public BlockVector3 getPosition() { public BlockVector3 getPosition() {
return position; return position;
} }
@ -67,7 +67,7 @@ public record BiomeChange3D(BlockVector3 position, BiomeType previous, BiomeType
* @return the previous biome * @return the previous biome
* @deprecated Use {@link #previous()}. * @deprecated Use {@link #previous()}.
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public BiomeType getPrevious() { public BiomeType getPrevious() {
return previous; return previous;
} }
@ -78,7 +78,7 @@ public record BiomeChange3D(BlockVector3 position, BiomeType previous, BiomeType
* @return the current biome * @return the current biome
* @deprecated Use {@link #current()}. * @deprecated Use {@link #current()}.
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public BiomeType getCurrent() { public BiomeType getCurrent() {
return current; return current;
} }

View File

@ -71,7 +71,7 @@ public record BlockChange(BlockVector3 position, BaseBlock previous, BaseBlock c
* @return the position * @return the position
* @deprecated use {@link #position()} * @deprecated use {@link #position()}
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public BlockVector3 getPosition() { public BlockVector3 getPosition() {
return position; return position;
} }
@ -82,7 +82,7 @@ public record BlockChange(BlockVector3 position, BaseBlock previous, BaseBlock c
* @return the previous block * @return the previous block
* @deprecated use {@link #previous()} * @deprecated use {@link #previous()}
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public BaseBlock getPrevious() { public BaseBlock getPrevious() {
return previous; return previous;
} }
@ -93,7 +93,7 @@ public record BlockChange(BlockVector3 position, BaseBlock previous, BaseBlock c
* @return the current block * @return the current block
* @deprecated use {@link #current()} * @deprecated use {@link #current()}
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public BaseBlock getCurrent() { public BaseBlock getCurrent() {
return current; return current;
} }

View File

@ -68,7 +68,7 @@ public abstract class AbstractFactory<E> {
* @param worldEdit the WorldEdit instance * @param worldEdit the WorldEdit instance
* @param defaultParser the parser to fall back to * @param defaultParser the parser to fall back to
* @param richParser the rich parser * @param richParser the rich parser
* @since TODO * @since 2.11.0
*/ */
protected AbstractFactory(WorldEdit worldEdit, InputParser<E> defaultParser, FaweParser<E> richParser) { protected AbstractFactory(WorldEdit worldEdit, InputParser<E> defaultParser, FaweParser<E> richParser) {
checkNotNull(worldEdit); checkNotNull(worldEdit);

View File

@ -122,7 +122,7 @@ public class BlockVector2 {
* Get the X coordinate. * Get the X coordinate.
* *
* @return the x coordinate * @return the x coordinate
* @since TODO * @since 2.11.0
*/ */
public int x() { public int x() {
return x; return x;
@ -134,7 +134,7 @@ public class BlockVector2 {
* @return the x coordinate * @return the x coordinate
* @deprecated use {@link #x()} instead * @deprecated use {@link #x()} instead
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public int getX() { public int getX() {
return x; return x;
} }
@ -145,7 +145,7 @@ public class BlockVector2 {
* @return the x coordinate * @return the x coordinate
* @deprecated use {@link #x()} instead * @deprecated use {@link #x()} instead
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public int getBlockX() { public int getBlockX() {
return x; return x;
} }
@ -164,7 +164,7 @@ public class BlockVector2 {
* Get the Z coordinate. * Get the Z coordinate.
* *
* @return the z coordinate * @return the z coordinate
* @since TODO * @since 2.11.0
*/ */
public int z() { public int z() {
return z; return z;
@ -176,7 +176,7 @@ public class BlockVector2 {
* @return the z coordinate * @return the z coordinate
* @deprecated use {@link #z()} instead * @deprecated use {@link #z()} instead
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public int getZ() { public int getZ() {
return z; return z;
} }
@ -187,7 +187,7 @@ public class BlockVector2 {
* @return the z coordinate * @return the z coordinate
* @deprecated use {@link #z()} instead * @deprecated use {@link #z()} instead
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public int getBlockZ() { public int getBlockZ() {
return z; return z;
} }

View File

@ -174,7 +174,7 @@ public abstract class BlockVector3 {
* Get the X coordinate. * Get the X coordinate.
* *
* @return the x coordinate * @return the x coordinate
* @since TODO * @since 2.11.0
*/ */
public abstract int x(); public abstract int x();
//FAWE end //FAWE end
@ -185,7 +185,7 @@ public abstract class BlockVector3 {
* @return the x coordinate * @return the x coordinate
* @deprecated use {@link #x()} instead * @deprecated use {@link #x()} instead
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public int getX() { public int getX() {
return this.x(); //FAWE - access abstract getter instead of local field return this.x(); //FAWE - access abstract getter instead of local field
} }
@ -196,7 +196,7 @@ public abstract class BlockVector3 {
* @return the x coordinate * @return the x coordinate
* @deprecated use {@link #x()} instead * @deprecated use {@link #x()} instead
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public int getBlockX() { public int getBlockX() {
return this.x(); //FAWE - access abstract getter instead of local field return this.x(); //FAWE - access abstract getter instead of local field
} }
@ -219,7 +219,7 @@ public abstract class BlockVector3 {
* Get the Y coordinate. * Get the Y coordinate.
* *
* @return the y coordinate * @return the y coordinate
* @since TODO * @since 2.11.0
*/ */
public abstract int y(); public abstract int y();
//FAWE end //FAWE end
@ -230,7 +230,7 @@ public abstract class BlockVector3 {
* @return the y coordinate * @return the y coordinate
* @deprecated use {@link #y()} instead * @deprecated use {@link #y()} instead
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public int getY() { public int getY() {
return this.y(); //FAWE - access abstract getter instead of local field return this.y(); //FAWE - access abstract getter instead of local field
} }
@ -241,7 +241,7 @@ public abstract class BlockVector3 {
* @return the y coordinate * @return the y coordinate
* @deprecated use {@link #y()} instead * @deprecated use {@link #y()} instead
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public int getBlockY() { public int getBlockY() {
return this.y(); //FAWE - access abstract getter instead of local field return this.y(); //FAWE - access abstract getter instead of local field
} }
@ -263,7 +263,7 @@ public abstract class BlockVector3 {
* Get the Z coordinate. * Get the Z coordinate.
* *
* @return the Z coordinate * @return the Z coordinate
* @since TODO * @since 2.11.0
*/ */
public abstract int z(); public abstract int z();
//FAWE end //FAWE end
@ -274,7 +274,7 @@ public abstract class BlockVector3 {
* @return the z coordinate * @return the z coordinate
* @deprecated use {@link #z()} instead * @deprecated use {@link #z()} instead
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public int getZ() { public int getZ() {
return this.z(); //FAWE - access abstract getter instead of local field return this.z(); //FAWE - access abstract getter instead of local field
} }
@ -285,7 +285,7 @@ public abstract class BlockVector3 {
* @return the z coordinate * @return the z coordinate
* @deprecated use {@link #z()} instead * @deprecated use {@link #z()} instead
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public int getBlockZ() { public int getBlockZ() {
return this.z(); //FAWE - access abstract getter instead of local field return this.z(); //FAWE - access abstract getter instead of local field
} }

View File

@ -57,7 +57,7 @@ public record Vector2(double x, double z) {
* @return the x coordinate * @return the x coordinate
* @deprecated use {@link #x()} instead * @deprecated use {@link #x()} instead
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public double getX() { public double getX() {
return x; return x;
} }
@ -66,7 +66,7 @@ public record Vector2(double x, double z) {
* Get the X coordinate, aligned to the block grid. * Get the X coordinate, aligned to the block grid.
* *
* @return the block-aligned x coordinate * @return the block-aligned x coordinate
* @since TODO * @since 2.11.0
*/ */
public int blockX() { public int blockX() {
return MathMan.roundInt(x); return MathMan.roundInt(x);
@ -86,7 +86,7 @@ public record Vector2(double x, double z) {
* Get the Z coordinate, aligned to the block grid. * Get the Z coordinate, aligned to the block grid.
* *
* @return the block-aligned z coordinate * @return the block-aligned z coordinate
* @since TODO * @since 2.11.0
*/ */
public int blockZ() { public int blockZ() {
return MathMan.roundInt(z); return MathMan.roundInt(z);
@ -98,7 +98,7 @@ public record Vector2(double x, double z) {
* @return the z coordinate * @return the z coordinate
* @deprecated use {@link #z()} instead * @deprecated use {@link #z()} instead
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public double getZ() { public double getZ() {
return z; return z;
} }

View File

@ -160,7 +160,7 @@ public abstract class Vector3 {
* Get the X coordinate. * Get the X coordinate.
* *
* @return the x coordinate * @return the x coordinate
* @since TODO * @since 2.11.0
*/ */
public abstract double x(); public abstract double x();
@ -179,7 +179,7 @@ public abstract class Vector3 {
* @return the x coordinate * @return the x coordinate
* @deprecated use {@link #x()} instead * @deprecated use {@link #x()} instead
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public double getX() { public double getX() {
return this.x(); return this.x();
} }
@ -201,7 +201,7 @@ public abstract class Vector3 {
* Get the Y coordinate. * Get the Y coordinate.
* *
* @return the y coordinate * @return the y coordinate
* @since TODO * @since 2.11.0
*/ */
public abstract double y(); public abstract double y();
@ -220,7 +220,7 @@ public abstract class Vector3 {
* @return the y coordinate * @return the y coordinate
* @deprecated use {@link #y()} instead * @deprecated use {@link #y()} instead
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public double getY() { public double getY() {
return this.y(); return this.y();
} }
@ -241,7 +241,7 @@ public abstract class Vector3 {
* Get the Z coordinate. * Get the Z coordinate.
* *
* @return the z coordinate * @return the z coordinate
* @since TODO * @since 2.11.0
*/ */
public abstract double z(); public abstract double z();
@ -260,7 +260,7 @@ public abstract class Vector3 {
* @return the z coordinate * @return the z coordinate
* @deprecated use {@link #z()} instead * @deprecated use {@link #z()} instead
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public double getZ() { public double getZ() {
return this.z(); return this.z();
} }

View File

@ -33,7 +33,7 @@ public interface Keyed {
* @return an id * @return an id
* @deprecated Use {@link #id()} instead. * @deprecated Use {@link #id()} instead.
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
default String getId() { default String getId() {
return id(); return id();
} }
@ -43,7 +43,7 @@ public interface Keyed {
* may have additional restrictions. * may have additional restrictions.
* *
* @return an id * @return an id
* @since TODO * @since 2.11.0
*/ */
@NonAbstractForCompatibility(delegateName = "getId", delegateParams = {}) @NonAbstractForCompatibility(delegateName = "getId", delegateParams = {})
default String id() { default String id() {

View File

@ -40,7 +40,7 @@ public record LocatedBlock(BlockVector3 location, BaseBlock block) {
* @return The location * @return The location
* @deprecated This class is now a record. Use {@link #location()} instead. * @deprecated This class is now a record. Use {@link #location()} instead.
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public BlockVector3 getLocation() { public BlockVector3 getLocation() {
return this.location; return this.location;
} }
@ -51,7 +51,7 @@ public record LocatedBlock(BlockVector3 location, BaseBlock block) {
* @return The block * @return The block
* @deprecated This class is now a record. Use {@link #block()} instead. * @deprecated This class is now a record. Use {@link #block()} instead.
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
public BaseBlock getBlock() { public BaseBlock getBlock() {
return this.block; return this.block;
} }

View File

@ -47,7 +47,7 @@ public class BiomeType implements RegistryItem, Keyed, BiomePattern {
* Gets the ID of this biome. * Gets the ID of this biome.
* *
* @return The id * @return The id
* @since TODO * @since 2.11.0
*/ */
@Override @Override
public String id() { public String id() {
@ -78,7 +78,7 @@ public class BiomeType implements RegistryItem, Keyed, BiomePattern {
* @return The id * @return The id
* @deprecated use {@link #id()} * @deprecated use {@link #id()}
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
@Override @Override
public String getId() { public String getId() {
return this.id; return this.id;

View File

@ -45,7 +45,7 @@ public class EntityType implements RegistryItem, Keyed {
* Gets the id of this entity type. * Gets the id of this entity type.
* *
* @return the id * @return the id
* @since TODO * @since 2.11.0
*/ */
public String id() { public String id() {
return this.id; return this.id;
@ -57,7 +57,7 @@ public class EntityType implements RegistryItem, Keyed {
* @return the id * @return the id
* @deprecated use {@link #id()} * @deprecated use {@link #id()}
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
@Override @Override
public String getId() { public String getId() {
return this.id; return this.id;

View File

@ -43,7 +43,7 @@ public class FluidType implements RegistryItem, Keyed {
* Gets the ID of this block. * Gets the ID of this block.
* *
* @return The id * @return The id
* @since TODO * @since 2.11.0
*/ */
public String id() { public String id() {
return this.id; return this.id;
@ -55,7 +55,7 @@ public class FluidType implements RegistryItem, Keyed {
* @return The id * @return The id
* @deprecated use {@link #id()} * @deprecated use {@link #id()}
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
@Override @Override
public String getId() { public String getId() {
return this.id; return this.id;

View File

@ -29,7 +29,7 @@ public interface ItemMaterial {
* @return the maximum quantity * @return the maximum quantity
* @deprecated Use {@link #maxStackSize()} instead. * @deprecated Use {@link #maxStackSize()} instead.
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
default int getMaxStackSize() { default int getMaxStackSize() {
return maxStackSize(); return maxStackSize();
} }
@ -38,7 +38,7 @@ public interface ItemMaterial {
* Gets the the maximum quantity of this item that can be in a single stack. * Gets the the maximum quantity of this item that can be in a single stack.
* *
* @return the maximum quantity * @return the maximum quantity
* @since TODO * @since 2.11.0
*/ */
@NonAbstractForCompatibility(delegateName = "getMaxStackSize", delegateParams = {}) @NonAbstractForCompatibility(delegateName = "getMaxStackSize", delegateParams = {})
default int maxStackSize() { default int maxStackSize() {
@ -52,7 +52,7 @@ public interface ItemMaterial {
* @return the maximum damage, or 0 if not applicable * @return the maximum damage, or 0 if not applicable
* @deprecated Use {@link #maxDamage()} instead. * @deprecated Use {@link #maxDamage()} instead.
*/ */
@Deprecated(forRemoval = true, since = "TODO") @Deprecated(forRemoval = true, since = "2.11.0")
default int getMaxDamage() { default int getMaxDamage() {
return maxDamage(); return maxDamage();
} }
@ -61,7 +61,7 @@ public interface ItemMaterial {
* Gets the the maximum damage this item can take before being broken. * Gets the the maximum damage this item can take before being broken.
* *
* @return the maximum damage, or 0 if not applicable * @return the maximum damage, or 0 if not applicable
* @since TODO * @since 2.11.0
*/ */
@NonAbstractForCompatibility(delegateName = "getMaxDamage", delegateParams = {}) @NonAbstractForCompatibility(delegateName = "getMaxDamage", delegateParams = {})
default int maxDamage() { default int maxDamage() {