Options
All
  • Public
  • Public/Protected
  • All
Menu

Class used to manipulate player's hunger

deprecated

Consider using Player.getHunger and Player.setHunger

Hierarchy

  • PlayerHunger

Index

Constructors

Methods

Constructors

Methods

  • get(): number
  • set(value: number): void
  • Sets player's hunger

    Parameters

    • value: number

      hunger value to be set

    Returns void

Generated using TypeDoc