← Назад к ресурсам

Construction Wand Legacy

Backport of Construction Wand features for Minecraft 1.12.2.

Modrinth utility

Описание

Backport of [Construction Wand](https://modrinth.com/mod/construction-wand) features for Minecraft 1.12.2 (Forge). ## Implemented Features ### Items and Core Modules - 4 wand types: Stone / Iron / Diamond / Infinity - 4 cores: Angel / Destruction / AE / ProjectE - Core overlay model and tinting (wand appearance changes after installing a core) ### Placement and Destruction Logic - Construction mode - Angel mode: supports mid-air placement - Destruction mode - Optional Baubles compatibility: container items equipped in Baubles slots can supply building blocks - Optional ProjectE compatibility: A building wand that can directly consume EMC to place blocks - Uses an interaction flow close to the original implementation: - Placement goes through `ItemBlock.placeBlockAt` - Breaking goes through `removedByPlayer` + `onPlayerDestroy` - Integrated with Forge Place/Break events ### Upgrades and Options - Core installation upgrade (combine wand + core in the crafting grid) - Toggleable options (lock/direction/replace/match/random/core) - Wand GUI (open with key combo while right-clicking in air) ### Undo and Preview - Undo history - Undo preview sync (triggered by key query) - Automatic preview refresh after undo - Preview colors: - Destruction core: red - Undo preview: green - Angel core supports air-target preview ### Default Controls - `Shift + Ctrl + Mouse Wheel`: toggle lock mode - `Shift + Ctrl + Left Click` (swing in air): switch core - `Shift + Ctrl + Right Click` (in air): open wand config GUI - Hold `Shift + Ctrl`: show undo preview - `Shift + Right Click` on block (while holding wand): perform undo