Class BlockNbtReportBuilder
java.lang.Object
de.eldoria.schematicsanitizer.sanitizer.report.builder.BaseReportBuilder<RemovedBlockNbt>
de.eldoria.schematicsanitizer.sanitizer.report.builder.BlockNbtReportBuilder
Builds a BlockNbtReport containing information about removed block NBT data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Build the BlockNbtReport object.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.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.Methods inherited from class de.eldoria.schematicsanitizer.sanitizer.report.builder.BaseReportBuilder
removed, removed
-
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 formatblockType
- the type of the block to be removedcause
- the cause of the block removalkey
- the key associated with the block (optional)
-
build
Build the BlockNbtReport object.- Returns:
- The built BlockNbtReport object.
-