mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-22 17:27:38 +00:00
build: Release 2.4.0
This commit is contained in:
parent
edfc5a7a01
commit
f812fc14ab
@ -23,7 +23,7 @@ logger.lifecycle("""
|
||||
*******************************************
|
||||
""")
|
||||
|
||||
var rootVersion by extra("2.3.1")
|
||||
var rootVersion by extra("2.4.0")
|
||||
var snapshot by extra("SNAPSHOT")
|
||||
var revision: String by extra("")
|
||||
var buildNumber by extra("")
|
||||
@ -41,7 +41,7 @@ ext {
|
||||
}
|
||||
}
|
||||
|
||||
version = String.format("%s-%s", rootVersion, buildNumber)
|
||||
version = String.format("%s", rootVersion)
|
||||
|
||||
if (!project.hasProperty("gitCommitHash")) {
|
||||
apply(plugin = "org.ajoberstar.grgit")
|
||||
|
@ -151,7 +151,7 @@ public enum FaweCache implements Trimable {
|
||||
* @param withInitial The supplier used to determine the initial value if a thread cache is created, else to provide a new
|
||||
* instance of the class being cached if on the main thread.
|
||||
* @return a {@link Function} referencing a cache, or the given {@link Supplier}
|
||||
* @since TODO
|
||||
* @since 2.4.0
|
||||
*/
|
||||
public <V> LongFunction<V> createMainThreadSafeCache(Supplier<V> withInitial) {
|
||||
return new LongFunction<>() {
|
||||
|
@ -36,7 +36,7 @@ public class BlendBall implements Brush {
|
||||
* @param onlyAir Only consider air for comparing existing blocks, and for altering existing blocks
|
||||
* @param mask Mask to limit the blocks being considered for alteration. Will also limit blocks types able to be
|
||||
* placed, and will consider blocks not meeting the mask as air
|
||||
* @since TODO
|
||||
* @since 2.4.0
|
||||
*/
|
||||
public BlendBall(int minFreqDiff, boolean onlyAir, @Nullable CachedMask mask) {
|
||||
this.minFreqDiff = minFreqDiff;
|
||||
|
@ -25,7 +25,7 @@ public class CachedMask extends AbstractDelegateMask implements ResettableMask {
|
||||
*
|
||||
* @param mask Mask to cache results of
|
||||
* @param local If the area will be small
|
||||
* @since TODO
|
||||
* @since 2.4.0
|
||||
*/
|
||||
public CachedMask(Mask mask, boolean local) {
|
||||
super(mask);
|
||||
|
@ -177,7 +177,7 @@ public final class NBTUtils {
|
||||
*
|
||||
* @param map Map to add uuid to
|
||||
* @param uuid {@link UUID} to add
|
||||
* @since TODO
|
||||
* @since 2.4.0
|
||||
*/
|
||||
public static void addUUIDToMap(Map<String, Tag> map, UUID uuid) {
|
||||
int[] uuidArray = new int[4];
|
||||
|
@ -157,7 +157,7 @@ public interface Extent extends InputExtent, OutputExtent {
|
||||
* @param location the location
|
||||
* @param uuid UUID to force the entity to have
|
||||
* @return a reference to the created entity, or null if the entity could not be created
|
||||
* @since TODO
|
||||
* @since 2.4.0
|
||||
*/
|
||||
@Nullable
|
||||
default Entity createEntity(Location location, BaseEntity entity, UUID uuid) {
|
||||
|
Loading…
Reference in New Issue
Block a user