PHP 클래스 pocketmine\Player

상속: extends pocketmine\entity\Human, implements pocketmine\command\CommandSender, implements pocketmine\inventory\InventoryHolder, implements pocketmine\level\ChunkLoader, implements pocketmine\IPlayer
파일 보기 프로젝트 열기: iTXTech/Genisys 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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

보호된 프로퍼티들

프로퍼티 타입 설명
$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

공개 메소드들

메소드 설명
__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 ( )

보호된 메소드들

메소드 설명
checkBlockCollision ( )
checkChunks ( )
checkGroundState ( $movX, $movY, $movZ, $dx, $dy, $dz )
checkNearEntities ( $tickDiff )
checkTeleportPosition ( )
doFirstSpawn ( )
orderChunks ( )
processLogin ( )
processMovement ( $tickDiff )
sendNextChunk ( )
switchLevel ( Level $targetLevel )
updateMovement ( )

비공개 메소드들

메소드 설명
unloadChunk ( $x, $z, Level $level = null )

메소드 상세

__construct() 공개 메소드

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

__debugInfo() 공개 메소드

public __debugInfo ( )

addAttachment() 공개 메소드

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

addCreativeItem() 공개 메소드

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

addExpLevel() 공개 메소드

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

addExperience() 공개 메소드

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

addMovement() 공개 메소드

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

addWindow() 공개 메소드

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

attack() 공개 메소드

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

awardAchievement() 공개 메소드

public awardAchievement ( string $achievementId ) : boolean
$achievementId string
리턴 boolean

batchDataPacket() 공개 메소드

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
리턴 boolean

calcExpLevel() 공개 메소드

사용 중단:
public calcExpLevel ( )

canCollideWith() 공개 메소드

public canCollideWith ( Entity $entity ) : boolean
$entity pocketmine\entity\Entity
리턴 boolean

canInteract() 공개 메소드

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

canPickupExp() 공개 메소드

사용 중단: Use Human::canPickupXp(), this method will be removed in the future.
public canPickupExp ( ) : boolean
리턴 boolean

canSee() 공개 메소드

public canSee ( Player $player ) : boolean
$player Player
리턴 boolean

checkBlockCollision() 보호된 메소드

protected checkBlockCollision ( )

checkChunks() 보호된 메소드

protected checkChunks ( )

checkGroundState() 보호된 메소드

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

checkNearEntities() 보호된 메소드

protected checkNearEntities ( $tickDiff )

checkNetwork() 공개 메소드

public checkNetwork ( )

checkTeleportPosition() 보호된 메소드

protected checkTeleportPosition ( )

clearCreativeItems() 공개 메소드

public clearCreativeItems ( )

close() 최종 공개 메소드

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() 공개 메소드

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

directDataPacket() 공개 메소드

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

doFirstSpawn() 보호된 메소드

protected doFirstSpawn ( )

dropItem() 공개 메소드

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

getAddress() 공개 메소드

Gets the player IP address
public getAddress ( ) : string
리턴 string

getAllowFlight() 공개 메소드

public getAllowFlight ( ) : boolean
리턴 boolean

getChunkCacheFromData() 공개 정적인 메소드

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

getClientId() 공개 메소드

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

getClientSecret() 공개 메소드

public getClientSecret ( )

getCreativeItemIndex() 공개 메소드

public getCreativeItemIndex ( Item $item ) : integer
$item pocketmine\item\Item
리턴 integer

getCreativeItems() 공개 메소드

public getCreativeItems ( ) : array
리턴 array

getDisplayName() 공개 메소드

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

getDrops() 공개 메소드

public getDrops ( ) : array
리턴 array

getEffectivePermissions() 공개 메소드

public getEffectivePermissions ( ) : PermissionAttachmentInfo[]
리턴 pocketmine\permission\PermissionAttachmentInfo[]

getExp() 공개 메소드

사용 중단: Use Human::getTotalXp(), this method will be removed in the future.
public getExp ( )

getExpLevel() 공개 메소드

사용 중단: Use Human::getXpLevel(), this method will be removed in the future.
public getExpLevel ( )

