Skip to content

Commit

Permalink
Consistent packages
Browse files Browse the repository at this point in the history
  • Loading branch information
MrSlimeDiamond committed Jul 5, 2023
1 parent 2632368 commit 1ca8a39
Show file tree
Hide file tree
Showing 16 changed files with 31 additions and 35 deletions.
2 changes: 1 addition & 1 deletion GalliumLib
Submodule GalliumLib updated 55 files
+5 −5 src/main/java/org/galliumpowered/Gallium.java
+1 −1 src/main/java/org/galliumpowered/Gamemode.java
+8 −0 src/main/java/org/galliumpowered/annotation/Args.java
+1 −1 src/main/java/org/galliumpowered/annotation/Command.java
+1 −1 src/main/java/org/galliumpowered/annotation/EventListener.java
+1 −1 src/main/java/org/galliumpowered/annotation/Plugin.java
+1 −1 src/main/java/org/galliumpowered/annotation/PluginLifecycleListener.java
+0 −8 src/main/java/org/galliumpowered/api/annotations/Args.java
+0 −6 src/main/java/org/galliumpowered/api/event/system/SystemEvent.java
+1 −1 src/main/java/org/galliumpowered/bridge/NMSBridge.java
+1 −1 src/main/java/org/galliumpowered/chat/Colors.java
+1 −1 src/main/java/org/galliumpowered/command/CommandCaller.java
+1 −1 src/main/java/org/galliumpowered/command/CommandCallerType.java
+1 −1 src/main/java/org/galliumpowered/command/CommandContext.java
+2 −2 src/main/java/org/galliumpowered/command/CommandManager.java
+2 −2 src/main/java/org/galliumpowered/command/MCommand.java
+2 −2 src/main/java/org/galliumpowered/command/PluginCommandManager.java
+1 −1 src/main/java/org/galliumpowered/command/args/ArgumentType.java
+1 −1 src/main/java/org/galliumpowered/config/Configuration.java
+1 −1 src/main/java/org/galliumpowered/config/DefaultConfiguration.java
+1 −1 src/main/java/org/galliumpowered/config/PluginConfiguration.java
+4 −4 src/main/java/org/galliumpowered/database/Database.java
+1 −1 src/main/java/org/galliumpowered/event/CancelableEvent.java
+1 −1 src/main/java/org/galliumpowered/event/Event.java
+1 −3 src/main/java/org/galliumpowered/event/EventDispatcher.java
+2 −3 src/main/java/org/galliumpowered/event/EventManager.java
+2 −2 src/main/java/org/galliumpowered/event/MListener.java
+1 −1 src/main/java/org/galliumpowered/event/player/PlayerBreakBlockEvent.java
+1 −1 src/main/java/org/galliumpowered/event/player/PlayerChatEvent.java
+2 −2 src/main/java/org/galliumpowered/event/player/PlayerDisconnectEvent.java
+2 −2 src/main/java/org/galliumpowered/event/player/PlayerEvent.java
+1 −1 src/main/java/org/galliumpowered/event/player/PlayerJoinEvent.java
+1 −1 src/main/java/org/galliumpowered/event/player/PlayerPlaceBlockEvent.java
+1 −1 src/main/java/org/galliumpowered/event/system/ServerShutdownEvent.java
+1 −1 src/main/java/org/galliumpowered/event/system/ServerStartEvent.java
+6 −0 src/main/java/org/galliumpowered/event/system/SystemEvent.java
+3 −3 src/main/java/org/galliumpowered/internal/plugin/GalliumPlugin.java
+3 −3 src/main/java/org/galliumpowered/internal/plugin/commands/GalliumCommand.java
+4 −4 src/main/java/org/galliumpowered/internal/plugin/commands/GamemodeCommand.java
+2 −2 src/main/java/org/galliumpowered/internal/plugin/commands/PingCommand.java
+5 −5 src/main/java/org/galliumpowered/internal/plugin/commands/permissions/GroupmodCommand.java
+5 −5 src/main/java/org/galliumpowered/internal/plugin/commands/permissions/PlayermodCommand.java
+5 −5 src/main/java/org/galliumpowered/internal/plugin/commands/plugin/PluginInfoCommand.java
+3 −3 src/main/java/org/galliumpowered/internal/plugin/commands/plugin/PluginListCommand.java
+4 −4 src/main/java/org/galliumpowered/internal/plugin/commands/testing/TestCommand.java
+2 −2 src/main/java/org/galliumpowered/internal/plugin/listeners/PlayerJoinListener.java
+2 −2 src/main/java/org/galliumpowered/permission/Group.java
+1 −1 src/main/java/org/galliumpowered/permission/GroupManager.java
+1 −1 src/main/java/org/galliumpowered/permission/PermissionManager.java
+1 −1 src/main/java/org/galliumpowered/permission/PermissionOwner.java
+1 −1 src/main/java/org/galliumpowered/plugin/PluginContainer.java
+1 −1 src/main/java/org/galliumpowered/plugin/inject/modules/InjectPluginModule.java
+1 −1 src/main/java/org/galliumpowered/plugin/inject/providers/PluginCommandManagerProvider.java
+1 −1 src/main/java/org/galliumpowered/plugin/metadata/PluginMetaLoader.java
+4 −4 src/main/java/org/galliumpowered/world/entity/Player.java
2 changes: 1 addition & 1 deletion src/main/java/net/minecraft/commands/Commands.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@
import net.minecraft.server.commands.WorldBorderCommand;
import net.minecraft.server.commands.data.DataCommands;
import net.minecraft.server.level.ServerPlayer;
import org.galliumpowered.api.chat.Colors;
import org.galliumpowered.chat.Colors;
import org.galliumpowered.util.TextTransformer;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/minecraft/server/MinecraftServer.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@
import net.minecraft.world.phys.Vec3;
import org.galliumpowered.Gallium;
import org.galliumpowered.Mod;
import org.galliumpowered.api.event.system.ServerShutdownEvent;
import org.galliumpowered.event.system.ServerShutdownEvent;
import org.apache.commons.lang3.Validate;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
import net.minecraft.world.level.storage.LevelStorageSource;
import net.minecraft.world.level.storage.WorldData;
import org.galliumpowered.Gallium;
import org.galliumpowered.api.event.system.ServerStartEvent;
import org.galliumpowered.event.system.ServerStartEvent;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@
import net.minecraft.world.level.block.entity.BlockEntity;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.phys.BlockHitResult;
import org.galliumpowered.api.event.player.PlayerBreakBlockEvent;
import org.galliumpowered.api.world.entity.player.PlayerImpl;
import org.galliumpowered.event.player.PlayerBreakBlockEvent;
import org.galliumpowered.world.entity.PlayerImpl;
import org.galliumpowered.world.block.WorldBlockImpl;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@
import net.minecraft.world.phys.shapes.BooleanOp;
import net.minecraft.world.phys.shapes.Shapes;
import net.minecraft.world.phys.shapes.VoxelShape;
import org.galliumpowered.api.event.player.PlayerChatEvent;
import org.galliumpowered.api.event.player.PlayerDisconnectEvent;
import org.galliumpowered.api.world.entity.player.PlayerImpl;
import org.galliumpowered.event.player.PlayerChatEvent;
import org.galliumpowered.event.player.PlayerDisconnectEvent;
import org.galliumpowered.world.entity.PlayerImpl;
import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/net/minecraft/server/players/PlayerList.java
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@
import net.minecraft.world.scores.PlayerTeam;
import net.minecraft.world.scores.Team;
import org.galliumpowered.Gallium;
import org.galliumpowered.api.event.player.PlayerJoinEvent;
import org.galliumpowered.api.world.entity.player.PlayerImpl;
import org.galliumpowered.event.player.PlayerJoinEvent;
import org.galliumpowered.world.entity.PlayerImpl;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/net/minecraft/world/item/BlockItem.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@
import net.minecraft.world.level.block.state.properties.Property;
import net.minecraft.world.level.gameevent.GameEvent;
import net.minecraft.world.phys.shapes.CollisionContext;
import org.galliumpowered.api.event.player.PlayerPlaceBlockEvent;
import org.galliumpowered.api.world.entity.player.PlayerImpl;
import org.galliumpowered.event.player.PlayerPlaceBlockEvent;
import org.galliumpowered.world.entity.PlayerImpl;
import org.galliumpowered.world.block.BlockImpl;

