PHP Class pocketmine\entity\Snowball

Inheritance: extends Projectile
Afficher le fichier Open project: robske110/ClearSky

Méthodes publiques

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

Protected Properties

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

Méthodes publiques

Méthode Description
__construct ( pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt, Entity $shootingEntity = null )
getName ( )
onUpdate ( $currentTick )
spawnTo ( Player $player )

Method Details

__construct() public méthode

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

getName() public méthode

public getName ( )

onUpdate() public méthode

public onUpdate ( $currentTick )

spawnTo() public méthode

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

Property Details

$drag protected_oe property

protected $drag

$gravity protected_oe property

protected $gravity

$height public_oe property

public $height

$length public_oe property

public $length

$width public_oe property

public $width