mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 09:17:39 +00:00
Release 2.12.0
Signed-off-by: Alexander Brandes <mc.cache@web.de>
This commit is contained in:
parent
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 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")
|
||||||
|
@ -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
|
* Utilises ConcurrentHashMap#compute for easy synchronisation for all of the above. Only tryWriteLock is used in blocks
|
||||||
* synchronised using ConcurrentHashMap methods.
|
* synchronised using ConcurrentHashMap methods.
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 2.12.0
|
||||||
*/
|
*/
|
||||||
protected static <LevelChunkSection> boolean setSectionAtomic(
|
protected static <LevelChunkSection> boolean setSectionAtomic(
|
||||||
String worldName,
|
String worldName,
|
||||||
@ -212,7 +212,7 @@ public class NMSAdapter implements FAWEPlatformAdapterImpl {
|
|||||||
* <p>
|
* <p>
|
||||||
* Utilises ConcurrentHashMap#compute for easy synchronisation
|
* Utilises ConcurrentHashMap#compute for easy synchronisation
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 2.12.0
|
||||||
*/
|
*/
|
||||||
protected static void beginChunkPacketSend(String worldName, IntPair pair, StampLockHolder stampedLock) {
|
protected static void beginChunkPacketSend(String worldName, IntPair pair, StampLockHolder stampedLock) {
|
||||||
ConcurrentHashMap<IntPair, ChunkSendLock> chunks = FaweBukkitWorld.getWorldSendingChunksMap(worldName);
|
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
|
* 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) {
|
protected static void endChunkPacketSend(String worldName, IntPair pair, StampLockHolder lockHolder) {
|
||||||
ConcurrentHashMap<IntPair, ChunkSendLock> chunks = FaweBukkitWorld.getWorldSendingChunksMap(worldName);
|
ConcurrentHashMap<IntPair, ChunkSendLock> chunks = FaweBukkitWorld.getWorldSendingChunksMap(worldName);
|
||||||
|
@ -55,7 +55,7 @@ public class LimitExtent extends AbstractDelegateExtent implements IBatchProcess
|
|||||||
* @param limit the limit
|
* @param limit the limit
|
||||||
* @deprecated Use {@link LimitExtent#LimitExtent(Extent, FaweLimit, Consumer, boolean)}
|
* @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) {
|
public LimitExtent(Extent extent, FaweLimit limit) {
|
||||||
this(extent, limit, c -> {
|
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
|
* @param onErrorMessage consumer to handle a component generated by exceptions
|
||||||
* @deprecated Use {@link LimitExtent#LimitExtent(Extent, FaweLimit, Consumer, boolean)}
|
* @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) {
|
public LimitExtent(Extent extent, FaweLimit limit, Consumer<Component> onErrorMessage) {
|
||||||
this(extent, limit, onErrorMessage, false);
|
this(extent, limit, onErrorMessage, false);
|
||||||
}
|
}
|
||||||
@ -81,7 +81,7 @@ public class LimitExtent extends AbstractDelegateExtent implements IBatchProcess
|
|||||||
* @param limit the limit
|
* @param limit the limit
|
||||||
* @param onErrorMessage consumer to handle a component generated by exceptions
|
* @param onErrorMessage consumer to handle a component generated by exceptions
|
||||||
* @param processing if this limit extent is expected to be processing
|
* @param processing if this limit extent is expected to be processing
|
||||||
* @since TODO
|
* @since 2.12.0
|
||||||
*/
|
*/
|
||||||
public LimitExtent(
|
public LimitExtent(
|
||||||
Extent extent,
|
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 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();
|
public abstract Collection<CompoundTag> getTileEntities();
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@ -299,7 +299,7 @@ public class FaweLimit {
|
|||||||
/**
|
/**
|
||||||
* Get an {@link FaweLimit} representing the amount of a limit used from a given "original" limit
|
* 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) {
|
public FaweLimit getLimitUsed(FaweLimit originalLimit) {
|
||||||
FaweLimit newLimit = new FaweLimit();
|
FaweLimit newLimit = new FaweLimit();
|
||||||
|
@ -216,7 +216,7 @@ public final class NbtUtils {
|
|||||||
* {@return the position data of the given tag}
|
* {@return the position data of the given tag}
|
||||||
*
|
*
|
||||||
* @param compoundTag the tag to extract position information from
|
* @param compoundTag the tag to extract position information from
|
||||||
* @since TODO
|
* @since 2.12.0
|
||||||
*/
|
*/
|
||||||
public static Vector3 entityPosition(FaweCompoundTag compoundTag) {
|
public static Vector3 entityPosition(FaweCompoundTag compoundTag) {
|
||||||
LinListTag<LinDoubleTag> pos = compoundTag.linTag().getListTag("Pos", LinTagType.doubleTag());
|
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)
|
* 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() {
|
default boolean setsSynchronously() {
|
||||||
return true;
|
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)
|
* 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)
|
@Retention(RetentionPolicy.RUNTIME)
|
||||||
@Target({
|
@Target({
|
||||||
|
Loading…
Reference in New Issue
Block a user