Skip to content

Commit

Permalink
Refactored new APIs to .v4.
Browse files Browse the repository at this point in the history
  • Loading branch information
XDPXI committed Dec 28, 2024
1 parent 611946d commit 2550458
Show file tree
Hide file tree
Showing 13 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion common/src/main/java/dev/xdpxi/xdlib/CommonClass.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package dev.xdpxi.xdlib;

import dev.xdpxi.xdlib.api.Logger;
import dev.xdpxi.xdlib.api.v4.Logger;

public class CommonClass {
public static void init() {
Expand Down
2 changes: 1 addition & 1 deletion common/src/main/java/dev/xdpxi/xdlib/UpdateChecker.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import com.google.gson.JsonArray;
import com.google.gson.JsonObject;
import com.google.gson.JsonParser;
import dev.xdpxi.xdlib.api.Logger;
import dev.xdpxi.xdlib.api.v4.Logger;

import java.util.regex.Matcher;
import java.util.regex.Pattern;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.xdpxi.xdlib.api;
package dev.xdpxi.xdlib.api.v4;

import com.google.gson.Gson;
import com.google.gson.reflect.TypeToken;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.xdpxi.xdlib.api;
package dev.xdpxi.xdlib.api.v4;

import org.jetbrains.annotations.NotNull;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.xdpxi.xdlib.api;
package dev.xdpxi.xdlib.api.v4;

import org.apache.logging.log4j.LogManager;

Expand Down
2 changes: 1 addition & 1 deletion fabric/src/main/java/dev/xdpxi/xdlib/Main.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package dev.xdpxi.xdlib;

import dev.xdpxi.xdlib.api.Logger;
import dev.xdpxi.xdlib.api.v4.Logger;
import net.fabricmc.api.ModInitializer;

public class Main implements ModInitializer {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package dev.xdpxi.xdlib;

import dev.xdpxi.xdlib.api.Logger;
import dev.xdpxi.xdlib.api.v4.Logger;
import net.fabricmc.loader.api.FabricLoader;
import net.fabricmc.loader.api.ModContainer;
import net.fabricmc.loader.api.metadata.ModMetadata;
Expand Down
2 changes: 1 addition & 1 deletion forge/src/main/java/dev/xdpxi/xdlib/Main.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package dev.xdpxi.xdlib;

import dev.xdpxi.xdlib.api.Logger;
import dev.xdpxi.xdlib.api.v4.Logger;
import net.minecraftforge.fml.common.Mod;

@Mod(Constants.MOD_ID)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package dev.xdpxi.xdlib;

import dev.xdpxi.xdlib.api.Logger;
import dev.xdpxi.xdlib.api.v4.Logger;
import net.minecraftforge.fml.ModList;

import java.io.BufferedReader;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.xdpxi.xdlib.api;
package dev.xdpxi.xdlib.api.v4;

import net.minecraft.world.item.BlockItem;
import net.minecraft.world.item.Item;
Expand Down
2 changes: 1 addition & 1 deletion neoforge/src/main/java/dev/xdpxi/xdlib/Main.java
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package dev.xdpxi.xdlib;

import dev.xdpxi.xdlib.api.Logger;
import dev.xdpxi.xdlib.api.v4.Logger;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.fml.common.Mod;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package dev.xdpxi.xdlib;

import dev.xdpxi.xdlib.api.Logger;
import dev.xdpxi.xdlib.api.v4.Logger;
import net.neoforged.fml.ModList;

import java.io.BufferedReader;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package dev.xdpxi.xdlib.api;
package dev.xdpxi.xdlib.api.v4;

import net.minecraft.core.registries.BuiltInRegistries;
import net.minecraft.world.item.BlockItem;
Expand Down

0 comments on commit 2550458

Please sign in to comment.