public class BlockItem extends Item {
Expand Down
8 changes: 4 additions & 4 deletions src/main/java/org/galliumpowered/Mod.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@

import net.minecraft.server.MinecraftServer;
import org.galliumpowered.bridge.BridgeImpl;
import org.galliumpowered.commandsys.CommandManager;
import org.galliumpowered.command.CommandManager;
import org.galliumpowered.database.Database;
import org.galliumpowered.event.EventDispatcherImpl;
import org.galliumpowered.eventsys.EventManager;
import org.galliumpowered.event.EventManager;
import org.galliumpowered.exceptions.GalliumDatabaseException;
import org.galliumpowered.permissionsys.GroupManager;
import org.galliumpowered.permissionsys.PermissionManager;
import org.galliumpowered.permission.GroupManager;
import org.galliumpowered.permission.PermissionManager;
import org.galliumpowered.plugin.PluginManager;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/galliumpowered/ServerImpl.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package org.galliumpowered;

import org.galliumpowered.world.entity.Player;
import org.galliumpowered.api.world.entity.player.PlayerImpl;
import org.galliumpowered.world.entity.PlayerImpl;

import java.util.ArrayList;

Expand Down
14 changes: 7 additions & 7 deletions src/main/java/org/galliumpowered/bridge/BridgeImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@
import net.minecraft.server.level.ServerPlayer;
import org.galliumpowered.Gallium;
import org.galliumpowered.Mod;
import org.galliumpowered.api.annotations.Args;
import org.galliumpowered.commandsys.args.ArgsTypeTranslator;
import org.galliumpowered.annotation.Args;
import org.galliumpowered.command.args.ArgsTypeTranslator;
import org.galliumpowered.world.entity.Player;
import org.galliumpowered.api.world.entity.player.PlayerImpl;
import org.galliumpowered.world.entity.PlayerImpl;
import org.galliumpowered.exceptions.CommandException;
import org.galliumpowered.commandsys.CommandCaller;
import org.galliumpowered.commandsys.CommandCallerImpl;
import org.galliumpowered.commandsys.CommandContextImpl;
import org.galliumpowered.commandsys.MCommand;
import org.galliumpowered.command.CommandCaller;
import org.galliumpowered.command.CommandCallerImpl;
import org.galliumpowered.command.CommandContextImpl;
import org.galliumpowered.command.MCommand;

import java.lang.reflect.Method;
import java.util.Arrays;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package org.galliumpowered.commandsys;
package org.galliumpowered.command;

import net.minecraft.server.level.ServerPlayer;
import org.galliumpowered.world.entity.Player;
import org.galliumpowered.api.world.entity.player.PlayerImpl;
import org.galliumpowered.world.entity.PlayerImpl;

import javax.annotation.Nullable;
import java.util.Optional;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.galliumpowered.commandsys;
package org.galliumpowered.command;

import org.galliumpowered.world.entity.Player;
import org.checkerframework.checker.nullness.qual.NonNull;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package org.galliumpowered.commandsys.args;
package org.galliumpowered.command.args;

import com.mojang.brigadier.arguments.StringArgumentType;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
package org.galliumpowered.event;

import org.galliumpowered.Gallium;
import org.galliumpowered.api.event.Event;
import org.galliumpowered.eventsys.EventDispatcher;
import org.galliumpowered.eventsys.EventManager;
import org.galliumpowered.eventsys.MListener;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
package org.galliumpowered.api.world.entity.player;
package org.galliumpowered.world.entity;

import net.kyori.adventure.text.Component;
import net.minecraft.Util;
import net.minecraft.server.level.ServerPlayer;
import net.minecraft.world.level.GameType;
import org.galliumpowered.api.Gamemode;
import org.galliumpowered.Gamemode;
import org.galliumpowered.world.entity.Player;
import org.galliumpowered.util.TextTransformer;

Expand Down

0 comments on commit 1ca8a39

Please sign in to comment.