Interface MultiblockShape

All Known Implementing Classes:
MultiblockShape.Box, MultiblockShape.Pattern

public sealed interface MultiblockShape permits MultiblockShape.Box, MultiblockShape.Pattern
What blocks a multiblock is made of, and where (D33). Two kinds:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    A hollow box: frame blocks make its six walls (an open top: five), casings every edge and corner, and its interior holds what interior allows.
    static final record 
    A fixed shape, like a crafting recipe in 3D: layers from the bottom up, each a list of rows from north to south, each row a string of characters from west to east.
  • Method Summary

    Modifier and Type
    Method
    Description
    @NotNull Set<net.kyori.adventure.key.Key>
    Every block that can be part of the structure itself (not its interior).
  • Method Details

    • blocks

      @NotNull @NotNull Set<net.kyori.adventure.key.Key> blocks()
      Every block that can be part of the structure itself (not its interior).