PHP Class pocketmine\entity\FishingHook

Inheritance: extends Projectile
ファイルを表示 Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$attractTimer
$coughtTimer
$damageRod
$data
$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 )
attractFish ( )
fishBites ( )
getData ( )
initEntity ( )
onUpdate ( $currentTick )
reelLine ( )
setData ( $id )
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

attractFish() public method

public attractFish ( )

fishBites() public method

public fishBites ( )

getData() public method

public getData ( )

initEntity() public method

public initEntity ( )

onUpdate() public method

public onUpdate ( $currentTick )

reelLine() public method

public reelLine ( )

setData() public method

public setData ( $id )

spawnTo() public method

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

Property Details

$attractTimer public_oe property

public $attractTimer

$coughtTimer public_oe property

public $coughtTimer

$damageRod public_oe property

public $damageRod

$data public_oe property

public $data

$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