▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Undo

Undo

A Minecraft Fabric mod that lets players undo world actions with a single key press. Supports reverting block placements, breaks, and state changes like doors and trapdoors.

Оцените первым
783
2
Все версии→Undo 1.0.5+fabric26.1.2

Undo 1.0.5+fabric26.1.2

Release26.06.2026

Список изменений

Undo Mod v1.0.5 — Release Notes

Release date: 2026-06-26

🚀 New Features

YACL is now Optional (Recommended)

YACL (Yet Another Config Lib) v3 is no longer required, now a recommended dependency:

StatusYACL installedYACL not installed
Settings ScreenFull YACL config (General / HUD / History)Basic vanilla screen (mouse buttons + mode)
Dependencyrecommends (optional, recommended)Not needed — basic config built-in

Download the -bundled JAR to have YACL included automatically.

Basic Settings Screen (No YACL Required)

Press U to open settings:

  • Mouse Side Buttons — ON / OFF
  • Undo Mode — Full / Block Only

The mod works fully without YACL.

New Mod Icon

A custom icon (assets/undo/icon.png) now displays in the Minecraft mod list and on Modrinth.


🐛 Bug Fixes

🔴 Critical: Mode Setting Not Synced to Server

  • Symptom: Changing the undo mode in settings had no effect in-game
  • Cause: Neither UndoBasicSettingsScreen nor UndoYaclConfig called UndoPacketSender.sendSetMode() to notify the server
  • Fix: Mode changes now immediately send a SetMode packet to the server, which responds with a ModeSync acknowledgment

🔴 Critical: HUD Count Decremented Twice (MC 26.1.2)

  • Symptom: The HUD history count decreased by more than expected after undo
  • Cause: The client history_sync handler both set historyCount = payload.remaining() AND called decrementHistory(doneCount), causing a double decrement
  • Fix: Removed the redundant decrementHistory() call

🟡 Digit 0 Not Usable for Number Input

  • Symptom: Could not enter numbers containing 0 (10, 20, 100, etc.)
  • Cause: UndoModClient.onClientTick() used for (int d = 1; d <= 9; d++), skipping GLFW.GLFW_KEY_0
  • Fix: Added separate digit 0 detection

🟡 BlockAction Ignored setBlockState Return Value

  • Symptom: Undo/Redo reported success even when world.setBlockState() failed (out of bounds, block replaced, etc.)
  • Cause: BlockAction.undo() and redo() ignored the boolean return value of setBlockState()
  • Fix: Methods now return the actual result of setBlockState()

🟡 placedState Used Default Block State

  • Symptom: Stairs, slabs, and walls lost their orientation and shape on redo
  • Cause: UndoEventListeners used BlockItem.getBlock().getDefaultState() instead of the actual placed state
  • Fix: Updated placeAction.setPlacedState(actualState) in the placement confirmation callback

🔵 commitTransaction Hard-coded d

  • Fix: syncHistoryCount(playerUuid, 0) → syncHistoryCount(playerUuid, pending.size())

🔵 WorldMixin Reference Comparison

  • Fix: currentState == newState → currentState.equals(newState) for safer BlockState comparison

🔵 UndoEventListeners Reference Comparison

  • Fix: previousState != currentState → !previousState.equals(currentState)

🔧 Other Changes

  • Removed withSourcesJar() — build output is release JARs only
  • Fixed DEFAULT_JVM_OPTS embedded quotes in 26.1.2 gradlew (Git Bash compatibility)
  • CHANGELOG.md updated for all three versions

📦 Build Artifacts

MC VersionMain JARBundled JAR
26.1.2Undo1.0.5-beta+fabric26.1.2.jarUndo1.0.5-beta+fabric26.1.2-bundled.jar
1.21.1Undo1.0.5-beta+fabric1.21.1.jarUndo1.0.5-beta+fabric1.21.1-bundled.jar
1.21.2Undo1.0.5-beta+fabric1.21.2.jarUndo1.0.5-beta+fabric1.21.2-bundled.jar

All JARs are in the release/ directory of each project.

Файлы

Undo1.0.5+fabric26.1.2.jar(120.77 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.0.5

Загрузчики

Fabric
Quilt

Версии игры

26.1.2

Загрузок

2

Дата публикации

26.06.2026

Загрузил

ID версии

Главная