net.minecraft.world.item

public class HoeItem

extends DiggerItem

All mapped superinterfaces:

FeatureElement, ItemLike

cwg
net.minecraft.world.item.HoeItem
net.minecraft.class_1794
net.minecraft.item.HoeItem
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

Constructor summary

ModifierConstructor
public (ToolMaterial material, float attackDamage, float attackSpeed, Item$Properties settings)

Method summary

Modifier and TypeMethod
public InteractionResult
a(daj arg0)
useOn(UseOnContext arg0)
method_7884(class_1838 arg0)
useOnBlock(ItemUsageContext arg0)
public static Consumer<UseOnContext>
a(dwy arg0)
changeIntoState(BlockState arg0)
method_36988(class_2680 arg0)
createTillAction(BlockState result)
public static Consumer<UseOnContext>
a(dwy arg0, dgi arg1)
changeIntoStateAndDropItem(BlockState arg0, ItemLike arg1)
method_36985(class_2680 arg0, class_1935 arg1)
createTillAndDropAction(BlockState result, ItemConvertible droppedItem)
public static boolean
b(daj arg0)
onlyIfAirAbove(UseOnContext arg0)
method_36987(class_1838 arg0)
canTillFarmland(ItemUsageContext context)