build: Release 2.4.0

Dieser Commit ist enthalten in:
Alexander Brandes 2022-06-27 13:52:50 +02:00
Ursprung edfc5a7a01
Commit f812fc14ab
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 158F5701A6AAD00C
6 geänderte Dateien mit 7 neuen und 7 gelöschten Zeilen

Datei anzeigen

@ -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 snapshot by extra("SNAPSHOT")
var revision: String by extra("") var revision: String by extra("")
var buildNumber 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")) { if (!project.hasProperty("gitCommitHash")) {
apply(plugin = "org.ajoberstar.grgit") apply(plugin = "org.ajoberstar.grgit")

Datei anzeigen

@ -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 * @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. * instance of the class being cached if on the main thread.
* @return a {@link Function} referencing a cache, or the given {@link Supplier} * @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) { public <V> LongFunction<V> createMainThreadSafeCache(Supplier<V> withInitial) {
return new LongFunction<>() { return new LongFunction<>() {

Datei anzeigen

@ -36,7 +36,7 @@ public class BlendBall implements Brush {
* @param onlyAir Only consider air for comparing existing blocks, and for altering existing blocks * @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 * @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 * 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) { public BlendBall(int minFreqDiff, boolean onlyAir, @Nullable CachedMask mask) {
this.minFreqDiff = minFreqDiff; this.minFreqDiff = minFreqDiff;

Datei anzeigen

@ -25,7 +25,7 @@ public class CachedMask extends AbstractDelegateMask implements ResettableMask {
* *
* @param mask Mask to cache results of * @param mask Mask to cache results of
* @param local If the area will be small * @param local If the area will be small
* @since TODO * @since 2.4.0
*/ */
public CachedMask(Mask mask, boolean local) { public CachedMask(Mask mask, boolean local) {
super(mask); super(mask);

Datei anzeigen

@ -177,7 +177,7 @@ public final class NBTUtils {
* *
* @param map Map to add uuid to * @param map Map to add uuid to
* @param uuid {@link UUID} to add * @param uuid {@link UUID} to add
* @since TODO * @since 2.4.0
*/ */
public static void addUUIDToMap(Map<String, Tag> map, UUID uuid) { public static void addUUIDToMap(Map<String, Tag> map, UUID uuid) {
int[] uuidArray = new int[4]; int[] uuidArray = new int[4];

Datei anzeigen

@ -157,7 +157,7 @@ public interface Extent extends InputExtent, OutputExtent {
* @param location the location * @param location the location
* @param uuid UUID to force the entity to have * @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 * @return a reference to the created entity, or null if the entity could not be created
* @since TODO * @since 2.4.0
*/ */
@Nullable @Nullable
default Entity createEntity(Location location, BaseEntity entity, UUID uuid) { default Entity createEntity(Location location, BaseEntity entity, UUID uuid) {