aboutsummaryrefslogtreecommitdiff
path: root/src/Java/miscutil/gregtech/api/util
diff options
context:
space:
mode:
authorDraknyte1 <Draknyte1@hotmail.com>2016-04-24 02:24:39 +1000
committerDraknyte1 <Draknyte1@hotmail.com>2016-04-24 02:24:39 +1000
commite59cebaf22e175252dd6d5dd633b3d985c87ba14 (patch)
tree7bbd3a10deeaad5a08e8cbb24c395d07d0aba3b0 /src/Java/miscutil/gregtech/api/util
parent9eaed3ca7b79903cc77af29b4754ece58f2eace4 (diff)
downloadGT5-Unofficial-e59cebaf22e175252dd6d5dd633b3d985c87ba14.tar.gz
GT5-Unofficial-e59cebaf22e175252dd6d5dd633b3d985c87ba14.tar.bz2
GT5-Unofficial-e59cebaf22e175252dd6d5dd633b3d985c87ba14.zip
Code Cleanups.
Liquid Test 1.
Diffstat (limited to 'src/Java/miscutil/gregtech/api/util')
-rw-r--r--src/Java/miscutil/gregtech/api/util/IMessage.java21
-rw-r--r--src/Java/miscutil/gregtech/api/util/VanillaChatCommandSender.java35
2 files changed, 0 insertions, 56 deletions
diff --git a/src/Java/miscutil/gregtech/api/util/IMessage.java b/src/Java/miscutil/gregtech/api/util/IMessage.java
deleted file mode 100644
index 4a1fa2d684..0000000000
--- a/src/Java/miscutil/gregtech/api/util/IMessage.java
+++ /dev/null
@@ -1,21 +0,0 @@
-package miscutil.gregtech.api.util;
-
-import net.minecraft.client.Minecraft;
-import net.minecraft.util.ChatComponentText;
-
-public class IMessage {
-
- public static void messageThePlayer(String s){
- if(Minecraft.getMinecraft().thePlayer.worldObj.isRemote){
- Minecraft.getMinecraft().thePlayer.addChatComponentMessage(new ChatComponentText(s));
- }
- else if(!Minecraft.getMinecraft().thePlayer.worldObj.isRemote){
- Minecraft.getMinecraft().thePlayer.addChatComponentMessage(new ChatComponentText(s));
- }
- }
-
- public void messageOtherPlayer(String s){
- Minecraft.getMinecraft().thePlayer.addChatComponentMessage(new ChatComponentText(s));
- }
-
-}
diff --git a/src/Java/miscutil/gregtech/api/util/VanillaChatCommandSender.java b/src/Java/miscutil/gregtech/api/util/VanillaChatCommandSender.java
deleted file mode 100644
index 1971c79aeb..0000000000
--- a/src/Java/miscutil/gregtech/api/util/VanillaChatCommandSender.java
+++ /dev/null
@@ -1,35 +0,0 @@
-package miscutil.gregtech.api.util;
-
-import net.minecraft.util.ChunkCoordinates;
-import net.minecraft.util.IChatComponent;
-import net.minecraft.world.World;
-
-public interface VanillaChatCommandSender {
-
- /**
- * Gets the name of this command sender (usually username, but possibly "Rcon")
- */
- String getCommandSenderName();
-
- IChatComponent func_145748_c_();
-
- /**
- * Notifies this sender of some sort of information. This is for messages intended to display to the user. Used
- * for typical output (like "you asked for whether or not this game rule is set, so here's your answer"), warnings
- * (like "I fetched this block for you by ID, but I'd like you to know that every time you do this, I die a little
- * inside"), and errors (like "it's not called iron_pixacke, silly").
- */
- void addChatMessage(IChatComponent p_145747_1_);
-
- /**
- * Returns true if the command sender is allowed to use the given command.
- */
- boolean canCommandSenderUseCommand(int p_70003_1_, String p_70003_2_);
-
- /**
- * Return the position for this command sender.
- */
- ChunkCoordinates getPlayerCoordinates();
-
- World getEntityWorld();
- }