PHP Class pocketmine\entity\Boat

Inheritance: extends Vehicle
Datei anzeigen Open project: iTXTech/Genisys Class Usage Examples

Public Properties

Property Type Description
$drag
$gravity
$height
$width

Public Methods

Method Description
__construct ( pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt )
attack ( $damage, EntityDamageEvent $source )
getDrops ( )
getSaveId ( )
getWoodID ( ) : integer
onUpdate ( $currentTick )
spawnTo ( Player $player )

Method Details

__construct() public method

public __construct ( pocketmine\level\format\FullChunk $chunk, CompoundTag $nbt )
$chunk pocketmine\level\format\FullChunk
$nbt pocketmine\nbt\tag\CompoundTag

attack() public method

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

getDrops() public method

public getDrops ( )

getSaveId() public method

public getSaveId ( )

getWoodID() public method

public getWoodID ( ) : integer
return integer

onUpdate() public method

public onUpdate ( $currentTick )

spawnTo() public method

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

Property Details

$drag public_oe property

public $drag

$gravity public_oe property

public $gravity

$height public_oe property

public $height

$width public_oe property

public $width