2026-03-01 12:16:08 +08:00
# pragma once
# include "..\Minecraft.World\SmoothFloat.h"
# include "..\Minecraft.World\net.minecraft.world.entity.player.h"
class Input ;
class RemotePlayer : public Player
{
2026-03-03 03:04:10 +08:00
public :
eINSTANCEOF GetType ( ) { return eTYPE_REMOTEPLAYER ; }
2026-03-01 12:16:08 +08:00
private :
bool hasStartedUsingItem ;
public :
Input * input ;
RemotePlayer ( Level * level , const wstring & name ) ;
protected :
virtual void setDefaultHeadHeight ( ) ;
public :
2026-03-03 03:04:10 +08:00
virtual bool hurt ( DamageSource * source , float dmg ) ;
2026-03-01 12:16:08 +08:00
private :
int lSteps ;
double lx , ly , lz , lyr , lxr ;
public :
virtual void lerpTo ( double x , double y , double z , float yRot , float xRot , int steps ) ;
float fallTime ;
virtual void tick ( ) ;
virtual float getShadowHeightOffs ( ) ;
virtual void aiStep ( ) ;
2026-03-02 17:37:16 +07:00
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
2026-03-01 12:16:08 +08:00
virtual void animateRespawn ( ) ;
virtual float getHeadHeight ( ) ;
bool hasPermission ( EGameCommand command ) { return false ; }
2026-03-03 03:04:10 +08:00
virtual Pos getCommandSenderWorldPosition ( ) ;
2026-03-01 12:16:08 +08:00
} ;