Interface FabricBlockEntityType


public interface FabricBlockEntityType
General-purpose Fabric-provided extensions for BlockEntityType.

Note: This interface is automatically implemented on BlockEntityType via Mixin and interface injection.

  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    General-purpose Fabric-provided extensions for BlockEntityType.Builder.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Adds a block to the list of blocks that this block entity type can be used with.
  • Method Details

    • addSupportedBlock

      default void addSupportedBlock(Block block)
      Adds a block to the list of blocks that this block entity type can be used with.
      Parameters:
      block - the Block to add