PHP Class pocketmine\Player

Inheritance: extends pocketmine\entity\Human, implements pocketmine\command\CommandSender, implements pocketmine\inventory\InventoryHolder, implements pocketmine\level\ChunkLoader, implements pocketmine\IPlayer
ファイルを表示 Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$achievements
$blocked
$craftingType
$creationTime
$fishingHook pocketmine\entity\FishingHook
$foodTick
$foodUsageTime
$fromPos pocketmine\math\Vector3
$gamemode
$lastBreak
$lastCorrect
$loggedIn
$playedBefore boolean
$selectedLev pocketmine\level\Level[]
$selectedPos pocketmine\level\Position[]
$spawned
$speed pocketmine\math\Vector3
$starvationTick
$usedChunks
$weatherData

Protected Properties

Property Type Description
$allowFlight
$autoJump
$chunkLoadCount
$chunksPerTick
$clientID
$connected
$displayName
$forceMovement pocketmine\math\Vector3
$hiddenPlayers Player[]
$inAirTicks
$interface pocketmine\network\SourceInterface
$ip
$isCrafting 0 = 2x2 crafting, 1 = 3x3 crafting, 2 = anvil, 3 = enchanting
$iusername
$lastMovement
$loadQueue
$messageCounter
$moving
$newPosition pocketmine\math\Vector3
$nextChunkOrderRun
$personalCreativeItems pocketmine\item\Item[]
$port
$protocol
$randomClientId
$removeFormat
$sendIndex
$shouldSendStatus
$sleeping pocketmine\math\Vector3
$spawnPosition null | pocketmine\level\Position
$spawnThreshold
$startAction
$startAirTicks
$stepHeight
$teleportPosition pocketmine\math\Vector3
$username
$viewDistance
$windowCnt
$windowIndex pocketmine\inventory\Inventory[]
$windows SplObjectStorage

Public Methods

