Uses of Interface
io.papermc.paper.datacomponent.item.Tool.Builder
-
Uses of Tool.Builder in io.papermc.paper.datacomponent.item
Modifier and TypeMethodDescriptionAdds a rule to the tool that controls the breaking speed / damage per block if matched.Tool.Builder.addRules
(Collection<Tool.Rule> rules) Adds rules to the tool that control the breaking speed / damage per block if matched.Tool.Builder.damagePerBlock
(@org.checkerframework.checker.index.qual.NonNegative int damage) Controls the amount of durability to remove each time a block is mined with this tool.Tool.Builder.defaultMiningSpeed
(float miningSpeed) Controls mining speed to use if no rules match and don't override mining speed.static Tool.Builder
Tool.tool()