Voxel Shop beta is live. Expect occasional bugs. Learn more
Unblock the Fun, One Click at a Time with MMOBlock
Completely rewrote the block interaction system to eliminate the need for Interaction Entities and legacy AABB hitboxes, drastically improving performance and reliability.
- Interaction Architecture: Implemented a new multi-layered architecture:
- Real Block Mode: Uses Bukkit `PlayerInteractEvent` for blocks within `real-block-radius`.
- Fake Block Mode: Intercepts Netty packets (`ServerboundPlayerAction` / `ServerboundUseItemOn`) for distant or fake blocks up to `fake-block-radius`.
- Block Break Mode: Added native support for `BlockBreakEvent` for accurate block destruction detection.
- Config (Tools): Added explicit event type mapping (`left_click`, `right_click`, `both_click`, `block_break`). Added `autoProgress` setting for click events.
- Entities: Fixed ModelEngine support by implementing Marker entity tracking to replace the removed Interaction entities.
- Optimization: Migrated `CacheFactory` to the `mmoblock-utils` shared module and optimized `DataCache`.
- Cleanup: Executed a massive cleanup of dead code, old configuration keys, and unused NMS interaction methods.
BREAKING CHANGE: Interaction Entities and AABB raytracing are completely removed.
1. The `hitbox` configuration (`width`, `height`) has been removed from block configs and will no longer work.
2. Tool configurations must now specify the exact event type (`left_click`, `right_click`, `both_click`, or `block_break`).
3. `PlacedBlock.interactionEntityId()` has been deleted from the API.
- Added Minepack integration: dropped items now automatically go directly into the player's backpack.
- Changed `tool_not_allowed` and `too_fast` warning notifications to use `sendTitle` instead of `sendMessage` for better visibility.
- Added support for the new `dead` state within the block `modelType` configuration.
- Expanded i18n localization with additional language options.
- Implemented NMS compatibility and support for Minecraft version 1.21.8.
Full Changelogs: https://github.com/Rosaaalfi/MMOBlock-Rework/commits/main/