getExpectedExperience() 공개 메소드

사용 중단: Use Human::getTotalXpRequirement($level), this method will be removed in the future.

getFirstPlayed() 공개 메소드

public getFirstPlayed ( )

getFishingHook() 공개 메소드

public getFishingHook ( )

getGamemode() 공개 메소드

public getGamemode ( ) : integer
리턴 integer

getInAirTicks() 공개 메소드

public getInAirTicks ( )

getItemInHand() 공개 메소드

public getItemInHand ( )

getLastPlayed() 공개 메소드

public getLastPlayed ( )

getLeaveMessage() 공개 메소드

public getLeaveMessage ( )

getLevelUpExpectedExperience() 공개 메소드

사용 중단: Use Human::getLevelXpRequirement($level), this method will be removed in the future.

getLoaderId() 공개 메소드

public getLoaderId ( )

getMetadata() 공개 메소드

public getMetadata ( $metadataKey )

getName() 공개 메소드

Gets the username
public getName ( ) : string
리턴 string

getNextPosition() 공개 메소드

public getNextPosition ( )

getPlayer() 공개 메소드

public getPlayer ( )

getPort() 공개 메소드

public getPort ( ) : integer
리턴 integer

getProtocol() 공개 메소드

public getProtocol ( )

getRemoveFormat() 공개 메소드

public getRemoveFormat ( ) : boolean
리턴 boolean

getServer() 공개 메소드

public getServer ( ) : Server
리턴 Server

getSpawn() 공개 메소드

public getSpawn ( ) : Position
리턴 pocketmine\level\Position

getWindowId() 공개 메소드

public getWindowId ( pocketmine\inventory\Inventory $inventory ) : integer
$inventory pocketmine\inventory\Inventory
리턴 integer

handleDataPacket() 공개 메소드

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 hasAchievement ( string $achievementId ) : boolean
$achievementId string
리턴 boolean

hasAutoJump() 공개 메소드

public hasAutoJump ( ) : boolean
리턴 boolean

hasMetadata() 공개 메소드

public hasMetadata ( $metadataKey )

hasPermission() 공개 메소드

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

hasPlayedBefore() 공개 메소드

public hasPlayedBefore ( )

hidePlayer() 공개 메소드

public hidePlayer ( Player $player )
$player Player

isAdventure() 공개 메소드

public isAdventure ( ) : boolean
리턴 boolean

isBanned() 공개 메소드

public isBanned ( )

isConnected() 공개 메소드

public isConnected ( ) : boolean
리턴 boolean

isCreative() 공개 메소드

public isCreative ( ) : boolean
리턴 boolean

isFishing() 공개 메소드

public isFishing ( )

isLoaderActive() 공개 메소드

public isLoaderActive ( )

isMoving() 공개 메소드

public isMoving ( ) : boolean
리턴 boolean

isOnline() 공개 메소드

public isOnline ( ) : boolean
리턴 boolean

isOp() 공개 메소드

public isOp ( ) : boolean
리턴 boolean

isPermissionSet() 공개 메소드

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

isSleeping() 공개 메소드

public isSleeping ( ) : boolean
리턴 boolean

isSpectator() 공개 메소드

public isSpectator ( ) : boolean
리턴 boolean

isSurvival() 공개 메소드

public isSurvival ( ) : boolean
리턴 boolean

isWhitelisted() 공개 메소드

public isWhitelisted ( ) : boolean
리턴 boolean

kick() 공개 메소드

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

kill() 공개 메소드

public kill ( )

linkHookToPlayer() 공개 메소드

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

onBlockChanged() 공개 메소드

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

onChunkChanged() 공개 메소드

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

onChunkLoaded() 공개 메소드

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

onChunkPopulated() 공개 메소드

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

onChunkUnloaded() 공개 메소드

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

onPlayerPreLogin() 공개 메소드

public onPlayerPreLogin ( )

onUpdate() 공개 메소드

public onUpdate ( $currentTick )

orderChunks() 보호된 메소드

protected orderChunks ( )

processLogin() 보호된 메소드

protected processLogin ( )

processMovement() 보호된 메소드

