PHP Class pocketmine\entity\ExperienceOrb

Inheritance: extends Entity
ファイルを表示 Open project: ClearSkyTeam/ClearSky Class Usage Examples

Public Properties

Property Type Description
$experience
$height
$length
$width

Protected Properties

Property Type Description
$drag
$followrange
$gravity
$pickuprange

Public Methods

Method Description
FetchNearbyPlayer ( $DistanceRange )
canCollideWith ( Entity $entity )
getExperience ( )
initEntity ( )
onUpdate ( $currentTick )
setExperience ( $exp )
spawnTo ( Player $player )

Method Details

FetchNearbyPlayer() public method

public FetchNearbyPlayer ( $DistanceRange )

canCollideWith() public method

public canCollideWith ( Entity $entity )
$entity Entity

getExperience() public method

public getExperience ( )

initEntity() public method

public initEntity ( )

onUpdate() public method

public onUpdate ( $currentTick )

setExperience() public method

public setExperience ( $exp )

spawnTo() public method

public spawnTo ( Player $player )
$player pocketmine\Player

Property Details

$drag protected_oe property

protected $drag

$experience public_oe property

public $experience

$followrange protected_oe property

protected $followrange

$gravity protected_oe property

protected $gravity

$height public_oe property

public $height

$length public_oe property

public $length

$pickuprange protected_oe property

protected $pickuprange

$width public_oe property

public $width