Class BiomeFileContext

java.lang.Object
com.hypixel.hytale.server.worldgen.loader.context.FileContext<ZoneFileContext>
com.hypixel.hytale.server.worldgen.loader.context.BiomeFileContext

public class BiomeFileContext extends FileContext<ZoneFileContext>
Holds contextual information about a single Biome file, including its id, name, path, and type.
  • Constructor Details

  • Method Details

    • getType

      public BiomeFileContext.Type getType()
    • getBiomeType

      @Nonnull public static BiomeFileContext.Type getBiomeType(@Nonnull AssetPath path)
      Derive the Type from the filepath of the Biome.
      Parameters:
      path - The path to the Biome file.
      Returns:
      The Type for Biome file according to its filename prefix invalid input: '&' suffix.