protected processMovement ( $tickDiff )

recalculatePermissions() 공개 메소드

removeAchievement() 공개 메소드

public removeAchievement ( string $achievementId )
$achievementId string

removeAttachment() 공개 메소드

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

removeCreativeItem() 공개 메소드

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

removeMetadata() 공개 메소드

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

removeWindow() 공개 메소드

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

resetExpCooldown() 공개 메소드

사용 중단: Use Human::resetXpCooldown(), this method will be removed in the future.
public resetExpCooldown ( )

resetFallDistance() 공개 메소드

public resetFallDistance ( )

save() 공개 메소드

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

sendAttributes() 공개 메소드

public sendAttributes ( )

sendChunk() 공개 메소드

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

sendMessage() 공개 메소드

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

sendNextChunk() 보호된 메소드

protected sendNextChunk ( )

sendPopup() 공개 메소드

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

sendPosition() 공개 메소드

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

sendSettings() 공개 메소드

Sends all the option flags
public sendSettings ( )

sendTip() 공개 메소드

public sendTip ( $message ) : boolean
$message
리턴 boolean

sendTranslation() 공개 메소드

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

setAllowFlight() 공개 메소드

public setAllowFlight ( $value )

setAutoJump() 공개 메소드

public setAutoJump ( $value )

setBanned() 공개 메소드

public setBanned ( $value )

setDataProperty() 공개 메소드

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

setDisplayName() 공개 메소드

public setDisplayName ( string $name )
$name string

setExp() 공개 메소드

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

setExpLevel() 공개 메소드

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

setExperienceAndLevel() 공개 메소드

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

setFishingHook() 공개 메소드

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

setGamemode() 공개 메소드

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

setHealth() 공개 메소드

public setHealth ( $amount )

setMetadata() 공개 메소드

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

setMotion() 공개 메소드

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

setMoving() 공개 메소드

public setMoving ( $moving )

setOp() 공개 메소드

public setOp ( boolean $value )
$value boolean

setRemoveFormat() 공개 메소드

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

setSkin() 공개 메소드

public setSkin ( $str, $skinId )

setSpawn() 공개 메소드

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 setWhitelisted ( $value )

showPlayer() 공개 메소드

public showPlayer ( Player $player )
$player Player

sleepOn() 공개 메소드

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

spawnTo() 공개 메소드

public spawnTo ( Player $player )
$player Player

stopSleep() 공개 메소드

public stopSleep ( )

switchLevel() 보호된 메소드

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

teleport() 공개 메소드

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

teleportImmediate() 공개 메소드

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() 공개 메소드

updateExperience() 공개 메소드

사용 중단:
public updateExperience ( )

updateMovement() 보호된 메소드

protected updateMovement ( )

프로퍼티 상세

$achievements 공개적으로 프로퍼티

public $achievements

$allowFlight 보호되어 있는 프로퍼티

protected $allowFlight

$autoJump 보호되어 있는 프로퍼티

protected $autoJump

$blocked 공개적으로 프로퍼티

public $blocked

$chunkLoadCount 보호되어 있는 프로퍼티

protected $chunkLoadCount

$chunksPerTick 보호되어 있는 프로퍼티

protected $chunksPerTick

$clientID 보호되어 있는 프로퍼티

protected $clientID

$connected 보호되어 있는 프로퍼티

protected $connected

$craftingType 공개적으로 프로퍼티

public $craftingType

$creationTime 공개적으로 프로퍼티

public $creationTime

$displayName 보호되어 있는 프로퍼티

protected $displayName

$fishingHook 공개적으로 프로퍼티

public FishingHook,pocketmine\entity $fishingHook
리턴 pocketmine\entity\FishingHook

$foodTick 공개적으로 프로퍼티

public $foodTick

$foodUsageTime 공개적으로 프로퍼티

public $foodUsageTime

$forceMovement 보호되어 있는 프로퍼티

protected Vector3,pocketmine\math $forceMovement
리턴 pocketmine\math\Vector3

$fromPos 공개적으로 프로퍼티

public Vector3,pocketmine\math $fromPos
리턴 pocketmine\math\Vector3