Method Description
__construct ( pocketmine\network\SourceInterface $interface, null $clientID, string $ip, integer $port )
__debugInfo ( )
addAttachment ( pocketmine\plugin\Plugin $plugin, string $name = null, boolean $value = null ) : PermissionAttachment
addCreativeItem ( Item $item )
addExpLevel ( integer $level )
addExperience ( integer $exp )
addMovement ( $x, $y, $z, $yaw, $pitch, $headYaw = null )
addWindow ( pocketmine\inventory\Inventory $inventory, integer $forceId = null ) : integer Returns the created/existing window id
attack ( $damage, EntityDamageEvent $source )
awardAchievement ( string $achievementId ) : boolean
batchDataPacket ( DataPacket $packet ) : boolean Batch a Data packet into the channel list to send at the end of the tick
calcExpLevel ( )
canCollideWith ( Entity $entity ) : boolean
canInteract ( Vector3 $pos, $maxDistance, $maxDiff = 0.5 )
canPickupExp ( ) : boolean
canSee ( Player $player ) : boolean
checkNetwork ( )
clearCreativeItems ( )
close ( string $message = "", string $reason = "generic reason", boolean $notify = true ) Note for plugin developers: use kick() with the isAdmin flag set to kick without the "Kicked by admin" part instead of this method.
dataPacket ( DataPacket $packet, boolean $needACK = false ) : integer | boolean Sends an ordered DataPacket to the send buffer
directDataPacket ( DataPacket $packet, boolean $needACK = false ) : boolean | integer
dropItem ( Item $item )
getAddress ( ) : string Gets the player IP address
getAllowFlight ( ) : boolean
getChunkCacheFromData ( $chunkX, $chunkZ, $payload, integer $ordering = FullChunkDataPacket::ORDER_COLUMNS ) : BatchPacket | FullChunkDataPacket
getClientId ( ) This might disappear in the future.
getClientSecret ( )
getCreativeItemIndex ( Item $item ) : integer
getCreativeItems ( ) : array
getDisplayName ( ) : string Gets the "friendly" name to display of this player to use in the chat.
getDrops ( ) : array
getEffectivePermissions ( ) : PermissionAttachmentInfo[]
getExp ( )
getExpLevel ( )
getExpectedExperience ( )
getFirstPlayed ( )
getFishingHook ( )
getGamemode ( ) : integer
getInAirTicks ( )
getItemInHand ( )
getLastPlayed ( )
getLeaveMessage ( )
getLevelUpExpectedExperience ( )
getLoaderId ( )
getMetadata ( $metadataKey )
getName ( ) : string Gets the username
getNextPosition ( )
getPlayer ( )
getPort ( ) : integer
getProtocol ( )
getRemoveFormat ( ) : boolean
getServer ( ) : Server
getSpawn ( ) : Position
getWindowId ( pocketmine\inventory\Inventory $inventory ) : integer
handleDataPacket ( DataPacket $packet ) Handles a Minecraft packet TODO: Separate all of this in handlers
hasAchievement ( string $achievementId ) : boolean
hasAutoJump ( ) : boolean
hasMetadata ( $metadataKey )
hasPermission ( Permission | string $name ) : boolean
hasPlayedBefore ( )
hidePlayer ( Player $player )
isAdventure ( ) : boolean
isBanned ( )
isConnected ( ) : boolean
isCreative ( ) : boolean
isFishing ( )
isLoaderActive ( )
isMoving ( ) : boolean
isOnline ( ) : boolean
isOp ( ) : boolean
isPermissionSet ( Permission | string $name ) : boolean
isSleeping ( ) : boolean
isSpectator ( ) : boolean
isSurvival ( ) : boolean
isWhitelisted ( ) : boolean
kick ( string $reason = "", boolean $isAdmin = true ) : boolean Kicks a player from the server
kill ( )
linkHookToPlayer ( FishingHook $entity )
onBlockChanged ( Vector3 $block )
onChunkChanged ( pocketmine\level\format\FullChunk $chunk )
onChunkLoaded ( pocketmine\level\format\FullChunk $chunk )
onChunkPopulated ( pocketmine\level\format\FullChunk $chunk )
onChunkUnloaded ( pocketmine\level\format\FullChunk $chunk )
onPlayerPreLogin ( )
onUpdate ( $currentTick )
recalculatePermissions ( )
removeAchievement ( string $achievementId )
removeAttachment ( PermissionAttachment $attachment ) : boolean
removeCreativeItem ( Item $item )
removeMetadata ( $metadataKey, pocketmine\plugin\Plugin $plugin )
removeWindow ( pocketmine\inventory\Inventory $inventory )
resetExpCooldown ( )
resetFallDistance ( )
save ( $async = false ) Handles player data saving
sendAttributes ( )
sendChunk ( $x, $z, $payload, $ordering = FullChunkDataPacket::ORDER_COLUMNS )
sendMessage ( string | TextContainer $message ) : boolean Sends a direct chat message to a player
sendPopup ( $message, $subtitle = "" )
sendPosition ( Vector3 $pos, $yaw = null, $pitch = null, $mode, array $targets = null )
sendSettings ( ) Sends all the option flags
sendTip ( $message ) : boolean
sendTranslation ( $message, array $parameters = [] )
setAllowFlight ( $value )
setAutoJump ( $value )
setBanned ( $value )
setDataProperty ( $id, $type, $value )
setDisplayName ( string $name )
setExp ( integer $exp )
setExpLevel ( integer $level )
setExperienceAndLevel ( integer $exp, integer $level )
setFishingHook ( FishingHook $entity = null )
setGamemode ( integer $gm ) : boolean Sets the gamemode, and if needed, kicks the Player.
setHealth ( $amount )
setMetadata ( $metadataKey, MetadataValue $metadataValue )
setMotion ( Vector3 $mot )
setMoving ( $moving )
setOp ( boolean $value )
setRemoveFormat ( boolean $remove = true )
setSkin ( $str, $skinId )
setSpawn ( Vector3 $pos ) Sets the spawnpoint of the player (and the compass direction) to a Vector3, or set it on another world with a Position object
setWhitelisted ( $value )
showPlayer ( Player $player )
sleepOn ( Vector3 $pos ) : boolean
spawnTo ( Player $player )
stopSleep ( )
teleport ( Vector3 $pos, float $yaw = null, float $pitch = null ) : boolean
teleportImmediate ( Vector3 $pos, float $yaw = null, float $pitch = null ) This method may not be reliable. Clients don't like to be moved into unloaded chunks.
unlinkHookFromPlayer ( )
updateExperience ( )

Protected Methods

Method Description
checkBlockCollision ( )
checkChunks ( )
checkGroundState ( $movX, $movY, $movZ, $dx, $dy, $dz )
checkNearEntities ( $tickDiff )
checkTeleportPosition ( )
doFirstSpawn ( )
orderChunks ( )
processLogin ( )
processMovement ( $tickDiff )
sendNextChunk ( )
switchLevel ( Level $targetLevel )
updateMovement ( )

Private Methods

Method Description
unloadChunk ( $x, $z, Level $level = null )

Method Details

__construct() public method

public __construct ( pocketmine\network\SourceInterface $interface, null $clientID, string $ip, integer $port )
$interface pocketmine\network\SourceInterface
$clientID null
$ip string
$port integer

__debugInfo() public method

public __debugInfo ( )

addAttachment() public method

public addAttachment ( pocketmine\plugin\Plugin $plugin, string $name = null, boolean $value = null ) : PermissionAttachment
$plugin pocketmine\plugin\Plugin
$name string
$value boolean
return pocketmine\permission\PermissionAttachment

addCreativeItem() public method

public addCreativeItem ( Item $item )
$item pocketmine\item\Item

addExpLevel() public method

Deprecation: Use Human::addXpLevel(), this method will be removed in the future.
public addExpLevel ( integer $level )
$level integer

addExperience() public method

Deprecation: Use Human::addXp($xp), this method will be removed in the future.
public addExperience ( integer $exp )
$exp integer

addMovement() public method

public addMovement ( $x, $y, $z, $yaw, $pitch, $headYaw = null )

addWindow() public method

Returns the created/existing window id
public addWindow ( pocketmine\inventory\Inventory $inventory, integer $forceId = null ) : integer
$inventory pocketmine\inventory\Inventory
$forceId integer
return integer

attack() public method

public attack ( $damage, EntityDamageEvent $source )
$source pocketmine\event\entity\EntityDamageEvent

awardAchievement() public method

public awardAchievement ( string $achievementId ) : boolean
$achievementId string
return boolean

batchDataPacket() public method

Batch a Data packet into the channel list to send at the end of the tick
public batchDataPacket ( DataPacket $packet ) : boolean
$packet pocketmine\network\protocol\DataPacket
return boolean

calcExpLevel() public method

Deprecation:
public calcExpLevel ( )

canCollideWith() public method

public canCollideWith ( Entity $entity ) : boolean
$entity pocketmine\entity\Entity
return boolean

canInteract() public method

public canInteract ( Vector3 $pos, $maxDistance, $maxDiff = 0.5 )
$pos pocketmine\math\Vector3

canPickupExp() public method

Deprecation: Use Human::canPickupXp(), this method will be removed in the future.
public canPickupExp ( ) : boolean
return boolean

canSee() public method

public canSee ( Player $player ) : boolean
$player Player
return boolean

checkBlockCollision() protected method

protected checkBlockCollision ( )

checkChunks() protected method

protected checkChunks ( )

checkGroundState() protected method

protected checkGroundState ( $movX, $movY, $movZ, $dx, $dy, $dz )

checkNearEntities() protected method

protected checkNearEntities ( $tickDiff )

checkNetwork() public method

public checkNetwork ( )

checkTeleportPosition() protected method

protected checkTeleportPosition ( )

clearCreativeItems() public method

public clearCreativeItems ( )

close() final public method

Note for plugin developers: use kick() with the isAdmin flag set to kick without the "Kicked by admin" part instead of this method.
final public close ( string $message = "", string $reason = "generic reason", boolean $notify = true )
$message string Message to be broadcasted
$reason string Reason showed in console
$notify boolean

dataPacket() public method

Sends an ordered DataPacket to the send buffer
public dataPacket ( DataPacket $packet, boolean $needACK = false ) : integer | boolean
$packet pocketmine\network\protocol\DataPacket
$needACK boolean
return integer | boolean

directDataPacket() public method

public directDataPacket ( DataPacket $packet, boolean $needACK = false ) : boolean | integer
$packet pocketmine\network\protocol\DataPacket
$needACK boolean
return boolean | integer

doFirstSpawn() protected method

protected doFirstSpawn ( )

dropItem() public method

public dropItem ( Item $item )
$item pocketmine\item\Item Drops the specified item in front of the player.

getAddress() public method

Gets the player IP address
public getAddress ( ) : string
return string

getAllowFlight() public method

public getAllowFlight ( ) : boolean
return boolean

getChunkCacheFromData() public static method

public static getChunkCacheFromData ( $chunkX, $chunkZ, $payload, integer $ordering = FullChunkDataPacket::ORDER_COLUMNS ) : BatchPacket | FullChunkDataPacket
$chunkX
$chunkZ
$payload
$ordering integer
return pocketmine\network\protocol\BatchPacket | pocketmine\network\protocol\FullChunkDataPacket

getClientId() public method

Please use getUniqueId() instead (IP + clientId + name combo, in the future it'll change to real UUID for online auth)
public getClientId ( )

getClientSecret() public method

public getClientSecret ( )

getCreativeItemIndex() public method

public getCreativeItemIndex ( Item $item ) : integer
$item pocketmine\item\Item
return integer

getCreativeItems() public method

public getCreativeItems ( ) : array
return array

getDisplayName() public method

Gets the "friendly" name to display of this player to use in the chat.
public getDisplayName ( ) : string
return string

getDrops() public method

public getDrops ( ) : array
return array

getEffectivePermissions() public method

public getEffectivePermissions ( ) : PermissionAttachmentInfo[]
return pocketmine\permission\PermissionAttachmentInfo[]

getExp() public method

Deprecation: Use Human::getTotalXp(), this method will be removed in the future.
public getExp ( )

getExpLevel() public method

Deprecation: Use Human::getXpLevel(), this method will be removed in the future.
public getExpLevel ( )

getExpectedExperience() public method

Deprecation: Use Human::getTotalXpRequirement($level), this method will be removed in the future.

getFirstPlayed() public method

public getFirstPlayed ( )

getFishingHook() public method

public getFishingHook ( )

getGamemode() public method

public getGamemode ( ) : integer
return integer

getInAirTicks() public method

public getInAirTicks ( )

getItemInHand() public method

public getItemInHand ( )

getLastPlayed() public method

public getLastPlayed ( )

getLeaveMessage() public method

public getLeaveMessage ( )

getLevelUpExpectedExperience() public method

Deprecation: Use Human::getLevelXpRequirement($level), this method will be removed in the future.

getLoaderId() public method

public getLoaderId ( )

getMetadata() public method

public getMetadata ( $metadataKey )

getName() public method

Gets the username
public getName ( ) : string
return string

getNextPosition() public method

public getNextPosition ( )

getPlayer() public method

public getPlayer ( )

getPort() public method

public getPort ( ) : integer
return integer

getProtocol() public method

public getProtocol ( )

getRemoveFormat() public method

public getRemoveFormat ( ) : boolean
return boolean

getServer() public method

public getServer ( ) : Server
return Server

getSpawn() public method

public getSpawn ( ) : Position
return pocketmine\level\Position

getWindowId() public method

public getWindowId ( pocketmine\inventory\Inventory $inventory ) : integer
$inventory pocketmine\inventory\Inventory
return integer

handleDataPacket() public method

WARNING: Do not use this, it's only for internal use. Changes to this function won't be recorded on the version.
public handleDataPacket ( DataPacket $packet )
$packet pocketmine\network\protocol\DataPacket

hasAchievement() public method

public hasAchievement ( string $achievementId ) : boolean
$achievementId string
return boolean

hasAutoJump() public method

public hasAutoJump ( ) : boolean
return boolean

hasMetadata() public method

public hasMetadata ( $metadataKey )

hasPermission() public method

public hasPermission ( Permission | string $name ) : boolean
$name pocketmine\permission\Permission | string
return boolean

hasPlayedBefore() public method

public hasPlayedBefore ( )

hidePlayer() public method

public hidePlayer ( Player $player )
$player Player

isAdventure() public method

public isAdventure ( ) : boolean
return boolean

isBanned() public method

public isBanned ( )

isConnected() public method

public isConnected ( ) : boolean
return boolean

isCreative() public method

public isCreative ( ) : boolean
return boolean

isFishing() public method

public isFishing ( )

isLoaderActive() public method

public isLoaderActive ( )

isMoving() public method

public isMoving ( ) : boolean
return boolean

isOnline() public method

public isOnline ( ) : boolean
return boolean

isOp() public method

public isOp ( ) : boolean
return boolean

isPermissionSet() public method

public isPermissionSet ( Permission | string $name ) : boolean
$name pocketmine\permission\Permission | string
return boolean

isSleeping() public method

public isSleeping ( ) : boolean
return boolean

isSpectator() public method

public isSpectator ( ) : boolean
return boolean

isSurvival() public method

public isSurvival ( ) : boolean
return boolean

isWhitelisted() public method

public isWhitelisted ( ) : boolean
return boolean

kick() public method

Kicks a player from the server
public kick ( string $reason = "", boolean $isAdmin = true ) : boolean
$reason string
$isAdmin boolean
return boolean

kill() public method

public kill ( )

linkHookToPlayer() public method

public linkHookToPlayer ( FishingHook $entity )
$entity pocketmine\entity\FishingHook

onBlockChanged() public method

public onBlockChanged ( Vector3 $block )
$block pocketmine\math\Vector3

onChunkChanged() public method

public onChunkChanged ( pocketmine\level\format\FullChunk $chunk )
$chunk pocketmine\level\format\FullChunk

onChunkLoaded() public method

public onChunkLoaded ( pocketmine\level\format\FullChunk $chunk )
$chunk pocketmine\level\format\FullChunk

onChunkPopulated() public method

public onChunkPopulated ( pocketmine\level\format\FullChunk $chunk )
$chunk pocketmine\level\format\FullChunk

onChunkUnloaded() public method

public onChunkUnloaded ( pocketmine\level\format\FullChunk $chunk )
$chunk pocketmine\level\format\FullChunk

onPlayerPreLogin() public method

public onPlayerPreLogin ( )

onUpdate() public method

public onUpdate ( $currentTick )

orderChunks() protected method

protected orderChunks ( )

processLogin() protected method

protected processLogin ( )

processMovement() protected method

protected processMovement ( $tickDiff )

recalculatePermissions() public method

removeAchievement() public method

public removeAchievement ( string $achievementId )
$achievementId string

removeAttachment() public method

public removeAttachment ( PermissionAttachment $attachment ) : boolean
$attachment pocketmine\permission\PermissionAttachment
return boolean

removeCreativeItem() public method

public removeCreativeItem ( Item $item )
$item pocketmine\item\Item

removeMetadata() public method

public removeMetadata ( $metadataKey, pocketmine\plugin\Plugin $plugin )
$plugin pocketmine\plugin\Plugin

removeWindow() public method

public removeWindow ( pocketmine\inventory\Inventory $inventory )
$inventory pocketmine\inventory\Inventory

resetExpCooldown() public method

Deprecation: Use Human::resetXpCooldown(), this method will be removed in the future.
public resetExpCooldown ( )

resetFallDistance() public method

public resetFallDistance ( )

save() public method

Handles player data saving
public save ( $async = false )

sendAttributes() public method

public sendAttributes ( )

sendChunk() public method

public sendChunk ( $x, $z, $payload, $ordering = FullChunkDataPacket::ORDER_COLUMNS )

sendMessage() public method

Sends a direct chat message to a player
public sendMessage ( string | TextContainer $message ) : boolean
$message string | pocketmine\event\TextContainer
return boolean

sendNextChunk() protected method

protected sendNextChunk ( )

sendPopup() public method

public sendPopup ( $message, $subtitle = "" )

sendPosition() public method

public sendPosition ( Vector3 $pos, $yaw = null, $pitch = null, $mode, array $targets = null )
$pos pocketmine\math\Vector3
$targets array

sendSettings() public method

Sends all the option flags
public sendSettings ( )

sendTip() public method

public sendTip ( $message ) : boolean
$message
return boolean

sendTranslation() public method

public sendTranslation ( $message, array $parameters = [] )
$parameters array

setAllowFlight() public method

public setAllowFlight ( $value )

setAutoJump() public method

public setAutoJump ( $value )

setBanned() public method

public setBanned ( $value )

setDataProperty() public method

public setDataProperty ( $id, $type, $value )

setDisplayName() public method

public setDisplayName ( string $name )
$name string

setExp() public method

Deprecation: Use Human::setTotalXp($xp), this method will be removed in the future.
public setExp ( integer $exp )
$exp integer

setExpLevel() public method

Deprecation: Use Human::setXpLevel($level), this method will be removed in the future.
public setExpLevel ( integer $level )
$level integer

setExperienceAndLevel() public method

Deprecation: Use Human::setTotalXp($xp), this method will be removed in the future.
public setExperienceAndLevel ( integer $exp, integer $level )
$exp integer
$level integer

setFishingHook() public method

public setFishingHook ( FishingHook $entity = null )
$entity pocketmine\entity\FishingHook

setGamemode() public method

Sets the gamemode, and if needed, kicks the Player.
public setGamemode ( integer $gm ) : boolean
$gm integer
return boolean

setHealth() public method

public setHealth ( $amount )

setMetadata() public method

public setMetadata ( $metadataKey, MetadataValue $metadataValue )
$metadataValue pocketmine\metadata\MetadataValue

setMotion() public method

public setMotion ( Vector3 $mot )
$mot pocketmine\math\Vector3

setMoving() public method

public setMoving ( $moving )

setOp() public method

public setOp ( boolean $value )
$value boolean

setRemoveFormat() public method

public setRemoveFormat ( boolean $remove = true )
$remove boolean

setSkin() public method

public setSkin ( $str, $skinId )

setSpawn() public method

Sets the spawnpoint of the player (and the compass direction) to a Vector3, or set it on another world with a Position object
public setSpawn ( Vector3 $pos )
$pos pocketmine\math\Vector3

setWhitelisted() public method

public setWhitelisted ( $value )

showPlayer() public method

public showPlayer ( Player $player )
$player Player

sleepOn() public method

public sleepOn ( Vector3 $pos ) : boolean
$pos pocketmine\math\Vector3
return boolean

spawnTo() public method

public spawnTo ( Player $player )
$player Player

stopSleep() public method

public stopSleep ( )

switchLevel() protected method

protected switchLevel ( Level $targetLevel )
$targetLevel pocketmine\level\Level

teleport() public method

public teleport ( Vector3 $pos, float $yaw = null, float $pitch = null ) : boolean
$pos pocketmine\math\Vector3
$yaw float
$pitch float
return boolean

teleportImmediate() public method

Use teleport() for a delayed teleport after chunks have been sent.
public teleportImmediate ( Vector3 $pos, float $yaw = null, float $pitch = null )
$pos pocketmine\math\Vector3
$yaw float
$pitch float

unlinkHookFromPlayer() public method

updateExperience() public method

Deprecation:
public updateExperience ( )

updateMovement() protected method

protected updateMovement ( )

Property Details

$achievements public_oe property

public $achievements

$allowFlight protected_oe property

protected $allowFlight

$autoJump protected_oe property

protected $autoJump

$blocked public_oe property

public $blocked

$chunkLoadCount protected_oe property

protected $chunkLoadCount

$chunksPerTick protected_oe property

protected $chunksPerTick

$clientID protected_oe property

protected $clientID

$connected protected_oe property

protected $connected

$craftingType public_oe property

public $craftingType

$creationTime public_oe property

public $creationTime

$displayName protected_oe property

protected $displayName

$fishingHook public_oe property

public FishingHook,pocketmine\entity $fishingHook
return pocketmine\entity\FishingHook

$foodTick public_oe property

public $foodTick

$foodUsageTime public_oe property

public $foodUsageTime

$forceMovement protected_oe property

protected Vector3,pocketmine\math $forceMovement
return pocketmine\math\Vector3

$fromPos public_oe property

public Vector3,pocketmine\math $fromPos
return pocketmine\math\Vector3

$gamemode public_oe property

public $gamemode

$hiddenPlayers protected_oe property

protected Player[],pocketmine $hiddenPlayers
return Player[]

$inAirTicks protected_oe property

protected $inAirTicks

$interface protected_oe property

protected SourceInterface,pocketmine\network $interface
return pocketmine\network\SourceInterface

$ip protected_oe property

protected $ip

$isCrafting protected_oe property

0 = 2x2 crafting, 1 = 3x3 crafting, 2 = anvil, 3 = enchanting
protected $isCrafting

$iusername protected_oe property

protected $iusername

$lastBreak public_oe property

public $lastBreak

$lastCorrect public_oe property

public $lastCorrect

$lastMovement protected_oe property

protected $lastMovement

$loadQueue protected_oe property

protected $loadQueue

$loggedIn public_oe property

public $loggedIn

$messageCounter protected_oe property

protected $messageCounter

$moving protected_oe property

protected $moving

$newPosition protected_oe property

protected Vector3,pocketmine\math $newPosition
return pocketmine\math\Vector3

$nextChunkOrderRun protected_oe property

protected $nextChunkOrderRun

$personalCreativeItems protected_oe property

protected Item[],pocketmine\item $personalCreativeItems
return pocketmine\item\Item[]

$playedBefore public_oe property

public bool $playedBefore
return boolean

$port protected_oe property

protected $port

$protocol protected_oe property

protected $protocol

$randomClientId protected_oe property

protected $randomClientId

$removeFormat protected_oe property

protected $removeFormat

$selectedLev public_oe property

public Level[],pocketmine\level $selectedLev
return pocketmine\level\Level[]

$selectedPos public_oe property

public Position[],pocketmine\level $selectedPos
return pocketmine\level\Position[]

$sendIndex protected_oe property

protected $sendIndex

$shouldSendStatus protected_oe property

protected $shouldSendStatus

$sleeping protected_oe property

protected Vector3,pocketmine\math $sleeping
return pocketmine\math\Vector3

$spawnPosition protected_oe property

protected null|Position,pocketmine\level $spawnPosition
return null | pocketmine\level\Position

$spawnThreshold protected_oe property

protected $spawnThreshold

$spawned public_oe property

public $spawned

$speed public_oe property

public Vector3,pocketmine\math $speed
return pocketmine\math\Vector3

$startAction protected_oe property

protected $startAction

$startAirTicks protected_oe property

protected $startAirTicks

$starvationTick public_oe property

public $starvationTick

$stepHeight protected_oe property

protected $stepHeight

$teleportPosition protected_oe property

protected Vector3,pocketmine\math $teleportPosition
return pocketmine\math\Vector3

$usedChunks public_oe property

public $usedChunks

$username protected_oe property

protected $username

$viewDistance protected_oe property

protected $viewDistance

$weatherData public_oe property

public $weatherData

$windowCnt protected_oe property

protected $windowCnt

$windowIndex protected_oe property

protected Inventory[],pocketmine\inventory $windowIndex
return pocketmine\inventory\Inventory[]

$windows protected_oe property

protected SplObjectStorage $windows
return SplObjectStorage