BedrioxDOCUMENTATION
API INTERFACE

MobController

Public interface in Bedriox\Api\Entity\Controller.

Bedriox\Api\Entity\Controller\MobController
interfaceBedriox\Api\Entity\Controller

Public methods

setAiEnabled(bool $enabled): void

Typed public method.

moveToward(Bedriox\Api\World\Position $target, float $speed): void

Typed public method.

moveAway(Bedriox\Api\World\Position $target, float $speed): void

Typed public method.

stopMoving(): void

Typed public method.

lookAt(Bedriox\Api\World\Position $target): void

Typed public method.

target(Bedriox\Api\Entity\Entity $target, float $speed): void

Typed public method.

clearTarget(): void

Typed public method.

View exact source ↗