aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/gregtech/common/GT_Server.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/gregtech/common/GT_Server.java')
-rw-r--r--src/main/java/gregtech/common/GT_Server.java36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/main/java/gregtech/common/GT_Server.java b/src/main/java/gregtech/common/GT_Server.java
new file mode 100644
index 0000000000..cdcd954dea
--- /dev/null
+++ b/src/main/java/gregtech/common/GT_Server.java
@@ -0,0 +1,36 @@
+package gregtech.common;
+
+import net.minecraft.entity.player.EntityPlayer;
+import net.minecraft.item.ItemStack;
+import net.minecraft.world.World;
+
+public class GT_Server
+ extends GT_Proxy
+{
+ public boolean isServerSide()
+ {
+ return true;
+ }
+
+ public boolean isClientSide()
+ {
+ return false;
+ }
+
+ public boolean isBukkitSide()
+ {
+ return false;
+ }
+
+ public void doSonictronSound(ItemStack aStack, World aWorld, double aX, double aY, double aZ) {}
+
+ public int addArmor(String aPrefix)
+ {
+ return 0;
+ }
+
+ public EntityPlayer getThePlayer()
+ {
+ return null;
+ }
+}