rename the package

This commit is contained in:
Lee 2024-04-13 20:44:05 +01:00
parent b14c969013
commit a15326a847
71 changed files with 31 additions and 31 deletions

View File

@ -1,4 +1,4 @@
package cc.fascinated;
package xyz.mcutils.backend;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

View File

@ -1,6 +1,6 @@
package cc.fascinated.common;
import cc.fascinated.Main;
import xyz.mcutils.backend.Main;
import cc.fascinated.exception.impl.BadRequestException;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.SneakyThrows;

View File

@ -1,7 +1,7 @@
package cc.fascinated.controller;
import cc.fascinated.model.cache.CachedEndpointStatus;
import cc.fascinated.service.MojangService;
import xyz.mcutils.backend.service.MojangService;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;

View File

@ -3,7 +3,7 @@ package cc.fascinated.controller;
import cc.fascinated.model.cache.CachedPlayer;
import cc.fascinated.model.cache.CachedPlayerName;
import cc.fascinated.model.player.Player;
import cc.fascinated.service.PlayerService;
import xyz.mcutils.backend.service.PlayerService;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;

View File

@ -1,8 +1,8 @@
package cc.fascinated.controller;
import cc.fascinated.model.cache.CachedMinecraftServer;
import cc.fascinated.service.MojangService;
import cc.fascinated.service.ServerService;
import xyz.mcutils.backend.service.MojangService;
import xyz.mcutils.backend.service.ServerService;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.beans.factory.annotation.Autowired;

View File

@ -1,6 +1,6 @@
package cc.fascinated.model.server;
import cc.fascinated.Main;
import xyz.mcutils.backend.Main;
import cc.fascinated.common.JavaMinecraftVersion;
import cc.fascinated.common.ServerUtils;
import cc.fascinated.config.Config;

View File

@ -2,9 +2,9 @@ package cc.fascinated.model.server;
import cc.fascinated.common.ColorUtils;
import cc.fascinated.model.dns.DNSRecord;
import cc.fascinated.service.pinger.MinecraftServerPinger;
import cc.fascinated.service.pinger.impl.BedrockMinecraftServerPinger;
import cc.fascinated.service.pinger.impl.JavaMinecraftServerPinger;
import xyz.mcutils.backend.service.pinger.MinecraftServerPinger;
import xyz.mcutils.backend.service.pinger.impl.BedrockMinecraftServerPinger;
import xyz.mcutils.backend.service.pinger.impl.JavaMinecraftServerPinger;
import io.micrometer.common.lang.NonNull;
import lombok.AllArgsConstructor;
import lombok.Getter;

View File

@ -1,6 +1,6 @@
package cc.fascinated.model.token;
import cc.fascinated.Main;
import xyz.mcutils.backend.Main;
import cc.fascinated.common.Tuple;
import cc.fascinated.common.UUIDUtils;
import cc.fascinated.model.player.Cape;

View File

@ -1,4 +1,4 @@
package cc.fascinated.repository;
package xyz.mcutils.backend.repository;
import cc.fascinated.model.cache.CachedEndpointStatus;
import org.springframework.data.repository.CrudRepository;

View File

@ -1,4 +1,4 @@
package cc.fascinated.repository;
package xyz.mcutils.backend.repository;
import cc.fascinated.model.cache.CachedMinecraftServer;
import org.springframework.data.repository.CrudRepository;

View File

@ -1,4 +1,4 @@
package cc.fascinated.repository;
package xyz.mcutils.backend.repository;
import cc.fascinated.model.cache.CachedPlayer;
import org.springframework.data.repository.CrudRepository;

View File

@ -1,4 +1,4 @@
package cc.fascinated.repository;
package xyz.mcutils.backend.repository;
import cc.fascinated.model.cache.CachedPlayerName;
import org.springframework.data.repository.CrudRepository;

View File

@ -1,4 +1,4 @@
package cc.fascinated.repository;
package xyz.mcutils.backend.repository;
import cc.fascinated.model.cache.CachedPlayerSkinPart;
import org.springframework.data.repository.CrudRepository;

View File

