JSPrismarine
    Preparing search index...
    • Get Gametype name.

      Parameters

      • mode: Gametype

        The Gametype to get the name of.

      Returns GametypeName

      The Gametype name.

      Thrown if the Gametype is invalid.

      const gametype = getGametypeName(Gametype.SURVIVAL);
      console.log(gametype); // 'Survival'