PHP 클래스 pocketmine\item\Tool

상속: extends Item
파일 보기 프로젝트 열기: iTXTech/Genisys 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $id, $meta, $count = 1, $name = "Unknown" )
getMaxDurability ( ) : integer | boolean TODO: Move this to each item
getMaxStackSize ( ) : integer
isAxe ( )
isHoe ( )
isPickaxe ( )
isShears ( )
isShovel ( )
isSword ( )
isTool ( )
isUnbreakable ( )
useOn ( Entity | Block $object, $type = 1 ) : boolean TODO: Move this to each item

메소드 상세

__construct() 공개 메소드

public __construct ( $id, $meta, $count = 1, $name = "Unknown" )

getMaxDurability() 공개 메소드

TODO: Move this to each item
public getMaxDurability ( ) : integer | boolean
리턴 integer | boolean

getMaxStackSize() 공개 메소드

public getMaxStackSize ( ) : integer
리턴 integer

isAxe() 공개 메소드

public isAxe ( )

isHoe() 공개 메소드

public isHoe ( )

isPickaxe() 공개 메소드

public isPickaxe ( )

isShears() 공개 메소드

public isShears ( )

isShovel() 공개 메소드

public isShovel ( )

isSword() 공개 메소드

public isSword ( )

isTool() 공개 메소드

public isTool ( )

isUnbreakable() 공개 메소드

public isUnbreakable ( )

useOn() 공개 메소드

TODO: Move this to each item
public useOn ( Entity | Block $object, $type = 1 ) : boolean
$object pocketmine\entity\Entity | pocketmine\block\Block
리턴 boolean