Interface Tool.Rule
- Enclosing interface:
Tool
@NonExtendable
public static interface Tool.Rule
- Since:
- 1.21.3
-
Method Details
-
blocks
-
speed
@Nullable Float speed()Overrides the mining speed if present and matched.- Returns:
- speed override
- Since:
- 1.21.3
-
correctForDrops
net.kyori.adventure.util.TriState correctForDrops()Overrides whether this tool is considered 'correct' if present and matched.truewill cause the block to mine at its most efficient speed, and drop items if the targeted block requires that.- Returns:
- a tri-state
- Since:
- 1.21.3
-