Class HoeItemHooks
java.lang.Object
me.shedaniel.architectury.hooks.tool.HoeItemHooks
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
addTillable
(net.minecraft.world.level.block.Block input, net.minecraft.world.level.block.state.BlockState result) Adds a new tilling (interact with hoe) interaction to the game.
-
Method Details
-
addTillable
public static void addTillable(net.minecraft.world.level.block.Block input, net.minecraft.world.level.block.state.BlockState result) Adds a new tilling (interact with hoe) interaction to the game.Notes:
- Blocks can only be tilled if they have no block above them.
- Parameters:
input
- input blockresult
- resulting state
-