Class ShovelItemHooks
java.lang.Object
me.shedaniel.architectury.hooks.tool.ShovelItemHooks
- 
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddFlattenable(net.minecraft.world.level.block.Block input, net.minecraft.world.level.block.state.BlockState result) Adds a new flattening (interact with shovel) interaction to the game. 
- 
Method Details
- 
addFlattenable
public static void addFlattenable(net.minecraft.world.level.block.Block input, net.minecraft.world.level.block.state.BlockState result) Adds a new flattening (interact with shovel) interaction to the game.Notes:
- Blocks can only be flattened if they have no block above them.
 - Campfires have a special case for being extinguished by a shovel, though you can override that using this method due to the check order.
 
- Parameters:
 input- input blockresult- result block state
 
 -