Skip to content

Commit

Permalink
Move from tk.sciwhiz12 to dev.sciwhiz12
Browse files Browse the repository at this point in the history
Now using a new, hopefully permanent domain.
  • Loading branch information
sciwhiz12 committed Feb 28, 2024
1 parent 5c1545c commit affabf7
Show file tree
Hide file tree
Showing 38 changed files with 111 additions and 111 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ tasks.named('jar', Jar).configure {

@SuppressWarnings('GrMethodMayBeStatic')
def relocate(origin) {
shadowJar.relocate(origin, "tk.sciwhiz12.concord.shadow.$origin")
shadowJar.relocate(origin, "dev.sciwhiz12.concord.shadow.$origin")
}

// noinspection UnnecessaryQualifiedReference
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# suppress inspection "UnusedProperty" for whole file

# The information for the mod project
group=tk.sciwhiz12
group=dev.sciwhiz12
modid=concord
author=sciwhiz12

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
* SOFTWARE.
*/

package tk.sciwhiz12.concord.datagen;
package dev.sciwhiz12.concord.datagen;

import dev.sciwhiz12.concord.Concord;
import net.minecraft.SharedConstants;
import net.minecraft.data.DataGenerator;
import net.minecraft.data.PackOutput;
Expand All @@ -33,7 +34,6 @@
import net.neoforged.bus.api.SubscribeEvent;
import net.neoforged.fml.common.Mod;
import net.neoforged.neoforge.data.event.GatherDataEvent;
import tk.sciwhiz12.concord.Concord;

import java.util.Optional;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
* SOFTWARE.
*/

package tk.sciwhiz12.concord.datagen;
package dev.sciwhiz12.concord.datagen;

import dev.sciwhiz12.concord.Concord;
import dev.sciwhiz12.concord.util.Messages;
import dev.sciwhiz12.concord.util.Translations;
import net.minecraft.data.PackOutput;
import net.neoforged.neoforge.common.data.LanguageProvider;
import tk.sciwhiz12.concord.Concord;
import tk.sciwhiz12.concord.util.Messages;
import tk.sciwhiz12.concord.util.Translations;

public class EnglishLanguage extends LanguageProvider {
public EnglishLanguage(PackOutput output) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,14 @@
* SOFTWARE.
*/

package tk.sciwhiz12.concord;
package dev.sciwhiz12.concord;

import com.google.common.collect.Sets;
import dev.sciwhiz12.concord.msg.*;
import dev.sciwhiz12.concord.msg.chat.ChatForwarder;
import dev.sciwhiz12.concord.msg.chat.DefaultChatForwarder;
import dev.sciwhiz12.concord.msg.chat.WebhookChatForwarder;
import dev.sciwhiz12.concord.util.Messages;
import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.OnlineStatus;
import net.dv8tion.jda.api.Permission;
Expand All @@ -43,11 +48,6 @@
import org.jetbrains.annotations.ApiStatus;
import org.slf4j.Marker;
import org.slf4j.MarkerFactory;
import tk.sciwhiz12.concord.msg.*;
import tk.sciwhiz12.concord.msg.chat.ChatForwarder;
import tk.sciwhiz12.concord.msg.chat.DefaultChatForwarder;
import tk.sciwhiz12.concord.msg.chat.WebhookChatForwarder;
import tk.sciwhiz12.concord.util.Messages;

import javax.annotation.Nullable;
import java.util.Collections;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,17 @@
* SOFTWARE.
*/

package tk.sciwhiz12.concord;
package dev.sciwhiz12.concord;

import com.google.common.base.Strings;
import com.mojang.logging.LogUtils;
import dev.sciwhiz12.concord.command.ConcordCommand;
import dev.sciwhiz12.concord.command.EmoteCommandHook;
import dev.sciwhiz12.concord.command.ReportCommand;
import dev.sciwhiz12.concord.command.SayCommandHook;
import dev.sciwhiz12.concord.features.ConcordFeatures;
import dev.sciwhiz12.concord.network.ConcordNetwork;
import dev.sciwhiz12.concord.util.Messages;
import net.dv8tion.jda.api.JDA;
import net.dv8tion.jda.api.JDABuilder;
import net.dv8tion.jda.api.OnlineStatus;
Expand All @@ -42,13 +49,6 @@
import net.neoforged.neoforge.event.server.ServerStartingEvent;
import net.neoforged.neoforge.event.server.ServerStoppingEvent;
import org.slf4j.Logger;
import tk.sciwhiz12.concord.command.ConcordCommand;
import tk.sciwhiz12.concord.command.EmoteCommandHook;
import tk.sciwhiz12.concord.command.ReportCommand;
import tk.sciwhiz12.concord.command.SayCommandHook;
import tk.sciwhiz12.concord.features.ConcordFeatures;
import tk.sciwhiz12.concord.network.ConcordNetwork;
import tk.sciwhiz12.concord.util.Messages;

import javax.annotation.Nullable;
import java.util.EnumSet;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
* SOFTWARE.
*/

package tk.sciwhiz12.concord;
package dev.sciwhiz12.concord;

import dev.sciwhiz12.concord.util.Messages;
import net.neoforged.fml.ModContainer;
import net.neoforged.fml.config.ModConfig;
import net.neoforged.neoforge.common.ModConfigSpec;
import tk.sciwhiz12.concord.util.Messages;

import javax.annotation.Nullable;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@
* SOFTWARE.
*/

package tk.sciwhiz12.concord.command;
package dev.sciwhiz12.concord.command;

import com.mojang.brigadier.Command;
import com.mojang.brigadier.context.CommandContext;
import dev.sciwhiz12.concord.Concord;
import dev.sciwhiz12.concord.util.Translations;
import net.minecraft.commands.CommandSourceStack;
import net.minecraft.commands.Commands;
import net.minecraft.network.chat.Component;
import net.neoforged.neoforge.event.RegisterCommandsEvent;
import tk.sciwhiz12.concord.Concord;
import tk.sciwhiz12.concord.util.Translations;

import static net.minecraft.ChatFormatting.GREEN;
import static net.minecraft.ChatFormatting.RED;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@
* SOFTWARE.
*/

package tk.sciwhiz12.concord.command;
package dev.sciwhiz12.concord.command;

import com.mojang.brigadier.Command;
import com.mojang.brigadier.context.CommandContext;
import com.mojang.brigadier.exceptions.CommandSyntaxException;
import com.mojang.logging.LogUtils;
import dev.sciwhiz12.concord.Concord;
import dev.sciwhiz12.concord.ConcordConfig;
import dev.sciwhiz12.concord.util.Messages;
import net.minecraft.commands.CommandSourceStack;
import net.minecraft.commands.arguments.MessageArgument;
import net.minecraft.network.chat.ChatType;
import net.minecraft.network.chat.PlayerChatMessage;
import net.minecraft.server.players.PlayerList;
import net.neoforged.neoforge.event.RegisterCommandsEvent;
import org.slf4j.Logger;
import tk.sciwhiz12.concord.Concord;
import tk.sciwhiz12.concord.ConcordConfig;
import tk.sciwhiz12.concord.util.Messages;

import static com.mojang.brigadier.arguments.StringArgumentType.greedyString;
import static net.minecraft.commands.Commands.argument;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,23 +20,23 @@
* SOFTWARE.
*/

package tk.sciwhiz12.concord.command;
package dev.sciwhiz12.concord.command;

import com.mojang.brigadier.Command;
import com.mojang.brigadier.arguments.StringArgumentType;
import com.mojang.brigadier.context.CommandContext;
import com.mojang.brigadier.exceptions.CommandSyntaxException;
import dev.sciwhiz12.concord.ChatBot;
import dev.sciwhiz12.concord.Concord;
import dev.sciwhiz12.concord.ConcordConfig;
import dev.sciwhiz12.concord.util.Translations;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.channel.concrete.TextChannel;
import net.minecraft.commands.CommandSourceStack;
import net.minecraft.commands.arguments.EntityArgument;
import net.minecraft.core.BlockPos;
import net.minecraft.world.entity.Entity;
import net.neoforged.neoforge.event.RegisterCommandsEvent;
import tk.sciwhiz12.concord.ChatBot;
import tk.sciwhiz12.concord.Concord;
import tk.sciwhiz12.concord.ConcordConfig;
import tk.sciwhiz12.concord.util.Translations;

import java.time.Instant;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,15 @@
* SOFTWARE.
*/

package tk.sciwhiz12.concord.command;
package dev.sciwhiz12.concord.command;

import com.mojang.brigadier.Command;
import com.mojang.brigadier.context.CommandContext;
import com.mojang.brigadier.exceptions.CommandSyntaxException;
import com.mojang.logging.LogUtils;
import dev.sciwhiz12.concord.Concord;
import dev.sciwhiz12.concord.ConcordConfig;
import dev.sciwhiz12.concord.util.Messages;
import net.minecraft.commands.CommandSourceStack;
import net.minecraft.commands.Commands;
import net.minecraft.commands.arguments.MessageArgument;
Expand All @@ -34,9 +37,6 @@
import net.minecraft.server.players.PlayerList;
import net.neoforged.neoforge.event.RegisterCommandsEvent;
import org.slf4j.Logger;
import tk.sciwhiz12.concord.Concord;
import tk.sciwhiz12.concord.ConcordConfig;
import tk.sciwhiz12.concord.util.Messages;

import static net.minecraft.commands.Commands.argument;
import static net.minecraft.commands.Commands.literal;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
@MethodsReturnNonnullByDefault
@ParametersAreNonnullByDefault
@FieldsAreNonnullByDefault
package tk.sciwhiz12.concord.command;
package dev.sciwhiz12.concord.command;

import net.minecraft.FieldsAreNonnullByDefault;
import net.minecraft.MethodsReturnNonnullByDefault;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,9 @@
* SOFTWARE.
*/

package tk.sciwhiz12.concord.features;
package dev.sciwhiz12.concord.features;

import dev.sciwhiz12.concord.Concord;
import net.minecraft.nbt.Tag;
import net.neoforged.bus.api.IEventBus;
import net.neoforged.neoforge.attachment.AttachmentType;
Expand All @@ -30,7 +31,6 @@
import net.neoforged.neoforge.registries.DeferredRegister;
import net.neoforged.neoforge.registries.NeoForgeRegistries;
import org.apache.maven.artifact.versioning.ArtifactVersion;
import tk.sciwhiz12.concord.Concord;

import javax.annotation.Nullable;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* SOFTWARE.
*/

package tk.sciwhiz12.concord.features;
package dev.sciwhiz12.concord.features;

import org.apache.maven.artifact.versioning.ArtifactVersion;
import org.apache.maven.artifact.versioning.DefaultArtifactVersion;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
@MethodsReturnNonnullByDefault
@ParametersAreNonnullByDefault
@FieldsAreNonnullByDefault
package tk.sciwhiz12.concord.network;
package dev.sciwhiz12.concord.features;

import net.minecraft.FieldsAreNonnullByDefault;
import net.minecraft.MethodsReturnNonnullByDefault;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
* SOFTWARE.
*/

package tk.sciwhiz12.concord.msg;
package dev.sciwhiz12.concord.msg;

import dev.sciwhiz12.concord.ConcordConfig;
import net.minecraft.ChatFormatting;
import net.minecraft.network.chat.Component;
import net.minecraft.network.chat.MutableComponent;
import net.minecraft.network.chat.Style;
import net.minecraft.network.chat.TextColor;
import tk.sciwhiz12.concord.ConcordConfig;

import static net.minecraft.ChatFormatting.WHITE;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
* SOFTWARE.
*/

package tk.sciwhiz12.concord.msg;
package dev.sciwhiz12.concord.msg;

import dev.sciwhiz12.concord.util.Translation;
import dev.sciwhiz12.concord.util.Translations;
import net.dv8tion.jda.api.OnlineStatus;
import net.dv8tion.jda.api.entities.Activity;
import net.dv8tion.jda.api.entities.Member;
import net.minecraft.network.chat.TextColor;
import tk.sciwhiz12.concord.util.Translation;
import tk.sciwhiz12.concord.util.Translations;

public enum MemberStatus {
ONLINE(OnlineStatus.ONLINE, Translations.STATUS_ONLINE, 0x43b581, '\u25cf'),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
* SOFTWARE.
*/

package tk.sciwhiz12.concord.msg;
package dev.sciwhiz12.concord.msg;

import com.mojang.authlib.GameProfile;
import dev.sciwhiz12.concord.ConcordConfig;
import dev.sciwhiz12.concord.util.Translations;
import net.dv8tion.jda.api.Permission;
import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.entities.Message;
Expand All @@ -33,8 +35,6 @@
import net.minecraft.network.chat.*;
import net.minecraft.server.level.ServerPlayer;
import net.minecraft.server.players.PlayerList;
import tk.sciwhiz12.concord.ConcordConfig;
import tk.sciwhiz12.concord.util.Translations;

import javax.annotation.Nullable;
import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,10 @@
* SOFTWARE.
*/

package tk.sciwhiz12.concord.msg;
package dev.sciwhiz12.concord.msg;

import dev.sciwhiz12.concord.ChatBot;
import dev.sciwhiz12.concord.ConcordConfig;
import net.dv8tion.jda.api.entities.Member;
import net.dv8tion.jda.api.entities.Message;
import net.dv8tion.jda.api.entities.MessageReference;
Expand All @@ -33,8 +35,6 @@
import net.neoforged.neoforge.common.NeoForge;
import net.neoforged.neoforge.event.ServerChatEvent;
import net.neoforged.neoforge.event.TickEvent;
import tk.sciwhiz12.concord.ChatBot;
import tk.sciwhiz12.concord.ConcordConfig;

import java.util.Objects;

Expand Down
Loading

0 comments on commit affabf7

Please sign in to comment.