Uses of Record Class
net.minecraft.world.item.component.Tool.Rule
Packages that use Tool.Rule
-
Uses of Tool.Rule in net.minecraft.world.item.component
Fields in net.minecraft.world.item.component with type parameters of type Tool.RuleModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<Tool.Rule> Tool.Rule.CODECTool.rulesThe field for therulesrecord component.static final StreamCodec<RegistryFriendlyByteBuf, Tool.Rule> Tool.Rule.STREAM_CODECMethods in net.minecraft.world.item.component that return Tool.RuleModifier and TypeMethodDescriptionstatic Tool.RuleTool.Rule.deniesDrops(TagKey<Block> blocks) private static Tool.Ruleprivate static Tool.Rulestatic Tool.RuleTool.Rule.minesAndDrops(List<Block> blocks, float speed) static Tool.RuleTool.Rule.minesAndDrops(TagKey<Block> blocks, float speed) static Tool.RuleTool.Rule.overrideSpeed(List<Block> blocks, float speed) static Tool.RuleTool.Rule.overrideSpeed(TagKey<Block> blocks, float speed) Methods in net.minecraft.world.item.component that return types with arguments of type Tool.RuleConstructor parameters in net.minecraft.world.item.component with type arguments of type Tool.Rule