Skip to content

v1.0.1: make the native dialog chessboard seamless and stop oversized square glyphs from scrolling

Choose a tag to compare

@castledking castledking released this 13 Aug 08:39

Chess v1.0.1

Chess v1.0.1 gives the native dialog board a cleaner, continuous playing surface. The gaps
between its 64 clickable buttons are now covered by the board artwork, while every square remains
an independent action with the same move handling, highlights, and tooltips as before.

Fixed

  • Removed visible seams between board squares: Board textures now span the full spacing used
    by Minecraft's native dialog grid, creating one continuous 8x8 checkerboard instead of 64
    separated tiles.
  • Stopped chess images from sliding from side to side: Oversized square glyphs now use
    invisible font advances that keep their measured labels inside the buttons. This prevents
    Minecraft's overflowing-button-text marquee from activating.
  • Kept the full board interactive: The visual overdraw does not replace the native button
    grid. All 64 squares retain their individual click targets, coordinate and piece tooltips,
    legal-move handling, and stale-click protection.

Changed

  • Regenerated every normal, selected, and legal square combination as a 22x22 board tile so each
    image covers the button and the two-pixel gap to the next cell.
  • Increased the piece canvas to 17x17 pixels and centered it within each board tile, keeping the
    pieces clear and proportional on the larger seamless squares.
  • Removed the old inset tile borders so neighboring light, dark, selected, and legal squares meet
    cleanly without doubled outlines.
  • Plain piece glyphs used in the captured-piece display remain at their original size and are not
    affected by the board-only spacing changes.

Resource Pack Tooling

  • Added a repeatable board-tile generator for rebuilding all 78 square and piece states from the
    source piece artwork.
  • Added geometry verification covering tile dimensions, font metrics, opaque tile edges, and the
    final measured label width that prevents scrolling.
  • The bundled resource pack continues to be packaged inside Chess.jar and exported to
    plugins/Chess/resourcepack.zip during startup.

Verification

  • Verified all 78 board textures at a 22-pixel visible pitch.
  • Verified each composed button label measures 16 pixels, matching the available label area in a
    20-pixel native dialog button.
  • Validated the generated resource-pack ZIP and confirmed it is bundled in the shaded plugin JAR.
  • Built the complete plugin successfully with Java 21 and Gradle.
  • Confirmed the updated board in game with a continuous checkerboard and stationary piece
    artwork.

Upgrade Note

Replace the previous Chess.jar and fully restart the server. Chess will overwrite
plugins/Chess/resourcepack.zip with the updated bundled pack during startup.

If ResourcePackManager merges the Chess pack, allow it to rebuild and redistribute the combined
pack. If the resource pack is hosted or merged manually, replace that external copy with the new
plugins/Chess/resourcepack.zip; updating only the plugin JAR will leave clients on the old board
textures. Players may need to reconnect after the updated pack is available.

Chess v1.0.1 continues to target Paper 1.21.11, Java 21, and compatible Folia servers.