Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Accessors

description

  • get description(): string
  • set description(value: string): any
  • Returns string

  • Parameters

    • value: string

    Returns any

driver

engines

healthBarVisiblility

hitPoints

  • get hitPoints(): number
  • set hitPoints(value: number): any
  • Returns number

  • Parameters

    • value: number

    Returns any

indestructible

  • get indestructible(): boolean
  • set indestructible(value: boolean): any
  • Returns boolean

  • Parameters

    • value: boolean

    Returns any

labels

maxHitPoints

  • get maxHitPoints(): number
  • set maxHitPoints(value: number): any
  • Returns number

  • Parameters

    • value: number

    Returns any

name

  • get name(): string
  • set name(value: string): any
  • Returns string

  • Parameters

    • value: string

    Returns any

position

rotation

type

velocity

Methods

addStorage

attachLabel

damage

despawn

  • despawn(): void

disableInteractions

  • disableInteractions(): void

disintegrate

  • disintegrate(): void

getColor

  • getColor(colorId: number): YColor

getResistance

getStorageData

hasLabel

hasStorage

is

  • is(klass: YTag): boolean
  • Parameters

    Returns boolean

isColorable

  • isColorable(colorId: number): boolean

isType

kill

removeLabel

removeStorage

revertColor

  • revertColor(color1: boolean, color2: boolean, color3: boolean): void
  • Parameters

    • color1: boolean
    • color2: boolean
    • color3: boolean

    Returns void

setColor

  • setColor(colorId: number, color: YColor): void

setCustomInteraction

  • setCustomInteraction(hint: string, interactionId: string, overridesDefault: boolean): void

setDefaultInteractions

  • setDefaultInteractions(): void

setResistance

  • setResistance(damageType: YDamageType, value: number): void

transformPosition

transformRotation

Static damage

Static despawn

Static disintegrate

  • disintegrate(target: YEntity): void

Static is

Static kill

Static spawn

Static spawnEntity

Static throwEntity

Generated using TypeDoc