geforkt von Mirrors/FastAsyncWorldEdit
Release 2.7.0
Dieser Commit ist enthalten in:
Ursprung
f58f00e97f
Commit
37bfe426bc
@ -34,7 +34,7 @@ logger.lifecycle("""
|
|||||||
*******************************************
|
*******************************************
|
||||||
""")
|
""")
|
||||||
|
|
||||||
var rootVersion by extra("2.6.5")
|
var rootVersion by extra("2.7.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")
|
||||||
|
@ -15,7 +15,7 @@ import org.jetbrains.annotations.Nullable;
|
|||||||
/**
|
/**
|
||||||
* Processor that removes existing entities that would not be in air after the edit
|
* Processor that removes existing entities that would not be in air after the edit
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 2.7.0
|
||||||
*/
|
*/
|
||||||
public class EntityInBlockRemovingProcessor implements IBatchProcessor {
|
public class EntityInBlockRemovingProcessor implements IBatchProcessor {
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ import java.util.regex.Pattern;
|
|||||||
* Pattern that replaces blocks based on their ID, matching for an "input" and replacing with an "output" string. The "input"
|
* Pattern that replaces blocks based on their ID, matching for an "input" and replacing with an "output" string. The "input"
|
||||||
* string may be regex. Keeps as much of the block state as possible, excluding NBT data.
|
* string may be regex. Keeps as much of the block state as possible, excluding NBT data.
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 2.7.0
|
||||||
*/
|
*/
|
||||||
public class TypeSwapPattern extends AbstractExtentPattern {
|
public class TypeSwapPattern extends AbstractExtentPattern {
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ public class TypeSwapPattern extends AbstractExtentPattern {
|
|||||||
* @param inputString string to replace. May be regex.
|
* @param inputString string to replace. May be regex.
|
||||||
* @param outputString string to replace with
|
* @param outputString string to replace with
|
||||||
* @param allowRegex if regex should be allowed for input string matching
|
* @param allowRegex if regex should be allowed for input string matching
|
||||||
* @since TODO
|
* @since 2.7.0
|
||||||
*/
|
*/
|
||||||
public TypeSwapPattern(Extent extent, String inputString, String outputString, boolean allowRegex) {
|
public TypeSwapPattern(Extent extent, String inputString, String outputString, boolean allowRegex) {
|
||||||
super(extent);
|
super(extent);
|
||||||
|
@ -41,7 +41,7 @@ public class FaweException extends RuntimeException {
|
|||||||
* New instance of a given {@link FaweException.Type}
|
* New instance of a given {@link FaweException.Type}
|
||||||
*
|
*
|
||||||
* @param ignorable if an edit can continue if this exception is caught, e.g. by {@link com.fastasyncworldedit.core.extent.LimitExtent}
|
* @param ignorable if an edit can continue if this exception is caught, e.g. by {@link com.fastasyncworldedit.core.extent.LimitExtent}
|
||||||
* @since TODO
|
* @since 2.7.0
|
||||||
*/
|
*/
|
||||||
public FaweException(Component reason, Type type, boolean ignorable) {
|
public FaweException(Component reason, Type type, boolean ignorable) {
|
||||||
this.message = reason;
|
this.message = reason;
|
||||||
@ -70,7 +70,7 @@ public class FaweException extends RuntimeException {
|
|||||||
/**
|
/**
|
||||||
* If an edit can continue if this exception is caught, e.g. by {@link com.fastasyncworldedit.core.extent.LimitExtent}
|
* If an edit can continue if this exception is caught, e.g. by {@link com.fastasyncworldedit.core.extent.LimitExtent}
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 2.7.0
|
||||||
*/
|
*/
|
||||||
public boolean ignorable() {
|
public boolean ignorable() {
|
||||||
return ignorable;
|
return ignorable;
|
||||||
|
@ -516,7 +516,7 @@ public abstract class QueueHandler implements Trimable, Runnable {
|
|||||||
* <p>
|
* <p>
|
||||||
* Internal API usage only.
|
* Internal API usage only.
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 2.7.0
|
||||||
*/
|
*/
|
||||||
public ExecutorService getForkJoinPoolPrimary() {
|
public ExecutorService getForkJoinPoolPrimary() {
|
||||||
return forkJoinPoolPrimary;
|
return forkJoinPoolPrimary;
|
||||||
@ -528,7 +528,7 @@ public abstract class QueueHandler implements Trimable, Runnable {
|
|||||||
* <p>
|
* <p>
|
||||||
* Internal API usage only.
|
* Internal API usage only.
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 2.7.0
|
||||||
*/
|
*/
|
||||||
public ExecutorService getForkJoinPoolSecondary() {
|
public ExecutorService getForkJoinPoolSecondary() {
|
||||||
return forkJoinPoolSecondary;
|
return forkJoinPoolSecondary;
|
||||||
|
@ -38,7 +38,7 @@ public class FaweMask implements IDelegateRegion {
|
|||||||
* @param type type of mask
|
* @param type type of mask
|
||||||
* @param notify if the player should be notified
|
* @param notify if the player should be notified
|
||||||
* @return if still valid
|
* @return if still valid
|
||||||
* @since TODO
|
* @since 2.7.0
|
||||||
*/
|
*/
|
||||||
public boolean isValid(Player player, FaweMaskManager.MaskType type, boolean notify) {
|
public boolean isValid(Player player, FaweMaskManager.MaskType type, boolean notify) {
|
||||||
return isValid(player, type);
|
return isValid(player, type);
|
||||||
|
@ -30,7 +30,7 @@ public abstract class FaweMaskManager {
|
|||||||
/**
|
/**
|
||||||
* Get a {@link FaweMask} for the given player and {@link MaskType}. If isWhitelist is false, will return a "blacklist" mask.
|
* Get a {@link FaweMask} for the given player and {@link MaskType}. If isWhitelist is false, will return a "blacklist" mask.
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 2.7.0
|
||||||
*/
|
*/
|
||||||
public FaweMask getMask(final Player player, MaskType type, boolean isWhitelist, boolean notify) {
|
public FaweMask getMask(final Player player, MaskType type, boolean isWhitelist, boolean notify) {
|
||||||
return getMask(player, type, isWhitelist);
|
return getMask(player, type, isWhitelist);
|
||||||
|
@ -91,7 +91,7 @@ public abstract class TaskManager {
|
|||||||
*
|
*
|
||||||
* @deprecated Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.
|
* @deprecated Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "2.7.0")
|
||||||
public void parallel(Collection<Runnable> runables) {
|
public void parallel(Collection<Runnable> runables) {
|
||||||
for (Runnable run : runables) {
|
for (Runnable run : runables) {
|
||||||
pool.submit(run);
|
pool.submit(run);
|
||||||
@ -106,7 +106,7 @@ public abstract class TaskManager {
|
|||||||
* @param numThreads number of threads (null = config.yml parallel threads)
|
* @param numThreads number of threads (null = config.yml parallel threads)
|
||||||
* @deprecated Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.
|
* @deprecated Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "2.7.0")
|
||||||
public void parallel(Collection<Runnable> runnables, @Nullable Integer numThreads) {
|
public void parallel(Collection<Runnable> runnables, @Nullable Integer numThreads) {
|
||||||
if (runnables == null) {
|
if (runnables == null) {
|
||||||
return;
|
return;
|
||||||
@ -278,7 +278,7 @@ public abstract class TaskManager {
|
|||||||
/**
|
/**
|
||||||
* @deprecated Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.
|
* @deprecated Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "2.7.0")
|
||||||
public void wait(AtomicBoolean running, int timeout) {
|
public void wait(AtomicBoolean running, int timeout) {
|
||||||
try {
|
try {
|
||||||
long start = System.currentTimeMillis();
|
long start = System.currentTimeMillis();
|
||||||
@ -299,7 +299,7 @@ public abstract class TaskManager {
|
|||||||
/**
|
/**
|
||||||
* @deprecated Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.
|
* @deprecated Deprecated without replacement as unused internally, and poor implementation of what it's designed to do.
|
||||||
*/
|
*/
|
||||||
@Deprecated(forRemoval = true, since = "TODO")
|
@Deprecated(forRemoval = true, since = "2.7.0")
|
||||||
public void notify(AtomicBoolean running) {
|
public void notify(AtomicBoolean running) {
|
||||||
running.set(false);
|
running.set(false);
|
||||||
synchronized (running) {
|
synchronized (running) {
|
||||||
|
@ -13,7 +13,7 @@ import java.util.function.Supplier;
|
|||||||
* async queue that accepts a {@link Thread.UncaughtExceptionHandler} for exception handling per instance, delegating to a
|
* async queue that accepts a {@link Thread.UncaughtExceptionHandler} for exception handling per instance, delegating to a
|
||||||
* parent {@link KeyQueuedExecutorService}.
|
* parent {@link KeyQueuedExecutorService}.
|
||||||
*
|
*
|
||||||
* @since TODO
|
* @since 2.7.0
|
||||||
*/
|
*/
|
||||||
public class AsyncNotifyKeyedQueue implements Closeable {
|
public class AsyncNotifyKeyedQueue implements Closeable {
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ public class BlockType implements Keyed, Pattern {
|
|||||||
* a specific requirement to actually create new block types, please contact the FAWE devs to discuss. Use
|
* a specific requirement to actually create new block types, please contact the FAWE devs to discuss. Use
|
||||||
* {@link BlockTypes#get(String)} instead.
|
* {@link BlockTypes#get(String)} instead.
|
||||||
*/
|
*/
|
||||||
@Deprecated(since = "TODO")
|
@Deprecated(since = "2.7.0")
|
||||||
//FAWE end
|
//FAWE end
|
||||||
public BlockType(String id) {
|
public BlockType(String id) {
|
||||||
this(id, null);
|
this(id, null);
|
||||||
@ -98,7 +98,7 @@ public class BlockType implements Keyed, Pattern {
|
|||||||
* a specific requirement to actually create new block types, please contact the FAWE devs to discuss. Use
|
* a specific requirement to actually create new block types, please contact the FAWE devs to discuss. Use
|
||||||
* {@link BlockTypes#get(String)} instead.
|
* {@link BlockTypes#get(String)} instead.
|
||||||
*/
|
*/
|
||||||
@Deprecated(since = "TODO")
|
@Deprecated(since = "2.7.0")
|
||||||
//FAWE end
|
//FAWE end
|
||||||
public BlockType(String id, Function<BlockState, BlockState> values) {
|
public BlockType(String id, Function<BlockState, BlockState> values) {
|
||||||
// If it has no namespace, assume minecraft.
|
// If it has no namespace, assume minecraft.
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren