InteractionEntity
Invisible, non-colliding interaction region optionally attached to a display.
Bedriox\Api\Display\InteractionEntity
classBedriox\Api\Display
Public methods
__construct(string $uniqueId, Closure $state, Closure $mutate, Closure $remove)Typed public method.
getUniqueId(): stringTyped public method.
getPosition(): Bedriox\Api\World\PositionTyped public method.
getWidth(): floatTyped public method.
getHeight(): floatTyped public method.
setSize(float $width, float $height): voidTyped public method.
isEnabled(): boolTyped public method.
setEnabled(bool $enabled): voidTyped public method.
isRemoved(): boolTyped public method.
remove(): voidTyped public method.
static validateSize(float $width, float $height): voidTyped public method.
Constants
DEFAULT_WIDTHDEFAULT_HEIGHTMAXIMUM_SIZE
