Interface StructurePlacePart<Block,World>


public interface StructurePlacePart<Block,World>
Represents a part of the structure.
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets currently processed block from the structure source.
    Gets target block in the world where the source block is placed.
    Gets the world where the structure is placed.
  • Method Details

    • getSourceBlock

      @NotNull Block getSourceBlock()
      Gets currently processed block from the structure source. The location of the block is relative to the position in the structure.
      Returns:
      StructurePlacePart.
    • getTargetBlock

      @NotNull Block getTargetBlock()
      Gets target block in the world where the source block is placed.
      Returns:
      StructurePlacePart.
    • getWorld

      @NotNull World getWorld()
      Gets the world where the structure is placed.
      Returns:
      StructurePlacePart.