Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-17 00:20:09 +01:00
Release 2.12.0
Signed-off-by: Alexander Brandes <mc.cache@web.de>
Dieser Commit ist enthalten in:
Ursprung
5121bb8b99
Commit
f0af979f5f
@ -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")
|
||||
|
@ -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);
|
||||
|
@ -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,
|
||||
|
@ -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
|
||||
|
@ -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();
|
||||
|
@ -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());
|
||||
|
@ -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;
|
||||
|
@ -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({
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren