PHP Class pocketmine\Player

Inheritance: extends pocketmine\entity\Human, implements pocketmine\command\CommandSender, implements pocketmine\inventory\InventoryHolder, implements pocketmine\level\ChunkLoader, implements pocketmine\IPlayer
Afficher le fichier Open project: iTXTech/Genisys Class Usage Examples

Méthodes publiques

Свойство 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

Свойство 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

Méthodes publiques

Méthode 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 ( )

Méthodes protégées

Méthode 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

Méthode Description
unloadChunk ( $x, $z, Level $level = null )

Method Details

__construct() public méthode

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

__debugInfo() public méthode

public __debugInfo ( )

addAttachment() public méthode

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

addCreativeItem() public méthode

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

addExpLevel() public méthode

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

addExperience() public méthode

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

addMovement() public méthode

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

addWindow() public méthode

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

attack() public méthode

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

awardAchievement() public méthode

public awardAchievement ( string $achievementId ) : boolean
$achievementId string
Résultat boolean

batchDataPacket() public méthode

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
Résultat boolean

calcExpLevel() public méthode

Deprecation:
public calcExpLevel ( )

canCollideWith() public méthode

public canCollideWith ( Entity $entity ) : boolean
$entity pocketmine\entity\Entity
Résultat boolean

canInteract() public méthode

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

canPickupExp() public méthode

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

canSee() public méthode

public canSee ( Player $player ) : boolean
$player Player
Résultat boolean

checkBlockCollision() protected méthode

protected checkBlockCollision ( )

checkChunks() protected méthode

protected checkChunks ( )

checkGroundState() protected méthode

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

checkNearEntities() protected méthode

protected checkNearEntities ( $tickDiff )

checkNetwork() public méthode

public checkNetwork ( )

checkTeleportPosition() protected méthode

protected checkTeleportPosition ( )

clearCreativeItems() public méthode

public clearCreativeItems ( )

close() final public méthode

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 méthode

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

directDataPacket() public méthode

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

doFirstSpawn() protected méthode

protected doFirstSpawn ( )

dropItem() public méthode

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

getAddress() public méthode

Gets the player IP address
public getAddress ( ) : string
Résultat string

getAllowFlight() public méthode

public getAllowFlight ( ) : boolean
Résultat boolean

getChunkCacheFromData() public static méthode

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

getClientId() public méthode

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

getClientSecret() public méthode

public getClientSecret ( )

getCreativeItemIndex() public méthode

public getCreativeItemIndex ( Item $item ) : integer
$item pocketmine\item\Item
Résultat integer

getCreativeItems() public méthode

public getCreativeItems ( ) : array
Résultat array

getDisplayName() public méthode

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

getDrops() public méthode

public getDrops ( ) : array
Résultat array

getEffectivePermissions() public méthode

public getEffectivePermissions ( ) : PermissionAttachmentInfo[]
Résultat pocketmine\permission\PermissionAttachmentInfo[]

getExp() public méthode

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

getExpLevel() public méthode

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

getExpectedExperience() public méthode

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

getFirstPlayed() public méthode

public getFirstPlayed ( )

getFishingHook() public méthode

public getFishingHook ( )

getGamemode() public méthode

public getGamemode ( ) : integer
Résultat integer

getInAirTicks() public méthode

public getInAirTicks ( )

getItemInHand() public méthode

public getItemInHand ( )

getLastPlayed() public méthode

public getLastPlayed ( )

getLeaveMessage() public méthode

public getLeaveMessage ( )

getLevelUpExpectedExperience() public méthode

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

getLoaderId() public méthode

public getLoaderId ( )

getMetadata() public méthode

public getMetadata ( $metadataKey )

getName() public méthode

Gets the username
public getName ( ) : string
Résultat string

getNextPosition() public méthode

public getNextPosition ( )

getPlayer() public méthode

public getPlayer ( )

getPort() public méthode

public getPort ( ) : integer
Résultat integer

getProtocol() public méthode

public getProtocol ( )

getRemoveFormat() public méthode

public getRemoveFormat ( ) : boolean
Résultat boolean

getServer() public méthode

public getServer ( ) : Server
Résultat Server

getSpawn() public méthode

public getSpawn ( ) : Position
Résultat pocketmine\level\Position

getWindowId() public méthode

public getWindowId ( pocketmine\inventory\Inventory $inventory ) : integer
$inventory pocketmine\inventory\Inventory
Résultat integer

handleDataPacket() public méthode

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 méthode

public hasAchievement ( string $achievementId ) : boolean
$achievementId string
Résultat boolean

hasAutoJump() public méthode

public hasAutoJump ( ) : boolean
Résultat boolean

hasMetadata() public méthode

public hasMetadata ( $metadataKey )

hasPermission() public méthode

public hasPermission ( Permission | string $name ) : boolean
$name pocketmine\permission\Permission | string
Résultat boolean

hasPlayedBefore() public méthode

public hasPlayedBefore ( )

hidePlayer() public méthode

public hidePlayer ( Player $player )
$player Player

isAdventure() public méthode

public isAdventure ( ) : boolean
Résultat boolean

isBanned() public méthode

public isBanned ( )

isConnected() public méthode

public isConnected ( ) : boolean
Résultat boolean

isCreative() public méthode

public isCreative ( ) : boolean
Résultat boolean

isFishing() public méthode

public isFishing ( )

isLoaderActive() public méthode

public isLoaderActive ( )

isMoving() public méthode

public isMoving ( ) : boolean
Résultat boolean

isOnline() public méthode

public isOnline ( ) : boolean
Résultat boolean

isOp() public méthode

public isOp ( ) : boolean
Résultat boolean

isPermissionSet() public méthode

public isPermissionSet ( Permission | string $name ) : boolean
$name pocketmine\permission\Permission | string
Résultat boolean

isSleeping() public méthode

public isSleeping ( ) : boolean
Résultat boolean

isSpectator() public méthode

public isSpectator ( ) : boolean
Résultat boolean

isSurvival() public méthode

public isSurvival ( ) : boolean
Résultat boolean

isWhitelisted() public méthode

public isWhitelisted ( ) : boolean
Résultat boolean

kick() public méthode

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

kill() public méthode

public kill ( )

linkHookToPlayer() public méthode

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

onBlockChanged() public méthode

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

onChunkChanged() public méthode

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

onChunkLoaded() public méthode

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

onChunkPopulated() public méthode

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

onChunkUnloaded() public méthode

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

onPlayerPreLogin() public méthode

public onPlayerPreLogin ( )

onUpdate() public méthode

public onUpdate ( $currentTick )

orderChunks() protected méthode

protected orderChunks ( )

processLogin() protected méthode

protected processLogin ( )

processMovement() protected méthode

protected processMovement ( $tickDiff )

recalculatePermissions() public méthode

removeAchievement() public méthode

public removeAchievement ( string $achievementId )
$achievementId string

removeAttachment() public méthode

public removeAttachment ( PermissionAttachment $attachment ) : boolean
$attachment pocketmine\permission\PermissionAttachment
Résultat boolean

removeCreativeItem() public méthode

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

removeMetadata() public méthode

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

removeWindow() public méthode

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

resetExpCooldown() public méthode

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

resetFallDistance() public méthode

public resetFallDistance ( )

save() public méthode

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

sendAttributes() public méthode

public sendAttributes ( )

sendChunk() public méthode

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

sendMessage() public méthode

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

sendNextChunk() protected méthode

protected sendNextChunk ( )

sendPopup() public méthode

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

sendPosition() public méthode

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

sendSettings() public méthode

Sends all the option flags
public sendSettings ( )

sendTip() public méthode

public sendTip ( $message ) : boolean
$message
Résultat boolean

sendTranslation() public méthode

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

setAllowFlight() public méthode

public setAllowFlight ( $value )

setAutoJump() public méthode

public setAutoJump ( $value )

setBanned() public méthode

public setBanned ( $value )

setDataProperty() public méthode

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

setDisplayName() public méthode

public setDisplayName ( string $name )
$name string

setExp() public méthode

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

setExpLevel() public méthode

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

setExperienceAndLevel() public méthode

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 méthode

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

setGamemode() public méthode

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

setHealth() public méthode

public setHealth ( $amount )

setMetadata() public méthode

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

setMotion() public méthode

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

setMoving() public méthode

public setMoving ( $moving )

setOp() public méthode

public setOp ( boolean $value )
$value boolean

setRemoveFormat() public méthode

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

setSkin() public méthode

public setSkin ( $str, $skinId )

setSpawn() public méthode

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 méthode

public setWhitelisted ( $value )

showPlayer() public méthode

public showPlayer ( Player $player )
$player Player

sleepOn() public méthode

public sleepOn ( Vector3 $pos ) : boolean
$pos pocketmine\math\Vector3
Résultat boolean

spawnTo() public méthode

public spawnTo ( Player $player )
$player Player

stopSleep() public méthode

public stopSleep ( )

switchLevel() protected méthode

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

teleport() public méthode

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

teleportImmediate() public méthode

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 méthode

updateExperience() public méthode

Deprecation:
public updateExperience ( )

updateMovement() protected méthode

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
Résultat pocketmine\entity\FishingHook

$foodTick public_oe property

public $foodTick

$foodUsageTime public_oe property

public $foodUsageTime

$forceMovement protected_oe property

protected Vector3,pocketmine\math $forceMovement
Résultat pocketmine\math\Vector3

$fromPos public_oe property

public Vector3,pocketmine\math $fromPos
Résultat pocketmine\math\Vector3

$gamemode public_oe property

public $gamemode

$hiddenPlayers protected_oe property

protected Player[],pocketmine $hiddenPlayers
Résultat Player[]

$inAirTicks protected_oe property

protected $inAirTicks

$interface protected_oe property

protected SourceInterface,pocketmine\network $interface
Résultat 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
Résultat pocketmine\math\Vector3

$nextChunkOrderRun protected_oe property

protected $nextChunkOrderRun

$personalCreativeItems protected_oe property

protected Item[],pocketmine\item $personalCreativeItems
Résultat pocketmine\item\Item[]

$playedBefore public_oe property

public bool $playedBefore
Résultat 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
Résultat pocketmine\level\Level[]

$selectedPos public_oe property

public Position[],pocketmine\level $selectedPos
Résultat pocketmine\level\Position[]

$sendIndex protected_oe property

protected $sendIndex

$shouldSendStatus protected_oe property

protected $shouldSendStatus

$sleeping protected_oe property

protected Vector3,pocketmine\math $sleeping
Résultat pocketmine\math\Vector3

$spawnPosition protected_oe property

protected null|Position,pocketmine\level $spawnPosition
Résultat 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
Résultat 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
Résultat 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
Résultat pocketmine\inventory\Inventory[]

$windows protected_oe property

protected SplObjectStorage $windows
Résultat SplObjectStorage