Class BlockNbtReportBuilder

java.lang.Object
de.eldoria.schematicsanitizer.sanitizer.report.builder.BaseReportBuilder<RemovedBlockNbt>
de.eldoria.schematicsanitizer.sanitizer.report.builder.BlockNbtReportBuilder

public class BlockNbtReportBuilder extends BaseReportBuilder<RemovedBlockNbt>
Builds a BlockNbtReport containing information about removed block NBT data.
  • Constructor Details

    • BlockNbtReportBuilder

      public BlockNbtReportBuilder()
  • Method Details

    • removed

      public void removed(com.sk89q.worldedit.math.BlockVector3 vector3, com.sk89q.worldedit.world.block.BlockType blockType, NbtRemovalCause cause, String key, String text)
      Logs removal of a block with the specified details.
      Parameters:
      vector3 - The coordinates of the block to be removed.
      blockType - The type of the block to be removed.
      cause - The cause of the removal.
      key - The key associated with the removal.
      text - The additional text related to the removal.
    • removed

      public void removed(com.sk89q.worldedit.math.BlockVector3 vector3, com.sk89q.worldedit.world.block.BlockType blockType, NbtRemovalCause cause, String key)
      Logs removal of a block with the specified parameters.
      Parameters:
      vector3 - the position of the block in BlockVector3 format
      blockType - the type of the block to be removed
      cause - the cause of the block removal
      key - the key associated with the block (optional)
    • build

      public BlockNbtReport build()
      Build the BlockNbtReport object.
      Returns:
      The built BlockNbtReport object.