Package dev.despical.pixelpainter.core


package dev.despical.pixelpainter.core
World-independent block geometry and perceptual color mathematics.

Inclusive bounds support journal reservation and chunk budgets, while orientation vectors map top-down source rows to walls or horizontal art. Positions do not retain Bukkit worlds. ColorMath linearizes sRGB and converts it into Oklab for nearest-color matching. These helpers can run without live server state.

  • Class
    Description
    Describes an inclusive, axis-aligned block region in a separately identified world.
    Converts sRGB samples into Oklab and measures perceptual color distance.
    Maps top-to-bottom image pixels into vertical walls or horizontal floor art.
    Enumerates user-correctable failures and the message each one resolves to.
    Signals a failure the sender can correct, carrying its typed PaintError.
    Identifies one integer block coordinate without retaining a live world object.