Uses of Interface
io.papermc.paper.datacomponent.item.Tool.Rule
Packages that use Tool.Rule
-
Uses of Tool.Rule in io.papermc.paper.datacomponent.item
Methods in io.papermc.paper.datacomponent.item that return Tool.RuleModifier and TypeMethodDescriptionstatic Tool.Rule
Creates a mining rule that specifies how an item interacts with certain block types.Methods in io.papermc.paper.datacomponent.item that return types with arguments of type Tool.RuleMethods in io.papermc.paper.datacomponent.item with parameters of type Tool.RuleModifier and TypeMethodDescriptionAdds a rule to the tool that controls the breaking speed / damage per block if matched.Method parameters in io.papermc.paper.datacomponent.item with type arguments of type Tool.RuleModifier and TypeMethodDescriptionTool.Builder.addRules
(Collection<Tool.Rule> rules) Adds rules to the tool that control the breaking speed / damage per block if matched.