Package net.fabricmc.fabric.api.registry
Class FlattenableBlockRegistry
java.lang.Object
net.fabricmc.fabric.api.registry.FlattenableBlockRegistry
A registry for shovel flattening interactions. A vanilla example is turning dirt to dirt paths.
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
register
(net.minecraft.block.Block input, net.minecraft.block.BlockState flattened) Registers a flattening interaction.
-
Method Details
-
register
public static void register(net.minecraft.block.Block input, net.minecraft.block.BlockState flattened) Registers a flattening interaction.- Parameters:
input
- the input block that can be flattenedflattened
- the flattened result block state
-