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> p_335654_) private static Tool.Ruleprivate static Tool.Rulestatic Tool.RuleTool.Rule.minesAndDrops(List<Block> p_335413_, float p_335923_) static Tool.RuleTool.Rule.minesAndDrops(TagKey<Block> p_335441_, float p_336060_) static Tool.RuleTool.Rule.overrideSpeed(List<Block> p_335776_, float p_335593_) static Tool.RuleTool.Rule.overrideSpeed(TagKey<Block> p_335580_, float p_335857_) 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