net.minecraft.world.item

public class HoeItem

extends DiggerItem

All mapped superinterfaces:

FeatureElement, ItemLike, Vanishable

cml
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
TILLING_ACTIONS
f_41332_

Constructor summary

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

Method summary

Modifier and TypeMethod
public InteractionResult
a(cpj arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
m_6225_(C_1450_ arg0)
public static Consumer<UseOnContext>
b(djh arg0)
changeIntoState(BlockState arg0)
method_36988(class_2680 arg0)
createTillAction(BlockState result)
m_150858_(C_2064_ p_150859_)
public static Consumer<UseOnContext>
a(djh arg0, cto arg1)
changeIntoStateAndDropItem(BlockState arg0, ItemLike arg1)
method_36985(class_2680 arg0, class_1935 arg1)
createTillAndDropAction(BlockState result, ItemConvertible droppedItem)
m_150849_(C_2064_ p_150850_, C_1595_ p_150851_)
public static boolean
b(cpj arg0)
onlyIfAirAbove(UseOnContext arg0)
method_36987(class_1838 arg0)
canTillFarmland(ItemUsageContext context)
m_150856_(C_1450_ p_150857_)