PHP 클래스 pocketmine\entity\PrimedTNT

상속: extends Entity, implements pocketmine\entity\Explosive
파일 보기 프로젝트 열기: iTXTech/Genisys

공개 프로퍼티들

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

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
__construct ( pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt, boolean $dropItem = true )
attack ( $damage, EntityDamageEvent $source )
canCollideWith ( Entity $entity )
explode ( )
onUpdate ( $currentTick )
saveNBT ( )
spawnTo ( Player $player )

보호된 메소드들

메소드 설명
initEntity ( )

메소드 상세

__construct() 공개 메소드

public __construct ( pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt, boolean $dropItem = true )
$chunk pocketmine\level\format\FullChunk
$nbt pocketmine\nbt\tag\CompoundTag
$dropItem boolean

attack() 공개 메소드

public attack ( $damage, EntityDamageEvent $source )
$source pocketmine\event\entity\EntityDamageEvent

canCollideWith() 공개 메소드

public canCollideWith ( Entity $entity )
$entity Entity

explode() 공개 메소드

public explode ( )

initEntity() 보호된 메소드

protected initEntity ( )

onUpdate() 공개 메소드

public onUpdate ( $currentTick )

saveNBT() 공개 메소드

public saveNBT ( )

spawnTo() 공개 메소드

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

프로퍼티 상세

$canCollide 공개적으로 프로퍼티

public $canCollide

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

protected $drag

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

protected $fuse

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

protected $gravity

$height 공개적으로 프로퍼티

public $height

$length 공개적으로 프로퍼티

public $length

$width 공개적으로 프로퍼티

public $width