the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1#pragma once
2#include "..\Minecraft.World\SmoothFloat.h"
3#include "..\Minecraft.World\net.minecraft.world.entity.player.h"
4
5class Input;
6
7class RemotePlayer : public Player
8{
9public:
10 eINSTANCEOF GetType() { return eTYPE_REMOTEPLAYER; }
11
12private:
13 bool hasStartedUsingItem;
14public:
15 Input *input;
16 RemotePlayer(Level *level, const wstring& name);
17protected:
18 virtual void setDefaultHeadHeight();
19public:
20 virtual bool hurt(DamageSource *source, float dmg);
21private:
22 int lSteps;
23 double lx, ly, lz, lyr, lxr;
24
25public:
26 virtual void lerpTo(double x, double y, double z, float yRot, float xRot, int steps);
27 float fallTime;
28
29 virtual void tick();
30 virtual float getShadowHeightOffs();
31 virtual void aiStep();
32 virtual void setEquippedSlot(int slot, shared_ptr<ItemInstance> item);// 4J Stu - Brought forward change from 1.3 to fix #64688 - Customer Encountered: TU7: Content: Art: Aura of enchanted item is not displayed for other players in online game
33 virtual void animateRespawn();
34 virtual float getHeadHeight();
35 bool hasPermission(EGameCommand command) { return false; }
36 virtual Pos getCommandSenderWorldPosition();
37};