Interface ListPoolElement

All Superinterfaces:
PoolElement, Wrapper

@NullMarked @AsOf("3.4.0") public interface ListPoolElement extends PoolElement
Places several elements at the same spot, in order. The first element decides the piece's size and jigsaw connections; the rest are stamped over it.
Since:
3.4.0
  • Method Details

    • elements

      @AsOf("3.4.0") List<PoolElement> elements()
      The elements placed, in order. Minecraft applies this element's projection to each of them.
      Returns:
      the elements
      Since:
      3.4.0
    • of

      @AsOf("3.4.0") static ListPoolElement of(Projection projection, List<PoolElement> elements)
      Creates a new list element.
      Parameters:
      projection - how the elements are fitted to the terrain
      elements - the elements to place, which must not be empty
      Returns:
      a new list element
      Since:
      3.4.0