Interface IConfigHelper
- All Known Implementing Classes:
FabricConfigHelper
public interface IConfigHelper
Common configuration helper service interface.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault value of the shear's durabilitystatic final StringConfig description of the shear's durabilitystatic final intMaximal value of the shear's durabilitystatic final intMinimal value of the shear's durability -
Method Summary
Modifier and TypeMethodDescriptionintGets the configured durability value.voidinit()Initialization method for the Service implementations.
-
Field Details
-
DURABILITY_DEFAULT
static final int DURABILITY_DEFAULTDefault value of the shear's durability- See Also:
-
DURABILITY_DESCRIPTION
Config description of the shear's durability- See Also:
-
DURABILITY_MIN
static final int DURABILITY_MINMinimal value of the shear's durability- See Also:
-
DURABILITY_MAX
static final int DURABILITY_MAXMaximal value of the shear's durability- See Also:
-
-
Method Details
-
init
void init()Initialization method for the Service implementations. -
getDurability
int getDurability()Gets the configured durability value.- Returns:
- configured durability value
-