PHP Class pocketmine\item\Leash

Inheritance: extends Item
Afficher le fichier Open project: ClearSkyTeam/ClearSky

Méthodes publiques

Méthode Description
__construct ( $meta, $count = 1 )
onActivate ( Level $level, Player $player, Block $block, Block $target, $face, $fx, $fy, $fz )
useOnEntity ( Entity $entity, Entity $origin )

Method Details

__construct() public méthode

public __construct ( $meta, $count = 1 )

onActivate() public méthode

public onActivate ( Level $level, Player $player, Block $block, Block $target, $face, $fx, $fy, $fz )
$level pocketmine\level\Level
$player pocketmine\Player
$block pocketmine\block\Block
$target pocketmine\block\Block

useOnEntity() public méthode

public useOnEntity ( Entity $entity, Entity $origin )
$entity pocketmine\entity\Entity
$origin pocketmine\entity\Entity