跳到正文

Hardcore Questing Mode: Moveable Quest Gates

作者:itzDatRat

Lets HQM Quest Gates move with pistons while preserving their questing data.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

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_portal blocks 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.4 quest 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, Forge 10.13.4.1614, and HQM 4.4.4.

Portal Data Preservation

Quest gates keep their configured state while moving:

  • NBT Capture: Captures TileEntityPortal data 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.

常见问题

Hardcore Questing Mode: Moveable Quest Gates 支持哪些 Minecraft 版本?

Hardcore Questing Mode: Moveable Quest Gates 支持 Minecraft Java 版 1.7.10,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Hardcore Questing Mode: Moveable Quest Gates 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

itzDatRat 的其他作品

查看全部 →