Uses of Interface
org.bukkit.inventory.meta.components.ToolComponent.ToolRule
Packages that use ToolComponent.ToolRule
Package
Description
Isolated components which may form part of item meta.
-
Uses of ToolComponent.ToolRule in org.bukkit.inventory.meta.components
Methods in org.bukkit.inventory.meta.components that return ToolComponent.ToolRuleModifier and TypeMethodDescriptionToolComponent.addRule(Collection<Material> blocks, Float speed, Boolean correctForDrops) Add a new rule to this tool component, which provides further information about a collection of block types.Add a new rule to this tool component, which provides further information about a specific block type.Add a new rule to this tool component, which provides further information about a collection of block types represented by a blockTag.Methods in org.bukkit.inventory.meta.components that return types with arguments of type ToolComponent.ToolRuleModifier and TypeMethodDescriptionToolComponent.getRules()Get the list ofToolRulesthat apply to this tool.Methods in org.bukkit.inventory.meta.components with parameters of type ToolComponent.ToolRuleModifier and TypeMethodDescriptionbooleanToolComponent.removeRule(ToolComponent.ToolRule rule) Remove the givenToolComponent.ToolRulefrom this tool.Method parameters in org.bukkit.inventory.meta.components with type arguments of type ToolComponent.ToolRuleModifier and TypeMethodDescriptionvoidToolComponent.setRules(List<ToolComponent.ToolRule> rules) Set the list ofToolRulesto apply to this tool.