          int j = this.mc.fontRendererObj.getStringWidth(s2);
          this.mc.fontRendererObj.drawString(s2, x + listWidth - j - 15 - 2, y + 1, 8421504);
          int k = 0;
+diff --git a/net/minecraft/client/gui/achievement/GuiStats.java b/net/minecraft/client/gui/achievement/GuiStats.java
+index f27da54..ec1d1b0 100644
+--- a/net/minecraft/client/gui/achievement/GuiStats.java
++++ b/net/minecraft/client/gui/achievement/GuiStats.java
+@@ -27,6 +27,8 @@ import net.minecraft.stats.StatBase;
+ import net.minecraft.stats.StatCrafting;
+ import net.minecraft.stats.StatList;
+ import net.minecraft.stats.StatisticsManager;
++import tk.wurst_client.WurstClient;
++
+ import org.lwjgl.input.Mouse;
+ 
+ public class GuiStats extends GuiScreen implements IProgressMeter
+@@ -87,6 +89,11 @@ public class GuiStats extends GuiScreen implements IProgressMeter
+ 
+     public void createButtons()
+     {
++		// TODO: Client
++		this.buttonList.add(new GuiButton(-1, this.width / 2 - 154,
++			this.height - 28, 150, 20, WurstClient.INSTANCE.isEnabled()
++				? "Disable Wurst" : "Enable Wurst"));
++    	
+         this.buttonList.add(new GuiButton(0, this.width / 2 + 4, this.height - 28, 150, 20, I18n.format("gui.done", new Object[0])));
+         this.buttonList.add(new GuiButton(1, this.width / 2 - 160, this.height - 52, 80, 20, I18n.format("stat.generalButton", new Object[0])));
+         GuiButton guibutton = this.func_189646_b(new GuiButton(2, this.width / 2 - 80, this.height - 52, 80, 20, I18n.format("stat.blocksButton", new Object[0])));
+@@ -116,6 +123,15 @@ public class GuiStats extends GuiScreen implements IProgressMeter
+     {
+         if (button.enabled)
+         {
++			// TODO: Client
++			if(button.id == -1)
++			{
++				WurstClient.INSTANCE
++					.setEnabled(!WurstClient.INSTANCE.isEnabled());
++				button.displayString = WurstClient.INSTANCE.isEnabled()
++					? "Disable Wurst" : "Enable Wurst";
++			}
++        	
+             if (button.id == 0)
+             {
+                 this.mc.displayGuiScreen(this.parentScreen);
 diff --git a/net/minecraft/client/gui/inventory/GuiChest.java b/net/minecraft/client/gui/inventory/GuiChest.java
 index cc5b679..e19584e 100644
 --- a/net/minecraft/client/gui/inventory/GuiChest.java

 net/minecraft/world/chunk/Chunk.java               |   2 +-
 .../world/gen/structure/MapGenStructure.java       |   6 +-
 net/minecraft/world/storage/WorldInfo.java         |  18 +-
 71 files changed, 1326 insertions(+), 445 deletions(-)

diff --git a/net/minecraft/block/Block.java b/net/minecraft/block/Block.java
index 25c6330..00426a2 100644

From e9dda44ed525d58933830d61f1ddfdf52ca7e89d Mon Sep 17 00:00:00 2001
From: Alexander01998 <contact.wurstimperium@gmail.com>
Date: Thu, 3 Nov 2016 15:13:04 +0100
Subject: [PATCH] mod

---
