isSneaking()){ return null; } $entity->resetFallDistance(); return -$entity->getMotion()->y; } //TODO: slime blocks should slow entities walking on them to about 0.4x original speed }