Class HoeItemHooks

java.lang.Object
me.shedaniel.architectury.hooks.tool.HoeItemHooks

public final class HoeItemHooks extends Object
  • 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 block
      result - resulting state