Class StandardGeneratorUtils

java.lang.Object
org.cloudburstmc.server.level.generator.standard.StandardGeneratorUtils

public class StandardGeneratorUtils extends Object
Various helper methods used by the Cloudburst standard generator.
Author:
DaPorkchop_
  • Constructor Details

    • StandardGeneratorUtils

      public StandardGeneratorUtils()
  • Method Details

    • read

      public static InputStream read(@NonNull @NonNull String category, @NonNull @NonNull org.cloudburstmc.api.util.Identifier id) throws IOException
      Throws:
      IOException
    • hash

      public static long hash(@NonNull @NonNull String text)
      Hashes a String to a 64-bit value.
      Parameters:
      text - the text to hash
      Returns:
      the hashed value