PHP Class pocketmine\entity\FishingHook

Inheritance: extends Projectile
Afficher le fichier Open project: iTXTech/Genisys Class Usage Examples

Méthodes publiques

Свойство Type Description
$attractTimer
$coughtTimer
$damageRod
$data
$height
$length
$width

Protected Properties

Свойство Type Description
$drag
$gravity

Méthodes publiques

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

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

public attractFish ( )

fishBites() public méthode

public fishBites ( )

getData() public méthode

public getData ( )

initEntity() public méthode

public initEntity ( )

onUpdate() public méthode

public onUpdate ( $currentTick )

reelLine() public méthode

public reelLine ( )

setData() public méthode

public setData ( $id )

spawnTo() public méthode

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