mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-05-31 11:45:58 +00:00
chore: format Minecraft.World
This commit is contained in:
@@ -2,20 +2,15 @@
|
||||
#include "../../Headers/net.minecraft.world.entity.h"
|
||||
#include "JumpControl.h"
|
||||
|
||||
JumpControl::JumpControl(Mob *mob)
|
||||
{
|
||||
_jump = false;
|
||||
JumpControl::JumpControl(Mob* mob) {
|
||||
_jump = false;
|
||||
|
||||
this->mob = mob;
|
||||
this->mob = mob;
|
||||
}
|
||||
|
||||
void JumpControl::jump()
|
||||
{
|
||||
_jump = true;
|
||||
}
|
||||
void JumpControl::jump() { _jump = true; }
|
||||
|
||||
void JumpControl::tick()
|
||||
{
|
||||
mob->setJumping(_jump);
|
||||
_jump = false;
|
||||
void JumpControl::tick() {
|
||||
mob->setJumping(_jump);
|
||||
_jump = false;
|
||||
}
|
||||
Reference in New Issue
Block a user