From 5108afc19ff7df33bf7b12dbba96ecd7c3d7a4fc Mon Sep 17 00:00:00 2001 From: Sollace Date: Thu, 21 Feb 2019 20:06:05 +0200 Subject: [PATCH] Adjusted player motion when talking on clouds --- .../java/com/minelittlepony/unicopia/entity/EntityCloud.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/entity/EntityCloud.java b/src/main/java/com/minelittlepony/unicopia/entity/EntityCloud.java index a5df4a5c..ed4ee7fb 100644 --- a/src/main/java/com/minelittlepony/unicopia/entity/EntityCloud.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/EntityCloud.java @@ -641,7 +641,7 @@ public class EntityCloud extends EntityFlying implements IAnimals, IInAnimate { entity.onGround = true; entity.motionY += (((floatStrength > 2 ? 1 : floatStrength/2) * 0.699999998079071D) - entity.motionY + boundModifier * 0.7) * 0.10000000149011612D; if (!getStationary()) { - entity.motionX -= 0.0105; + entity.motionX += ((motionX - entity.motionX) / getCloudSize()) - 0.002F; } if (!getStationary() && entity.motionY > 0.4 && world.rand.nextInt(900) == 0) {