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
(Block input, BlockState flattened) Registers a flattening interaction.
-
Method Details
-
register
Registers a flattening interaction.- Parameters:
input
- the input block that can be flattenedflattened
- the flattened result block state
-