net.minecraft.world.item.component

public record Tool$Rule

cxw$a
net.minecraft.world.item.component.Tool$Rule
net.minecraft.class_9424$class_9425
net.minecraft.unmapped.C_uippejmz$C_xaqghtin
net.minecraft.component.type.ToolComponent$Rule
net.minecraft.component.type.ToolComponent$Rule
net.minecraft.src.C_313874_$C_313342_
net.minecraft.world.item.component.Tool$a

Field summary

Modifier and TypeField
final HolderSet<Block>
c
blocks
comp_2501
f_xwonlglo
blocks
blocks
f_316953_
final Optional<Float>
d
speed
comp_2502
f_mouhdgvy
speed
speed
f_314550_
final Optional<Boolean>
e
correctForDrops
comp_2503
f_plljnwwn
correctForDrops
correctForDrops
f_315140_
public static final com.mojang.serialization.Codec<Tool$Rule>
a
CODEC
field_50011
f_xtppcnbp
CODEC
CODEC
f_314178_
public static final StreamCodec<RegistryFriendlyByteBuf, Tool$Rule>
b
STREAM_CODEC
field_50012
f_vbdpfiap
PACKET_CODEC
PACKET_CODEC
f_314031_

Constructor summary

ModifierConstructor
public (HolderSet<Block> blocks, Optional<Float> speed, Optional<Boolean> correctForDrops)

Method summary

Modifier and TypeMethod
public static Tool$Rule
a(List<dfb> arg0, float arg1)
minesAndDrops(List<Block> arg0, float arg1)
method_58431(List<class_2248> arg0, float arg1)
m_pgdfxdeg(List<C_mmxmpdoq> arg0, float arg1)
ofAlwaysDropping(List<Block> blocks, float speed)
ofSpeedWithDrops(List<Block> blocks, float speed)
m_321859_(List<C_1706_> p_335835_, float p_329194_)
public static Tool$Rule
a(axf<dfb> arg0, float arg1)
minesAndDrops(TagKey<Block> arg0, float arg1)
method_58428(class_6862<class_2248> arg0, float arg1)
m_mlqvtcbj(C_ednuhnnn<C_mmxmpdoq> arg0, float arg1)
ofAlwaysDropping(TagKey<Block> blocks, float speed)
ofSpeedWithDrops(TagKey<Block> blocks, float speed)
m_321972_(C_203208_<C_1706_> p_331729_, float p_328288_)
public static Tool$Rule
a(axf<dfb> arg0)
deniesDrops(TagKey<Block> arg0)
method_58427(class_6862<class_2248> arg0)
m_pagfzxcb(C_ednuhnnn<C_mmxmpdoq> arg0)
ofNeverDropping(TagKey<Block> tag)
ofDeniesDrops(TagKey<Block> blocks)
m_323695_(C_203208_<C_1706_> p_330234_)
public static Tool$Rule
b(axf<dfb> arg0, float arg1)
overrideSpeed(TagKey<Block> arg0, float arg1)
method_58433(class_6862<class_2248> arg0, float arg1)
m_yimopssh(C_ednuhnnn<C_mmxmpdoq> arg0, float arg1)
of(TagKey<Block> tag, float speed)
ofSpeed(TagKey<Block> blocks, float speed)
m_319062_(C_203208_<C_1706_> p_331960_, float p_329347_)
public static Tool$Rule
b(List<dfb> arg0, float arg1)
overrideSpeed(List<Block> arg0, float arg1)
method_58434(List<class_2248> arg0, float arg1)
m_wkcxqaup(List<C_mmxmpdoq> arg0, float arg1)
of(List<Block> blocks, float speed)
ofSpeed(List<Block> blocks, float speed)
m_322924_(List<C_1706_> p_330791_, float p_328067_)
private static Tool$Rule
a(axf<dfb> arg0, Optional<Float> arg1, Optional<Boolean> arg2)
forTag(TagKey<Block> arg0, Optional<Float> arg1, Optional<Boolean> arg2)
method_58429(class_6862<class_2248> arg0, Optional<Float> arg1, Optional<Boolean> arg2)
m_nwyzmeet(C_ednuhnnn<C_mmxmpdoq> arg0, Optional<Float> arg1, Optional<Boolean> arg2)
of(TagKey<Block> tag, Optional<Float> speed, Optional<Boolean> correctForDrops)
of(TagKey<Block> blocks, Optional<Float> speed, Optional<Boolean> correctForDrops)
m_320355_(C_203208_<C_1706_> p_330425_, Optional<Float> p_328628_, Optional<Boolean> p_332485_)
private static Tool$Rule
a(List<dfb> arg0, Optional<Float> arg1, Optional<Boolean> arg2)
forBlocks(List<Block> arg0, Optional<Float> arg1, Optional<Boolean> arg2)
method_58432(List<class_2248> arg0, Optional<Float> arg1, Optional<Boolean> arg2)
m_fwyltyoj(List<C_mmxmpdoq> arg0, Optional<Float> arg1, Optional<Boolean> arg2)
of(List<Block> blocks, Optional<Float> speed, Optional<Boolean> correctForDrops)
of(List<Block> blocks, Optional<Float> speed, Optional<Boolean> correctForDrops)
m_322181_(List<C_1706_> p_330965_, Optional<Float> p_333293_, Optional<Boolean> p_332888_)
public HolderSet<Block>
a()
blocks()
comp_2501()
m_tbdnyayc()
blocks()
blocks()
f_316953_()
public Optional<Float>
b()
speed()
comp_2502()
m_przhswra()
speed()
speed()
f_314550_()
public Optional<Boolean>
c()
correctForDrops()
comp_2503()
m_xpnbibkd()
correctForDrops()
correctForDrops()
f_315140_()