Interface StructurePlacePart<Block,World>
public interface StructurePlacePart<Block,World>
Represents a part of the structure.
-
Method Summary
Modifier and TypeMethodDescriptionGets currently processed block from the structure source.Gets target block in the world where the source block is placed.getWorld()Gets the world where the structure is placed.
-
Method Details
-
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
Gets target block in the world where the source block is placed.- Returns:
StructurePlacePart.
-
getWorld
Gets the world where the structure is placed.- Returns:
StructurePlacePart.
-