Interface JavaTool.Rule.Builder
- All Superinterfaces:
GenericBuilder<JavaTool.Rule>
- Enclosing interface:
- JavaTool.Rule
Builder for a tool rule.
- Since:
- 2.9.3
-
Method Details
-
blocks
Sets theHoldersof block identifiers that this rule is for.- Parameters:
blocks- theHoldersof block identifiers that this rule is for- Returns:
- this builder
- Since:
- 2.9.3
-
speed
Sets the speed to use when mining a block that matches this rule- Parameters:
speed- the speed to use- Returns:
- this builder
- Since:
- 2.9.3
-
build
JavaTool.Rule build()Creates the rule.- Specified by:
buildin interfaceGenericBuilder<JavaTool.Rule>- Returns:
- the new rule
- Since:
- 2.9.3
-