PHP Class pocketmine\entity\Boat

Inheritance: extends Vehicle
Afficher le fichier Open project: iTXTech/Genisys Class Usage Examples

Méthodes publiques

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

Méthodes publiques

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

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

attack() public méthode

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

getDrops() public méthode

public getDrops ( )

getSaveId() public méthode

public getSaveId ( )

getWoodID() public méthode

public getWoodID ( ) : integer
Résultat integer

onUpdate() public méthode

public onUpdate ( $currentTick )

spawnTo() public méthode

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