Placement Preview

Placement Preview

A client-side mod to show a preview of the block-to-be-placed

by
1.9K Downloads
forgeutility
Rent Server with this Mod

About this Mod

Description

A client-side mod for displaying a preview of the block that would be placed on right click.

preview example screenshot

example

Configuration

There are several configuration options available, either via the in-game config menu, or in the configuration file.

  • defaultStateGhost - Should the ghost block rendering be enabled or disabled by default (when not holding any keys)
  • defaultStateWire - Should the wire frame rendering be enabled or disabled by default (when not holding any keys)
  • enableRenderGhost - The main enable for ghost block rendering
  • enableRenderWire - The main enable for wire frame rendering
  • fakeWorldCopyRadius - The radius of blocks that will be copied to the fake world. The change detection radius is one less than this value.
  • renderAfterDelay - The preview will only activate after the cursor has been held over a block for an amount of time.
  • renderDelay - The amount of time the cursor must be held over a block for the preview to activate.
  • renderOverlapping - Render a ghost block preview over existing blocks. This also changes the way the changed block models are detected. (when false, only blocks that were modified in the fake world via setBlockState() are included, when true, all blocks in a radius of fakeWorldCopyRadius - 1 are compared to the real world by comparing the getActualState() reference. This means that things like changing fence connections of adjacent existing blocks will be shown.)
  • requireSneakForGhost - Is holding sneak required to render the ghost blocks
  • requireSneakForWire - Is holding sneak required to render the wire frame
  • resetHoverTimerOnPosChange - Whether the hover delay will reset when the cursor moves over a different block.
  • toggleGhostWhileHoldingKey - Whether to toggle the ghost block rendering state from what the defaultStateGhost is, while holding the key set in toggleKeyGhost
  • toggleWireWhileHoldingKey - Whether to toggle the wire frame rendering state from what the defaultStateWire is, while holding the key set in toggleKeyWire
  • toggleKeyGhost - The key that must be help for the ghost block rendering state to toggle from the defaultStateGhost. Can be shift, alt or ctrl.
  • toggleKeyWire - The key that must be help for the wire frame rendering state to toggle from the defaultStateWire. Can be shift, alt or ctrl.
  • transparencyAlpha - The alpha value of the ghost block, if useTransparency is true. Range: 0.0 - 1.0, where 0.0 = completely transparent, 1.0 = completely opaque.
  • useTransparency - Render the ghost blocks as transparent/translucent.

The rendering can be toggled on/off all together via the Toggle key, which is P by default.
The enableRenderGhost state can be toggled via the Toggle Ghost keybind (Shift + P by default).
The enableRenderWire state can be toggled via the Toggle Wire keybind (Ctrl + P by default).

So to sum it up a bit:

  • The enableRender* options are the "master controls" and turning them off means nothing will be rendered no matter what the other options for that mode (ghost or wire) are.
  • Then the defaultState* options set the "default rendering state" (on vs. off) for that mode, when no keys are being pressed.
  • requireSneakFor* controls if sneaking is required for the rendering to activate for that mode.
  • toggle*WhileHoldingKey - When enabled, the on/off state from the defaultState* will be toggled/reversed while the key set in the corresponding toggleKey* option is being pressed.

So basically you can set it up to render one or both of the modes by default and be disabled while holding a key (Ctrl or Alt or Shift), or make them require sneaking, or make them require holding Ctrl or Alt or Shift, or make them be on by default but on a delay, or make them require sneaking and/or holding a key and still require a delay... You get the idea, I hope :p

Available Versions

Placement Preview 0.3.2release
MC 1.12, 1.12.1, 1.12.2forge
June 11, 2023
Placement Preview 0.3.1release
MC 1.12, 1.12.1, 1.12.2forge
June 11, 2023
Placement Preview 0.3.0release
MC 1.12forge
June 11, 2023
Placement Preview 0.3.4release
MC 1.11.2forge
June 11, 2023
Placement Preview 0.3.3release
MC 1.11.2forge
June 11, 2023

How to Install Placement Preview on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set forge Loader

In the panel under "Egg", select the forge loader and matching Minecraft version (1.12.2).

3

Install Mod

Open the mod browser in the dashboard and search for "Placement Preview". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.

Compatibility

Mod Loaders

forge

Minecraft Versions

1.12.2, 1.12.1, 1.12 (+3 more)

Server-side

Unsupported

Recommended RAM

4 GB(min. 3 GB)

Frequently Asked Questions

Placement Preview server crashes on startup – what to do?

Most common cause: wrong forge version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.12.2). You can switch loaders with one click in the panel.

Is Placement Preview compatible with forge?

Placement Preview officially supports forge for Minecraft 1.12.2, 1.12.1, 1.12. The Mado dashboard automatically detects incompatible loader combinations.

Server lagging with Placement Preview – how to optimize performance?

Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Placement Preview consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.

Rent Modded Server

Install Placement Preview with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU Lesser General Public License v3.0 only
Server-side
Unsupported

Supported Versions

1.12.21.12.11.121.11.21.111.10.2