Skip to content

Commit 2d512bc

Browse files
committed
Added License
1 parent f1ccc39 commit 2d512bc

29 files changed

+61
-7
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import java.util.ServiceLoader;
88
import java.util.concurrent.TimeUnit;
99
import net.minecraft.network.chat.Component;
10+
import net.minecraft.resources.ResourceLocation;
1011
import org.jetbrains.annotations.ApiStatus;
1112
import software.bluelib.api.event.IEventProxy;
1213
import software.bluelib.api.event.mod.ModIntegration;
@@ -53,6 +54,14 @@ public static boolean isDeveloperMode() {
5354
return isDevMode;
5455
}
5556

57+
@ApiStatus.Internal
58+
public static class Resource {
59+
60+
public static ResourceLocation resource(String pPath) {
61+
return ResourceLocation.fromNamespaceAndPath(BlueLibConstants.MOD_ID, pPath);
62+
}
63+
}
64+
5665
@ApiStatus.Internal
5766
public static class Translation {
5867

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import java.util.concurrent.Executors;
66
import java.util.concurrent.ScheduledExecutorService;
77
import java.util.logging.Logger;
8-
import net.minecraft.resources.ResourceLocation;
98

109
public class BlueLibConstants {
1110

@@ -22,8 +21,4 @@ private BlueLibConstants() {}
2221
public static boolean isBlueLibLoggingEnabled = true;
2322

2423
public static boolean isLoggingEnabled = true;
25-
26-
public static ResourceLocation resourceLocation(String pPath) {
27-
return ResourceLocation.fromNamespaceAndPath(MOD_ID, pPath);
28-
}
2924
}

common/src/main/java/software/bluelib/api/event/IEventProxy.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright (c) BlueLib. Licensed under the MIT License.
2+
13
package software.bluelib.api.event;
24

35
import java.util.List;

common/src/main/java/software/bluelib/api/event/mod/ModIntegration.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright (c) BlueLib. Licensed under the MIT License.
2+
13
package software.bluelib.api.event.mod;
24

35
import java.util.ArrayList;

common/src/main/java/software/bluelib/api/event/mod/ModMeta.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright (c) BlueLib. Licensed under the MIT License.
2+
13
package software.bluelib.api.event.mod;
24

35
import java.util.Optional;

common/src/main/java/software/bluelib/api/utils/QuadConsumer.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright (c) BlueLib. Licensed under the MIT License.
2+
13
package software.bluelib.api.utils;
24

35
@FunctionalInterface

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright (c) BlueLib. Licensed under the MIT License.
2+
13
package software.bluelib.api.utils.schedular;
24

35
import java.util.concurrent.CompletableFuture;

common/src/main/java/software/bluelib/config/MarkdownConfig.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright (c) BlueLib. Licensed under the MIT License.
2+
13
package software.bluelib.config;
24

35
public class MarkdownConfig {

common/src/main/java/software/bluelib/random/PityRandom.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright (c) BlueLib. Licensed under the MIT License.
2+
13
package software.bluelib.random;
24

35
import java.util.HashMap;

fabric/src/main/java/software/bluelib/api/config/ConfigBuilder.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
// Copyright (c) BlueLib. Licensed under the MIT License.
2+
13
package software.bluelib.api.config;
24

35
import com.google.gson.Gson;

0 commit comments

Comments
 (0)