Package net.neoforged.testframework.conf
Enum Class Feature
- All Implemented Interfaces:
- Serializable,- Comparable<Feature>,- Constable
This class represents the different features a 
TestFramework may have.- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionThis feature allows clients to modify the status of tests.This feature syncs the status of tests to clients.This feature enables the GameTest integration.Register tests with annotations.When enabled, test summaries will be dumped when a server stops.When enabled, this feature will store the tests that existed when a player last logged on, using a SavedData.
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Enum Constant Details- 
CLIENT_SYNCThis feature syncs the status of tests to clients.
- 
CLIENT_MODIFICATIONSThis feature allows clients to modify the status of tests.
- 
GAMETESTThis feature enables the GameTest integration.
- 
SUMMARY_DUMPWhen enabled, test summaries will be dumped when a server stops.
- 
TEST_STOREWhen enabled, this feature will store the tests that existed when a player last logged on, using a SavedData.
 When a player joins, they will get a message in chat containing all newly added tests.
- 
MAGIC_ANNOTATIONSRegister tests with annotations.
 
- 
- 
Field Details- 
enabledByDefaultprivate final boolean enabledByDefault
 
- 
- 
Constructor Details- 
Featureprivate Feature(boolean enabledByDefault) 
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
isEnabledByDefaultpublic boolean isEnabledByDefault()
 
-