Skip to content

Commit 18377b4

Browse files
committed
1.9.0 Release
1 parent 2d512bc commit 18377b4

File tree

7 files changed

+11
-12
lines changed

7 files changed

+11
-12
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,10 +87,9 @@
8787
</div>
8888

8989
<h3 align="center">
90-
BlueLib offers two resources for the community: an
91-
<a href="https://mealam1.github.io/BlueLib/">API Documentation</a> and a
90+
BlueLib offers one resource for the community: A
9291
<a href="https://github.com/MeAlam1/BlueLib/wiki">Wiki</a>.
93-
Feel free to go through them.
92+
Feel free to go through it.
9493
</h3>
9594

9695
<!-- Contributing Banner -->

buildSrc/src/main/groovy/bluelib-common.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ publishing {
137137
spotless {
138138
java {
139139
endWithNewline()
140-
indentWithSpaces()
140+
leadingTabsToSpaces()
141141
removeUnusedImports()
142142
toggleOffOn()
143143
// Pin version to 4.31 because of a Spotless bug https://github.com/diffplug/spotless/issues/1992

common/src/main/java/software/bluelib/BlueLibConstants.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ private BlueLibConstants() {}
1818

1919
public static final String MOD_NAME = "BlueLib";
2020

21-
public static boolean isBlueLibLoggingEnabled = true;
21+
public static boolean isBlueLibLoggingEnabled = false;
2222

2323
public static boolean isLoggingEnabled = true;
2424
}

common/src/main/java/software/bluelib/api/utils/conversion/ColorConversionUtils.java renamed to common/src/main/java/software/bluelib/api/utils/conversion/ColorConverterUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
import software.bluelib.api.utils.logging.BaseLogger;
1313

1414
@SuppressWarnings("unused")
15-
public class ColorConversionUtils {
15+
public class ColorConverterUtils {
1616

1717
public static int parseColorToHexString(String pInput) {
1818
if (pInput == null || pInput.isEmpty()) {

common/src/main/java/software/bluelib/api/utils/schedular/DelayedScheduler.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@
77
import java.util.concurrent.ScheduledExecutorService;
88
import java.util.concurrent.TimeUnit;
99
import java.util.function.Supplier;
10-
import javax.annotation.Nonnull;
10+
import org.jetbrains.annotations.NotNull;
1111

1212
public class DelayedScheduler {
1313

1414
private static final ScheduledExecutorService EXECUTOR_SERVICE = Executors.newSingleThreadScheduledExecutor();
1515

16-
@Nonnull
16+
@NotNull
1717
public static CompletableFuture<Void> schedule(Runnable task, long delay, TimeUnit unit) {
1818
CompletableFuture<Void> future = new CompletableFuture<>();
1919
EXECUTOR_SERVICE.schedule(() -> {
@@ -27,7 +27,7 @@ public static CompletableFuture<Void> schedule(Runnable task, long delay, TimeUn
2727
return future;
2828
}
2929

30-
@Nonnull
30+
@NotNull
3131
public static <A> CompletableFuture<A> schedule(Supplier<A> supplier, long delay, TimeUnit unit) {
3232
CompletableFuture<A> future = new CompletableFuture<>();
3333
EXECUTOR_SERVICE.schedule(() -> {

common/src/main/java/software/bluelib/markdown/syntax/Color.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import net.minecraft.network.chat.Style;
1212
import net.minecraft.network.chat.TextColor;
1313
import software.bluelib.api.utils.IsValidUtils;
14-
import software.bluelib.api.utils.conversion.ColorConversionUtils;
14+
import software.bluelib.api.utils.conversion.ColorConverterUtils;
1515
import software.bluelib.api.utils.logging.BaseLogLevel;
1616
import software.bluelib.api.utils.logging.BaseLogger;
1717
import software.bluelib.config.MarkdownConfig;
@@ -59,7 +59,7 @@ private Object extractColorsFromMatcher(Matcher matcher) {
5959
String[] colorArray = colorGroup.split(",");
6060
for (String color : colorArray) {
6161
if (IsValidUtils.isValidColor(color)) {
62-
colors.add(ColorConversionUtils.parseColorToHexString(color));
62+
colors.add(ColorConverterUtils.parseColorToHexString(color));
6363
} else {
6464
BaseLogger.log(BaseLogLevel.WARNING, "Invalid color detected: " + color, true);
6565
return colorGroup;

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ minecraft_version=1.21.1
1010
mod_id=bluelib
1111
mod_name=BlueLib
1212
license=MIT License
13-
version=1.8.0
13+
version=1.9.0
1414
group=software.bluelib
1515
mod_author=Dan, Aram
1616
description=BlueLib is an All round Minecraft mod library that offers data-driven features, allowing users to implement and customize its features with full freedom. \nIt supports both Resource and Datapacks, ensuring seamless integration and flexibility.

0 commit comments

Comments
 (0)