PHP 클래스 pocketmine\entity\ThrownPotion

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

공개 프로퍼티들

프로퍼티 타입 설명
$height
$length
$width

보호된 프로퍼티들

프로퍼티 타입 설명
$drag
$gravity

공개 메소드들

메소드 설명
__construct ( pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt, Entity $shootingEntity = null )
getPotionId ( ) : integer
kill ( )
onUpdate ( $currentTick )
spawnTo ( Player $player )

메소드 상세

__construct() 공개 메소드

public __construct ( pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt, Entity $shootingEntity = null )
$chunk pocketmine\level\format\FullChunk
$nbt pocketmine\nbt\tag\CompoundTag
$shootingEntity Entity

getPotionId() 공개 메소드

public getPotionId ( ) : integer
리턴 integer

kill() 공개 메소드

public kill ( )

onUpdate() 공개 메소드

public onUpdate ( $currentTick )

spawnTo() 공개 메소드

public spawnTo ( Player $player )
$player pocketmine\Player

프로퍼티 상세

$drag 보호되어 있는 프로퍼티

protected $drag

$gravity 보호되어 있는 프로퍼티

protected $gravity

$height 공개적으로 프로퍼티

public $height

$length 공개적으로 프로퍼티

public $length

$width 공개적으로 프로퍼티

public $width