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