@ -1,6 +1,6 @@
package cc.fascinated.service;
package xyz.mcutils.backend.service;
import cc.fascinated.Main;
import xyz.mcutils.backend.Main;
import cc.fascinated.common.EndpointStatus;
import cc.fascinated.common.ExpiringSet;
import cc.fascinated.common.WebRequest;
@ -8,7 +8,7 @@ import cc.fascinated.config.Config;
import cc.fascinated.model.cache.CachedEndpointStatus;
import cc.fascinated.model.token.MojangProfileToken;
import cc.fascinated.model.token.MojangUsernameToUuidToken;
import cc.fascinated.repository.EndpointStatusRepository;
import xyz.mcutils.backend.repository.EndpointStatusRepository;
import com.google.common.base.Joiner;
import com.google.common.base.Splitter;
import com.google.common.collect.Lists;

View File

@ -1,4 +1,4 @@
package cc.fascinated.service;
package xyz.mcutils.backend.service;
import cc.fascinated.common.ImageUtils;
import cc.fascinated.common.PlayerUtils;
@ -18,9 +18,9 @@ import cc.fascinated.model.skin.ISkinPart;
import cc.fascinated.model.skin.Skin;
import cc.fascinated.model.token.MojangProfileToken;
import cc.fascinated.model.token.MojangUsernameToUuidToken;
import cc.fascinated.repository.PlayerCacheRepository;
import cc.fascinated.repository.PlayerNameCacheRepository;
import cc.fascinated.repository.PlayerSkinPartCacheRepository;
import xyz.mcutils.backend.repository.PlayerCacheRepository;
import xyz.mcutils.backend.repository.PlayerNameCacheRepository;
import xyz.mcutils.backend.repository.PlayerSkinPartCacheRepository;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

View File

@ -1,4 +1,4 @@
package cc.fascinated.service;
package xyz.mcutils.backend.service;
import cc.fascinated.common.DNSUtils;
import cc.fascinated.common.EnumUtils;
@ -11,7 +11,7 @@ import cc.fascinated.model.dns.impl.ARecord;
import cc.fascinated.model.dns.impl.SRVRecord;
import cc.fascinated.model.server.JavaMinecraftServer;
import cc.fascinated.model.server.MinecraftServer;
import cc.fascinated.repository.MinecraftServerCacheRepository;
import xyz.mcutils.backend.repository.MinecraftServerCacheRepository;
import lombok.extern.log4j.Log4j2;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

View File

@ -1,4 +1,4 @@
package cc.fascinated.service.pinger;
package xyz.mcutils.backend.service.pinger;
import cc.fascinated.model.dns.DNSRecord;
import cc.fascinated.model.server.MinecraftServer;

View File

@ -1,4 +1,4 @@
package cc.fascinated.service.pinger.impl;
package xyz.mcutils.backend.service.pinger.impl;
import cc.fascinated.common.packet.impl.bedrock.BedrockPacketUnconnectedPing;
import cc.fascinated.common.packet.impl.bedrock.BedrockPacketUnconnectedPong;
@ -6,7 +6,7 @@ import cc.fascinated.exception.impl.BadRequestException;
import cc.fascinated.exception.impl.ResourceNotFoundException;
import cc.fascinated.model.dns.DNSRecord;
import cc.fascinated.model.server.BedrockMinecraftServer;
import cc.fascinated.service.pinger.MinecraftServerPinger;
import xyz.mcutils.backend.service.pinger.MinecraftServerPinger;
import lombok.extern.log4j.Log4j2;
import java.io.IOException;

View File

@ -1,6 +1,6 @@
package cc.fascinated.service.pinger.impl;
package xyz.mcutils.backend.service.pinger.impl;
import cc.fascinated.Main;
import xyz.mcutils.backend.Main;
import cc.fascinated.common.JavaMinecraftVersion;
import cc.fascinated.common.ServerUtils;
import cc.fascinated.common.packet.impl.java.JavaPacketHandshakingInSetProtocol;
@ -10,7 +10,7 @@ import cc.fascinated.exception.impl.ResourceNotFoundException;
import cc.fascinated.model.dns.DNSRecord;
import cc.fascinated.model.server.JavaMinecraftServer;
import cc.fascinated.model.token.JavaServerStatusToken;
import cc.fascinated.service.pinger.MinecraftServerPinger;
import xyz.mcutils.backend.service.pinger.MinecraftServerPinger;
import lombok.extern.log4j.Log4j2;
import java.io.DataInputStream;