PHP 클래스 pocketmine\event\player\PlayerBucketEvent

상속: extends PlayerEvent, implements pocketmine\event\Cancellable
파일 보기 프로젝트 열기: iTXTech/Genisys 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Player $who, Block $blockClicked, integer $blockFace, Item $bucket, Item $itemInHand )
getBlockClicked ( ) : Block
getBlockFace ( ) : integer
getBucket ( ) : Item Returns the bucket used in this event
getItem ( ) : Item Returns the item in hand after the event
setItem ( Item $item )

메소드 상세

__construct() 공개 메소드

public __construct ( Player $who, Block $blockClicked, integer $blockFace, Item $bucket, Item $itemInHand )
$who pocketmine\Player
$blockClicked pocketmine\block\Block
$blockFace integer
$bucket pocketmine\item\Item
$itemInHand pocketmine\item\Item

getBlockClicked() 공개 메소드

public getBlockClicked ( ) : Block
리턴 pocketmine\block\Block

getBlockFace() 공개 메소드

public getBlockFace ( ) : integer
리턴 integer

getBucket() 공개 메소드

Returns the bucket used in this event
public getBucket ( ) : Item
리턴 pocketmine\item\Item

getItem() 공개 메소드

Returns the item in hand after the event
public getItem ( ) : Item
리턴 pocketmine\item\Item

setItem() 공개 메소드

public setItem ( Item $item )
$item pocketmine\item\Item