104 lines
5.4 KiB
Diff
104 lines
5.4 KiB
Diff
--- a/net/minecraft/commands/Commands.java
|
|
+++ b/net/minecraft/commands/Commands.java
|
|
@@ -44,91 +_,7 @@
|
|
import net.minecraft.network.protocol.game.ClientboundCommandsPacket;
|
|
import net.minecraft.resources.ResourceKey;
|
|
import net.minecraft.server.MinecraftServer;
|
|
-import net.minecraft.server.commands.AdvancementCommands;
|
|
-import net.minecraft.server.commands.AttributeCommand;
|
|
-import net.minecraft.server.commands.BanIpCommands;
|
|
-import net.minecraft.server.commands.BanListCommands;
|
|
-import net.minecraft.server.commands.BanPlayerCommands;
|
|
-import net.minecraft.server.commands.BossBarCommands;
|
|
-import net.minecraft.server.commands.ClearInventoryCommands;
|
|
-import net.minecraft.server.commands.CloneCommands;
|
|
-import net.minecraft.server.commands.DamageCommand;
|
|
-import net.minecraft.server.commands.DataPackCommand;
|
|
-import net.minecraft.server.commands.DeOpCommands;
|
|
-import net.minecraft.server.commands.DebugCommand;
|
|
-import net.minecraft.server.commands.DebugConfigCommand;
|
|
-import net.minecraft.server.commands.DebugMobSpawningCommand;
|
|
-import net.minecraft.server.commands.DebugPathCommand;
|
|
-import net.minecraft.server.commands.DefaultGameModeCommands;
|
|
-import net.minecraft.server.commands.DifficultyCommand;
|
|
-import net.minecraft.server.commands.EffectCommands;
|
|
-import net.minecraft.server.commands.EmoteCommands;
|
|
-import net.minecraft.server.commands.EnchantCommand;
|
|
-import net.minecraft.server.commands.ExecuteCommand;
|
|
-import net.minecraft.server.commands.ExperienceCommand;
|
|
-import net.minecraft.server.commands.FillBiomeCommand;
|
|
-import net.minecraft.server.commands.FillCommand;
|
|
-import net.minecraft.server.commands.ForceLoadCommand;
|
|
-import net.minecraft.server.commands.FunctionCommand;
|
|
-import net.minecraft.server.commands.GameModeCommand;
|
|
-import net.minecraft.server.commands.GameRuleCommand;
|
|
-import net.minecraft.server.commands.GiveCommand;
|
|
-import net.minecraft.server.commands.HelpCommand;
|
|
-import net.minecraft.server.commands.ItemCommands;
|
|
-import net.minecraft.server.commands.JfrCommand;
|
|
-import net.minecraft.server.commands.KickCommand;
|
|
-import net.minecraft.server.commands.KillCommand;
|
|
-import net.minecraft.server.commands.ListPlayersCommand;
|
|
-import net.minecraft.server.commands.LocateCommand;
|
|
-import net.minecraft.server.commands.LootCommand;
|
|
-import net.minecraft.server.commands.MsgCommand;
|
|
-import net.minecraft.server.commands.OpCommand;
|
|
-import net.minecraft.server.commands.PardonCommand;
|
|
-import net.minecraft.server.commands.PardonIpCommand;
|
|
-import net.minecraft.server.commands.ParticleCommand;
|
|
-import net.minecraft.server.commands.PerfCommand;
|
|
-import net.minecraft.server.commands.PlaceCommand;
|
|
-import net.minecraft.server.commands.PlaySoundCommand;
|
|
-import net.minecraft.server.commands.PublishCommand;
|
|
-import net.minecraft.server.commands.RaidCommand;
|
|
-import net.minecraft.server.commands.RandomCommand;
|
|
-import net.minecraft.server.commands.RecipeCommand;
|
|
-import net.minecraft.server.commands.ReloadCommand;
|
|
-import net.minecraft.server.commands.ReturnCommand;
|
|
-import net.minecraft.server.commands.RideCommand;
|
|
-import net.minecraft.server.commands.RotateCommand;
|
|
-import net.minecraft.server.commands.SaveAllCommand;
|
|
-import net.minecraft.server.commands.SaveOffCommand;
|
|
-import net.minecraft.server.commands.SaveOnCommand;
|
|
-import net.minecraft.server.commands.SayCommand;
|
|
-import net.minecraft.server.commands.ScheduleCommand;
|
|
-import net.minecraft.server.commands.ScoreboardCommand;
|
|
-import net.minecraft.server.commands.SeedCommand;
|
|
-import net.minecraft.server.commands.ServerPackCommand;
|
|
-import net.minecraft.server.commands.SetBlockCommand;
|
|
-import net.minecraft.server.commands.SetPlayerIdleTimeoutCommand;
|
|
-import net.minecraft.server.commands.SetSpawnCommand;
|
|
-import net.minecraft.server.commands.SetWorldSpawnCommand;
|
|
-import net.minecraft.server.commands.SpawnArmorTrimsCommand;
|
|
-import net.minecraft.server.commands.SpectateCommand;
|
|
-import net.minecraft.server.commands.SpreadPlayersCommand;
|
|
-import net.minecraft.server.commands.StopCommand;
|
|
-import net.minecraft.server.commands.StopSoundCommand;
|
|
-import net.minecraft.server.commands.SummonCommand;
|
|
-import net.minecraft.server.commands.TagCommand;
|
|
-import net.minecraft.server.commands.TeamCommand;
|
|
-import net.minecraft.server.commands.TeamMsgCommand;
|
|
-import net.minecraft.server.commands.TeleportCommand;
|
|
-import net.minecraft.server.commands.TellRawCommand;
|
|
-import net.minecraft.server.commands.TickCommand;
|
|
-import net.minecraft.server.commands.TimeCommand;
|
|
-import net.minecraft.server.commands.TitleCommand;
|
|
-import net.minecraft.server.commands.TransferCommand;
|
|
-import net.minecraft.server.commands.TriggerCommand;
|
|
-import net.minecraft.server.commands.WardenSpawnTrackerCommand;
|
|
-import net.minecraft.server.commands.WeatherCommand;
|
|
-import net.minecraft.server.commands.WhitelistCommand;
|
|
-import net.minecraft.server.commands.WorldBorderCommand;
|
|
+import net.minecraft.server.commands.*; // Plazma - Register every commands
|
|
import net.minecraft.server.commands.data.DataCommands;
|
|
import net.minecraft.server.level.ServerPlayer;
|
|
import net.minecraft.tags.TagKey;
|
|
@@ -229,6 +_,7 @@
|
|
WardenSpawnTrackerCommand.register(this.dispatcher);
|
|
SpawnArmorTrimsCommand.register(this.dispatcher);
|
|
ServerPackCommand.register(this.dispatcher);
|
|
+ ChaseCommand.register(this.dispatcher); // Plazma - Register every commands
|
|
if (selection.includeDedicated) {
|
|
DebugConfigCommand.register(this.dispatcher);
|
|
}
|