PHP Class pocketmine\entity\PrimedTNT

Inheritance: extends Entity, implements pocketmine\entity\Explosive
Afficher le fichier Open project: iTXTech/Genisys

Méthodes publiques

Свойство Type Description
$canCollide
$height
$length
$width

Protected Properties

Свойство Type Description
$drag
$fuse
$gravity

Méthodes publiques

Méthode Description
__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 )

Méthodes protégées

Méthode Description
initEntity ( )

Method Details

__construct() public méthode

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 méthode

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

canCollideWith() public méthode

public canCollideWith ( Entity $entity )
$entity Entity

explode() public méthode

public explode ( )

initEntity() protected méthode

protected initEntity ( )

onUpdate() public méthode

public onUpdate ( $currentTick )

saveNBT() public méthode

public saveNBT ( )

spawnTo() public méthode

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

Property Details

$canCollide public_oe property

public $canCollide

$drag protected_oe property

protected $drag

$fuse protected_oe property

protected $fuse

$gravity protected_oe property

protected $gravity

$height public_oe property

public $height

$length public_oe property

public $length

$width public_oe property

public $width