diff --git a/src/main/java/com/minelittlepony/unicopia/entity/player/PlayerPhysics.java b/src/main/java/com/minelittlepony/unicopia/entity/player/PlayerPhysics.java index b77b8e32..3fdb1882 100644 --- a/src/main/java/com/minelittlepony/unicopia/entity/player/PlayerPhysics.java +++ b/src/main/java/com/minelittlepony/unicopia/entity/player/PlayerPhysics.java @@ -37,6 +37,7 @@ import net.minecraft.particle.ParticleTypes; import net.minecraft.predicate.entity.EntityPredicates; import net.minecraft.sound.SoundCategory; import net.minecraft.sound.SoundEvents; +import net.minecraft.text.Text; import net.minecraft.util.math.*; import net.minecraft.world.event.GameEvent; @@ -290,6 +291,11 @@ public class PlayerPhysics extends EntityPhysics implements Tickab } else { strafe *= 0.28; } + + if (((LivingEntityDuck)entity).isJumping()) { + velocity.y -= 0.2F * getGravitySignum(); + velocity.y /= 2F; + } } else { prevStrafe = 0; strafe = 0;