Uses of Record Class
net.minecraft.world.item.component.Tool.Rule
-
Uses of Tool.Rule in net.minecraft.world.item.component
Modifier 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
Modifier 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_)