Package dev.despical.pixelpainter.service


package dev.despical.pixelpainter.service
Bounded worker execution and incremental world operations with durable recovery.

TaskExecutor returns image/file results to the server thread while the plugin is enabled and closes its bounded queue during shutdown. One server-thread painting job acquires chunk tickets, scans target blocks and waits for a durable undo journal before writing terrain. Painting and restoration process bounded work each tick. Undo preserves later edits and block entities; conflicts retain recovery records. Cancellation and disconnect stop further writes while keeping durable recovery data, and shutdown releases tickets and progress UI.

  • Classes
    Class
    Description
    Coordinates one bounded world operation and its persistent undo history.
    Schedules plugin work through the region-aware Paper schedulers.
    Runs bounded image and file work and returns results to the global region thread.