Class FlattenableBlockRegistry

java.lang.Object
net.fabricmc.fabric.api.registry.FlattenableBlockRegistry

@Deprecated public final class FlattenableBlockRegistry extends Object
Deprecated.
Use Quilt Block Content Registry API's BlockContentRegistries.FLATTENABLE registry attachment instead.
A registry for shovel flattening interactions. A vanilla example is turning dirt to dirt paths.
  • Method Details

    • register

      public static void register(Block input, BlockState flattened)
      Deprecated.
      Registers a flattening interaction.
      Parameters:
      input - the input block that can be flattened
      flattened - the flattened result block state