Blocks Previewer Placement Compat

A client-side addon for Blocks Previewer 2.2.0 on Minecraft 1.21.1 (NeoForge). Blocks Previewer draws a ghost of the block you are holding; this makes that ghost show where the block will actually end up once other placement mods are installed, instead of the plain vanilla position.

What it previews

  • Offgrid 1.0.7: offsets, overlays and blocklogged placements. The ghost uses Offgrid’s own placement decision, so it follows the same anchor and translation, and shows Offgrid’s clipped model and outline for an overlay.
  • Olaf’s Relatively Placed Blocks 1.0.3: which cluster member is being added and how it is oriented, including the quarter-block translation. A placement the cluster would reject does not appear as a normal accepted ghost.
  • Sable 2.0.6: translating and rotating sublevels, including Create Simulated assemblies built on Sable. The ghost is placed in the contraption’s local space and transformed with it.

Each of those mods is optional. With none installed, the addon changes nothing. Blocks Previewer’s own hand choice, filters, opacity and display modes are untouched.

What it never does

It only predicts. It does not place blocks, send packets, use items, run other mods’ interaction code, or change the outlines of blocks that already exist. Actual placement still follows the placement mods’ rules, and a preview is a client prediction, not a server promise.

Limits

  • Ordinary Create contraptions that do not use Sable have a separate interaction path and are not covered.
  • Protected areas and other server-only checks cannot be predicted, so a ghost can still be refused by the server.
  • A custom item that only decides its destination inside a mutating placement method cannot be predicted exactly.
  • Not tested in a live game yet. The hooks, geometry and rejection checks were verified offline against the installed jars, not by flying around a world.

Install

Client only; it does not need to be on the server. Put the jar in mods next to Blocks Previewer 2.2.0. Install Offgrid, Olaf’s Relatively Placed Blocks and Sable only if you already use them.

1.1.0

Released

  • Minecraft 1.21.1, NeoForge

    Download NeoForge for 1.21.1
    Requires
    Blocks Previewer 2.2.0 (exact version), NeoForge 21.1.266, Java 21 or newer, Optional: Offgrid 1.0.7, Olaf's Relatively Placed Blocks 1.0.3, Sable 2.0.6
    File size
    34675 bytes
    SHA-256
    53cfb76eef3c00b148dfc9d1043aa5a682a94f03b8dcdb46a1cfcc94ae752e39

Changelog

  • Previews follow Offgrid offsets, overlays and blocklogged placements.
  • Previews follow Olaf's Relatively Placed Blocks cluster placement and hide rejected placements.
  • Previews follow moving and rotated Sable sublevels, including Create Simulated assemblies.

Not tested in a live game yet; hooks and geometry were verified offline against the installed jars.