net.minecraft.world.item

public class HoeItem

extends DiggerItem

All mapped superinterfaces:

ItemLike, Vanishable

bqh
net.minecraft.world.item.HoeItem
net.minecraft.class_1794
net.minecraft.item.HoeItem
net.minecraft.src.C_1378_
net.minecraft.world.item.ItemHoe

Field summary

Modifier and TypeField
protected static final Map<Block, com.mojang.datafixers.util.Pair<Predicate<UseOnContext>, Consumer<UseOnContext>>>
a
TILLABLES
field_8023
TILLED_BLOCKS
f_41332_

Constructor summary

ModifierConstructor
protected (Tier material, int attackDamage, float attackSpeed, Item$Properties settings)

Method summary

Modifier and TypeMethod
public InteractionResult
a(bsr arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
m_6225_(C_1450_ arg0)
public static Consumer<UseOnContext>
b(cks arg0)
changeIntoState(BlockState arg0)
method_36988(class_2680 arg0)
getTillingConsumer(BlockState state)
m_150858_(C_2064_ p_150859_)
public static Consumer<UseOnContext>
a(cks arg0, bwo arg1)
changeIntoStateAndDropItem(BlockState arg0, ItemLike arg1)
method_36985(class_2680 arg0, class_1935 arg1)
getTillingConsumer(BlockState state, ItemConvertible dropItem)
m_150849_(C_2064_ p_150850_, C_1595_ p_150851_)
public static boolean
b(bsr arg0)
onlyIfAirAbove(UseOnContext arg0)
method_36987(class_1838 arg0)
usagePredicate(ItemUsageContext context)
m_150856_(C_1450_ p_150857_)