Class StructurePhasePlacementResult

java.lang.Object
com.ldtteam.structurize.placement.StructurePhasePlacementResult

public class StructurePhasePlacementResult extends Object
Possible placement for the invocation fo structure placement.
  • Constructor Details

    • StructurePhasePlacementResult

      public StructurePhasePlacementResult(net.minecraft.core.BlockPos iteratorPos, BlockPlacementResult result)
      Create a placement result object.
      Parameters:
      iteratorPos - the position the iterator is at.
      result - the last block placement result
  • Method Details

    • getIteratorPos

      public net.minecraft.core.BlockPos getIteratorPos()
      Get the iterator pos.
      Returns:
      the pos to restart from.
    • getBlockResult

      public BlockPlacementResult getBlockResult()
      Get the last block placement result.
      Returns:
      the result.