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.CODEC
Tool.rules
The field for therules
record component.static final StreamCodec
<RegistryFriendlyByteBuf, Tool.Rule> Tool.Rule.STREAM_CODEC
Methods in net.minecraft.world.item.component that return Tool.RuleModifier and TypeMethodDescriptionstatic Tool.Rule
Tool.Rule.deniesDrops
(TagKey<Block> p_335654_) private static Tool.Rule
private static Tool.Rule
static Tool.Rule
Tool.Rule.minesAndDrops
(List<Block> p_335413_, float p_335923_) static Tool.Rule
Tool.Rule.minesAndDrops
(TagKey<Block> p_335441_, float p_336060_) static Tool.Rule
Tool.Rule.overrideSpeed
(List<Block> p_335776_, float p_335593_) static Tool.Rule
Tool.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