      private boolean isOutsideBorder;
  
      /**
+@@ -687,9 +694,21 @@ public abstract class Entity implements ICommandSender
+      */
+     public void moveEntity(double x, double y, double z)
+     {
+-        if (this.noClip)
+-        {
+-            this.setEntityBoundingBox(this.getEntityBoundingBox().offset(x, y, z));
++		// TODO: Client
++		// Enables NoClip.
++		boolean freecamActive = WurstClient.INSTANCE.mods.freecamMod.isActive();
++		if(this.noClip
++			|| ((freecamActive || WurstClient.INSTANCE.mods.phaseMod.isActive() || WurstClient.INSTANCE.mods.noClipMod
++				.isActive()) && this instanceof EntityPlayer))
++		{
++			// Fixes Freecam flight speed
++			if(this == Minecraft.getMinecraft().thePlayer && freecamActive)
++				this.setEntityBoundingBox(this.getEntityBoundingBox().offset(
++					x * 10, y, z * 10));
++			else
++				this.setEntityBoundingBox(this.getEntityBoundingBox().offset(x,
++					y, z));
++			
+             this.resetPositionToBB();
+         }
+         else
+@@ -713,7 +732,12 @@ public abstract class Entity implements ICommandSender
+             double d3 = x;
+             double d4 = y;
+             double d5 = z;
+-            boolean flag = this.onGround && this.isSneaking() && this instanceof EntityPlayer;
++            
++			// TODO: Client
++			boolean flag =
++				this.onGround
++					&& (this.isSneaking() || WurstClient.INSTANCE.mods.safeWalkMod
++						.isActive()) && this instanceof EntityPlayer;
+ 
+             if (flag)
+             {
+@@ -2265,9 +2289,15 @@ public abstract class Entity implements ICommandSender
+      */
+     public void setVelocity(double x, double y, double z)
+     {
+-        this.motionX = x;
+-        this.motionY = y;
+-        this.motionZ = z;
++		// TODO: Client
++		float strength = 1F;
++		AntiKnockbackMod antiKnockbackMod =
++			WurstClient.INSTANCE.mods.antiKnockbackMod;
++		if(antiKnockbackMod.isActive())
++			strength = 1F - antiKnockbackMod.strength;
++		this.motionX = x * strength;
++		this.motionY = y * strength;
++		this.motionZ = z * strength;
+     }
+ 
+     public void handleStatusUpdate(byte id)
 diff --git a/src/net/minecraft/entity/EntityLivingBase.java b/src/net/minecraft/entity/EntityLivingBase.java
 index d1580a1..19a5018 100644
 --- a/src/net/minecraft/entity/EntityLivingBase.java

     public boolean onGround;
 
     /**
@@ -143,7 +143,7 @@ public abstract class Entity implements ICommandSender
      */
     public boolean isCollided;
     public boolean velocityChanged;

From 1141152b6a896e1a3b29262cc2e85f04e107228e Mon Sep 17 00:00:00 2001
From: Alexander01998 <contact.wurstimperium@gmail.com>
Date: Tue, 5 Apr 2016 11:19:57 +0200
Subject: [PATCH] Wurst

---
