Interface BlockFactory<T extends net.minecraft.world.level.block.Block>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface BlockFactory<T extends net.minecraft.world.level.block.Block>
  • Method Summary

    Modifier and Type
    Method
    Description
    createBlock(net.minecraft.world.item.DyeColor color, net.minecraft.network.chat.MutableComponent name)
     
  • Method Details

    • createBlock

      T createBlock(net.minecraft.world.item.DyeColor color, net.minecraft.network.chat.MutableComponent name)