public class BiomeFileContext extends FileContext
Class BiomeFileContext. Provides biomefilecontext functionality for the Hytale server.
java.lang.Object > FileContext > BiomeFileContext
Field Summary
name
final
String
name
Field name.
Method Detail
BiomeFileContext
public
public
BiomeFileContext
(final int id, final String name, final Path filepath, final Type type, final ZoneFileContext parent)
Method BiomeFileContext.
- Parameters:
final intidfinal Stringnamefinal Pathfilepathfinal Typetypefinal ZoneFileContextparent
getType
public
Type
getType
()
Method getType.
getBiomeType
static
Type
getBiomeType
(@Nonnull final Path path)
Method getBiomeType.
- Parameters:
@Nonnull final Pathpath
Error
public
new
Error
("Unable to determine biome Type from file: " + String.valueOf(path)
Method Error.
- Parameters:
"Unable to determine biome Type from file: " +String.valueOf(path
Type
public
private
Type
(final String prefix, final String displayName)
Method Type.
- Parameters:
final Stringprefixfinal StringdisplayName
getPrefix
public
String
getPrefix
()
Method getPrefix.
getSuffix
public
String
getSuffix
()
Method getSuffix.
getDisplayName
public
String
getDisplayName
()
Method getDisplayName.