Minecraft TU19
This commit is contained in:
1 parent
44371d6718
commit
c3951d47ba
3025 files changed
+670507
-2
No files matched your search
@@ -0,0 +1,21 @@
|
||||
#include "stdafx.h"
|
||||
#include "net.minecraft.world.entity.h"
|
||||
#include "JumpControl.h"
|
||||
|
||||
JumpControl::JumpControl(Mob *mob)
|
||||
{
|
||||
_jump = false;
|
||||
|
||||
this->mob = mob;
|
||||
}
|
||||
|
||||
void JumpControl::jump()
|
||||
{
|
||||
_jump = true;
|
||||
}
|
||||
|
||||
void JumpControl::tick()
|
||||
{
|
||||
mob->setJumping(_jump);
|
||||
_jump = false;
|
||||
}
|
||||
Reference in new issue
Block a user