Interface PlayerSaturation

Interface used to manipulate player's saturation.

Consider using Player.getSaturation and Player.setSaturation.

interface PlayerSaturation {
    get(): number;
    set(value: number): void;
}

Methods

Methods

  • Returns number

    Player's current saturation.

  • Sets player's saturation.

    Parameters

    • value: number

      saturation value to be set

    Returns void

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.