Description
A Minecraft mod that lets Hardcore Questing Mode quest gate blocks move with vanilla pistons while preserving their portal data.
Features
- Moveable Quest Gates: Allows
hqm:quest_portalblocks to be moved by vanilla pistons. - Sticky Piston Support: Sticky pistons can push and retract quest gates.
- Normal Piston Support: Normal pistons can push quest gates.
- All Directions: Movement works in all six piston directions.
- Vanilla Limits Preserved: The normal 12-block piston limit and unrelated piston rules still apply.
- Scoped Behavior: Other tile entity blocks remain unpushable unless vanilla already allows them.
- HQM Integration: Targets Hardcore Questing Mode
4.4.4quest portals.
Aggressive Coremod Approach
This mod is intentionally aggressive and is meant for controlled niche modpacks, not broad public-pack compatibility.
- Vanilla Piston Patch: Uses UniMixins to patch vanilla piston logic directly.
- Custom Movement Path: Replaces the vanilla piston move routine only when an HQM quest portal is part of the piston move.
- Tile Entity Override: Adds custom data storage to vanilla moving piston tile entities so HQM portal NBT survives piston animation.
- Targeted Risk: The aggressive behavior is scoped to
hqm:quest_portal; unrelated piston moves should keep vanilla behavior. - Compatibility Target: Built and tested against Minecraft
1.7.10, Forge10.13.4.1614, and HQM4.4.4.
Portal Data Preservation
Quest gates keep their configured state while moving:
- NBT Capture: Captures
TileEntityPortaldata before the piston replaces the source block. - Moving Piston Storage: Stores the captured portal data on the temporary moving piston tile entity.
- Restore Queue: Restores the portal snapshot after movement finishes.
- Quest Binding: Keeps the assigned quest.
- Portal Settings: Preserves portal type, custom display item, collision flags, texture flags, and player data.
- Save Safety: Persists custom moving-piston data through NBT if the world is saved mid-movement.


