the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#include "stdafx.h"
2#include "net.minecraft.world.entity.h"
3#include "JumpControl.h"
4
5JumpControl::JumpControl(Mob *mob)
6{
7 _jump = false;
8
9 this->mob = mob;
10}
11
12void JumpControl::jump()
13{
14 _jump = true;
15}
16
17void JumpControl::tick()
18{
19 mob->setJumping(_jump);
20 _jump = false;
21}