Package dev.despical.mazeengine.integration
package dev.despical.mazeengine.integration
Adapters for optional external plugins and original terrain snapshots.
WorldEditBridge resolves loaded-world cuboid selections and full block-state clipboard snapshots. WorldGuardBridge checks placement and breaking rights for plugin-driven edits, while MazePlaceholders publishes copied metadata for PlaceholderAPI requests without asynchronous world lookups.
Optional dependency classes are reached only when their feature is available or requested. Snapshot capture and restore run on the server thread; completed schematic reads and writes use the storage executor. Integration startup and cleanup are owned by the plugin and its service lifecycle.
-
ClassDescriptionPublishes maze metadata through the optional PlaceholderAPI expansion.Owns optional integrations enabled alongside the plugin's core services.Carries a resolved WorldEdit cuboid selection and its loaded Bukkit world.Defines indexed capture, restoration, and persistence of original terrain.Adapts optional WorldEdit functionality to maze selections and terrain snapshots.Checks optional WorldGuard build permissions before maze terrain is edited.