flewkey
/
mc.2a03.party
Archived
1
0
Fork 0

Change package name

master
flewkey 4 years ago
parent 29f6c16bcd
commit dde5676e17
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
  1. 6
      patches/net/minecraft/command/Commands.patch
  2. 2
      patches/net/minecraft/server/MinecraftServer.patch
  3. 4
      src/party/_2a03/mc/command/ConfigCommand.java
  4. 8
      src/party/_2a03/mc/command/HomeCommand.java
  5. 6
      src/party/_2a03/mc/command/SpawnCommand.java
  6. 6
      src/party/_2a03/mc/server/Config.java
  7. 4
      src/party/_2a03/mc/server/PlayerData.java
  8. 2
      src/party/_2a03/mc/server/PlayerPosition.java

@ -4,9 +4,9 @@
import net.minecraft.util.text.event.HoverEvent;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
+import party._2a03.command.SpawnCommand; //Patched
+import party._2a03.command.HomeCommand; //Patched
+import party._2a03.command.ConfigCommand; //Patched
+import party._2a03.mc.command.SpawnCommand; //Patched
+import party._2a03.mc.command.HomeCommand; //Patched
+import party._2a03.mc.command.ConfigCommand; //Patched
public class Commands {
private static final Logger field_197061_a = LogManager.getLogger();

@ -4,7 +4,7 @@
import org.apache.commons.lang3.Validate;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
+import party._2a03.server.Config; //Patched
+import party._2a03.mc.server.Config; //Patched
public abstract class MinecraftServer extends RecursiveEventLoop<TickDelayedTask> implements ISnooperInfo, ICommandSource, AutoCloseable, Runnable {
private static final Logger field_147145_h = LogManager.getLogger();

@ -1,11 +1,11 @@
package party._2a03.command;
package party._2a03.mc.command;
import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.builder.LiteralArgumentBuilder;
import net.minecraft.command.CommandSource;
import net.minecraft.command.Commands;
import net.minecraft.util.text.TranslationTextComponent;
import party._2a03.server.Config;
import party._2a03.mc.server.Config;
public class ConfigCommand {
public static void register(CommandDispatcher<CommandSource> dispatcher) {

@ -1,4 +1,4 @@
package party._2a03.command;
package party._2a03.mc.command;
import com.mojang.brigadier.CommandDispatcher;
import com.mojang.brigadier.arguments.StringArgumentType;
@ -8,9 +8,9 @@ import net.minecraft.command.Commands;
import net.minecraft.util.text.TranslationTextComponent;
import net.minecraft.entity.player.ServerPlayerEntity;
import net.minecraft.world.ServerWorld;
import party._2a03.server.Config;
import party._2a03.server.PlayerData;
import party._2a03.server.PlayerPosition;
import party._2a03.mc.server.Config;
import party._2a03.mc.server.PlayerData;
import party._2a03.mc.server.PlayerPosition;
public class HomeCommand {
public static void register(CommandDispatcher<CommandSource> dispatcher) {

@ -1,4 +1,4 @@
package party._2a03.command;
package party._2a03.mc.command;
import com.mojang.brigadier.CommandDispatcher;
import net.minecraft.command.CommandSource;
@ -6,8 +6,8 @@ import net.minecraft.command.Commands;
import net.minecraft.util.text.TranslationTextComponent;
import net.minecraft.entity.player.ServerPlayerEntity;
import net.minecraft.world.ServerWorld;
import party._2a03.server.Config;
import party._2a03.server.PlayerPosition;
import party._2a03.mc.server.Config;
import party._2a03.mc.server.PlayerPosition;
public class SpawnCommand {
public static void register(CommandDispatcher<CommandSource> dispatcher) {

@ -1,4 +1,4 @@
package party._2a03.server;
package party._2a03.mc.server;
import com.google.common.collect.Maps;
import java.io.File;
@ -13,8 +13,8 @@ import org.json.JSONArray;
import org.apache.commons.io.IOUtils;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import party._2a03.server.PlayerData;
import party._2a03.server.PlayerPosition;
import party._2a03.mc.server.PlayerData;
import party._2a03.mc.server.PlayerPosition;
public class Config {
private static JSONObject json;

@ -1,8 +1,8 @@
package party._2a03.server;
package party._2a03.mc.server;
import org.json.JSONArray;
import org.json.JSONObject;
import party._2a03.server.PlayerPosition;
import party._2a03.mc.server.PlayerPosition;
public class PlayerData {
private String uuid;

@ -1,4 +1,4 @@
package party._2a03.server;
package party._2a03.mc.server;
import org.json.JSONArray;
import net.minecraft.world.ServerWorld;