Options
All
  • Public
  • Public/Protected
  • All
Menu

Object containing data about a single potion effect applied by food, including the chance of applying

since

1.4

Hierarchy

Index

Methods

  • clone(): any
  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

  • finalize(): void
  • getAmplifier(): number
  • since

    1.4

    Returns number

    potion effect amplifier

  • getChance(): number
  • since

    1.4

    Returns number

    chance for the potion effect to be applied (1.0 = 100%)

  • since

    1.4

    Returns String

    name ID of the potion effect, or null if the effect is not valid

  • getDuration(): number
  • since

    1.4

    Returns number

    potion effect duration

  • getId(): number
  • since

    1.4

    Returns number

    numeric ID of the potion effect

  • hashCode(): number
  • notify(): void
  • notifyAll(): void
  • toString(): string
  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

  • Parameters

    • param0: number

    Returns void

  • Parameters

    • param0: number
    • param1: number

    Returns void

Generated using TypeDoc