PHP Class pocketmine\item\Leash

Inheritance: extends Item
Mostrar archivo Open project: ClearSkyTeam/ClearSky

Public Methods

Method 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 method

public __construct ( $meta, $count = 1 )

onActivate() public method

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 method

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