Uses of Interface
io.papermc.paper.datacomponent.item.Tool.Builder
Packages that use Tool.Builder
- 
Uses of Tool.Builder in io.papermc.paper.datacomponent.itemMethods in io.papermc.paper.datacomponent.item that return Tool.BuilderModifier 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.canDestroyBlocksInCreative(boolean canDestroyBlocksInCreative) Controls whether this tool can destroy blocks in creative mode.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.BuilderTool.tool()