PHP Class pocketmine\entity\ThrownEnderPearl

Inheritance: extends Projectile
显示文件 Open project: ClearSkyTeam/ClearSky

Public Properties

Property Type Description
$height
$length
$width

Protected Properties

Property Type Description
$drag
$gravity

Public Methods

Method Description
__construct ( pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt, Entity $shootingEntity = null )
onUpdate ( $currentTick )
spawnTo ( Player $player )

Method Details

__construct() public method

public __construct ( pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt, Entity $shootingEntity = null )
$chunk pocketmine\level\format\FullChunk
$nbt pocketmine\nbt\tag\CompoundTag
$shootingEntity Entity

onUpdate() public method

public onUpdate ( $currentTick )

spawnTo() public method

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

Property Details

$drag protected_oe property

protected $drag

$gravity protected_oe property

protected $gravity

$height public_oe property

public $height

$length public_oe property

public $length

$width public_oe property

public $width