Release 2.12.0

Signed-off-by: Alexander Brandes <mc.cache@web.de>
This commit is contained in:
Alexander Brandes 2024-10-25 20:33:44 +02:00
parent 5121bb8b99
commit f0af979f5f
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C
8 changed files with 13 additions and 13 deletions

View File

@ -34,7 +34,7 @@ logger.lifecycle("""
*******************************************
""")
var rootVersion by extra("2.11.3")
var rootVersion by extra("2.12.0")
var snapshot by extra("SNAPSHOT")
var revision: String 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")) {
apply(plugin = "org.ajoberstar.grgit")

View File

@ -155,7 +155,7 @@ public class NMSAdapter implements FAWEPlatformAdapterImpl {
* Utilises ConcurrentHashMap#compute for easy synchronisation for all of the above. Only tryWriteLock is used in blocks
* synchronised using ConcurrentHashMap methods.
*
* @since TODO
* @since 2.12.0
*/
protected static <LevelChunkSection> boolean setSectionAtomic(
String worldName,
@ -212,7 +212,7 @@ public class NMSAdapter implements FAWEPlatformAdapterImpl {
* <p>
* Utilises ConcurrentHashMap#compute for easy synchronisation
*
* @since TODO
* @since 2.12.0
*/
protected static void beginChunkPacketSend(String worldName, IntPair pair, StampLockHolder stampedLock) {
ConcurrentHashMap<IntPair, ChunkSendLock> chunks = FaweBukkitWorld.getWorldSendingChunksMap(worldName);
@ -233,7 +233,7 @@ public class NMSAdapter implements FAWEPlatformAdapterImpl {
/**
* Releases the read lock acquired when sending a chunk packet for a chunk
*
* @since TODO
* @since 2.12.0
*/
protected static void endChunkPacketSend(String worldName, IntPair pair, StampLockHolder lockHolder) {
ConcurrentHashMap<IntPair, ChunkSendLock> chunks = FaweBukkitWorld.getWorldSendingChunksMap(worldName);

View File

@ -55,7 +55,7 @@ public class LimitExtent extends AbstractDelegateExtent implements IBatchProcess
* @param limit the limit
* @deprecated Use {@link LimitExtent#LimitExtent(Extent, FaweLimit, Consumer, boolean)}
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.12.0")
public LimitExtent(Extent extent, FaweLimit limit) {
this(extent, limit, c -> {
});
@ -69,7 +69,7 @@ public class LimitExtent extends AbstractDelegateExtent implements IBatchProcess
* @param onErrorMessage consumer to handle a component generated by exceptions
* @deprecated Use {@link LimitExtent#LimitExtent(Extent, FaweLimit, Consumer, boolean)}
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.12.0")
public LimitExtent(Extent extent, FaweLimit limit, Consumer<Component> onErrorMessage) {
this(extent, limit, onErrorMessage, false);
}
@ -81,7 +81,7 @@ public class LimitExtent extends AbstractDelegateExtent implements IBatchProcess
* @param limit the limit
* @param onErrorMessage consumer to handle a component generated by exceptions
* @param processing if this limit extent is expected to be processing
* @since TODO
* @since 2.12.0
*/
public LimitExtent(
Extent extent,

View File

@ -60,7 +60,7 @@ public abstract class LinearClipboard extends SimpleClipboard {
/**
* @deprecated will be removed as it is unused and uses outdated types
*/
@Deprecated(forRemoval = true, since = "TODO")
@Deprecated(forRemoval = true, since = "2.12.0")
public abstract Collection<CompoundTag> getTileEntities();
@Override

View File

@ -299,7 +299,7 @@ public class FaweLimit {
/**
* Get an {@link FaweLimit} representing the amount of a limit used from a given "original" limit
*
* @since TODO
* @since 2.12.0
*/
public FaweLimit getLimitUsed(FaweLimit originalLimit) {
FaweLimit newLimit = new FaweLimit();

View File

@ -216,7 +216,7 @@ public final class NbtUtils {
* {@return the position data of the given tag}
*
* @param compoundTag the tag to extract position information from
* @since TODO
* @since 2.12.0
*/
public static Vector3 entityPosition(FaweCompoundTag compoundTag) {
LinListTag<LinDoubleTag> pos = compoundTag.linTag().getListTag("Pos", LinTagType.doubleTag());

View File

@ -44,7 +44,7 @@ public interface Brush {
/**
* If this brush is expected to set blocks synchronously, i.e. from one thread (at a time)
*
* @since TODO
* @since 2.12.0
*/
default boolean setsSynchronously() {
return true;

View File

@ -10,7 +10,7 @@ import java.lang.annotation.Target;
/**
* Indicates it is expected that blocks will only be set synchronously, i.e. from one thread (at a time)
*
* @since TODO
* @since 2.12.0
*/
@Retention(RetentionPolicy.RUNTIME)
@Target({