$gamemode 공개적으로 프로퍼티

public $gamemode

$hiddenPlayers 보호되어 있는 프로퍼티

protected Player[],pocketmine $hiddenPlayers
리턴 Player[]

$inAirTicks 보호되어 있는 프로퍼티

protected $inAirTicks

$interface 보호되어 있는 프로퍼티

protected SourceInterface,pocketmine\network $interface
리턴 pocketmine\network\SourceInterface

$ip 보호되어 있는 프로퍼티

protected $ip

$isCrafting 보호되어 있는 프로퍼티

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

$iusername 보호되어 있는 프로퍼티

protected $iusername

$lastBreak 공개적으로 프로퍼티

public $lastBreak

$lastCorrect 공개적으로 프로퍼티

public $lastCorrect

$lastMovement 보호되어 있는 프로퍼티

protected $lastMovement

$loadQueue 보호되어 있는 프로퍼티

protected $loadQueue

$loggedIn 공개적으로 프로퍼티

public $loggedIn

$messageCounter 보호되어 있는 프로퍼티

protected $messageCounter

$moving 보호되어 있는 프로퍼티

protected $moving

$newPosition 보호되어 있는 프로퍼티

protected Vector3,pocketmine\math $newPosition
리턴 pocketmine\math\Vector3

$nextChunkOrderRun 보호되어 있는 프로퍼티

protected $nextChunkOrderRun

$personalCreativeItems 보호되어 있는 프로퍼티

protected Item[],pocketmine\item $personalCreativeItems
리턴 pocketmine\item\Item[]

$playedBefore 공개적으로 프로퍼티

public bool $playedBefore
리턴 boolean

$port 보호되어 있는 프로퍼티

protected $port

$protocol 보호되어 있는 프로퍼티

protected $protocol

$randomClientId 보호되어 있는 프로퍼티

protected $randomClientId

$removeFormat 보호되어 있는 프로퍼티

protected $removeFormat

$selectedLev 공개적으로 프로퍼티

public Level[],pocketmine\level $selectedLev
리턴 pocketmine\level\Level[]

$selectedPos 공개적으로 프로퍼티

public Position[],pocketmine\level $selectedPos
리턴 pocketmine\level\Position[]

$sendIndex 보호되어 있는 프로퍼티

protected $sendIndex

$shouldSendStatus 보호되어 있는 프로퍼티

protected $shouldSendStatus

$sleeping 보호되어 있는 프로퍼티

protected Vector3,pocketmine\math $sleeping
리턴 pocketmine\math\Vector3

$spawnPosition 보호되어 있는 프로퍼티

protected null|Position,pocketmine\level $spawnPosition
리턴 null | pocketmine\level\Position

$spawnThreshold 보호되어 있는 프로퍼티

protected $spawnThreshold

$spawned 공개적으로 프로퍼티

public $spawned

$speed 공개적으로 프로퍼티

public Vector3,pocketmine\math $speed
리턴 pocketmine\math\Vector3

$startAction 보호되어 있는 프로퍼티

protected $startAction

$startAirTicks 보호되어 있는 프로퍼티

protected $startAirTicks

$starvationTick 공개적으로 프로퍼티

public $starvationTick

$stepHeight 보호되어 있는 프로퍼티

protected $stepHeight

$teleportPosition 보호되어 있는 프로퍼티

protected Vector3,pocketmine\math $teleportPosition
리턴 pocketmine\math\Vector3

$usedChunks 공개적으로 프로퍼티

public $usedChunks

$username 보호되어 있는 프로퍼티

protected $username

$viewDistance 보호되어 있는 프로퍼티

protected $viewDistance

$weatherData 공개적으로 프로퍼티

public $weatherData

$windowCnt 보호되어 있는 프로퍼티

protected $windowCnt

$windowIndex 보호되어 있는 프로퍼티

protected Inventory[],pocketmine\inventory $windowIndex
리턴 pocketmine\inventory\Inventory[]

$windows 보호되어 있는 프로퍼티

protected SplObjectStorage $windows
리턴 SplObjectStorage