跳到正文

Zelda Door Mechanics

作者:ThirtyFangs

This datapack adds big doors that can smoothly be opened up and down when getting close, just like in Zelda! You can also add a lock to them. No resource pack required!

收藏

截图

介绍

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

Features of the door

  • No resource pack required
  • Has sounds
  • Has collision when closed
  • Get open when getting close
  • Will be placed facing north/south by default, you can rotate to 90°
  • Possibility to lock door and to get a key
  • Peebles animation on the ground when the door is closing
  • Model for locked door
  • Once a locked door is unlocked, the key from the player inventory get deleted
  • Animation inspired from Zelda: Twilight Princess when a locked door is unlocked

If you don’t want to read all this, just do /function door:help in-game and read the step-by-step documentation in-game!

How to place & remove a door

To place a door (you need OP), follow those 2 easy steps carefully:

  • Go where you wanna place the door, and check for your position (X,Y,Z). Then, go in spectator mode and do /teleport [your coordinates, but add .5 after each number] (example: if your coordinates are x 12, y 64 and z -100, run /teleport 12.5 64.5 -99.5
  • Run /function door:_/create
  • It’s done!
  • To remove a door, stand on it and run /function door:remove_current_door

How to lock & unlock a door

To lock a door:

  • Go where you wanna place the door, and check for your position (X,Y,Z). Then, go in spectator mode and do /teleport [your coordinates, but add .5 after each number] (example: if your coordinates are x 12, y 64 and z -100, run /teleport 12.5 64.5 -99.5 do the teleport
  • Run /function door:lock_door whilst standing on the door
  • To unlock it, get a key with /function door:give_key

How to rotate a door

To rotate a door:

  • Stand at the door position and check for the coordinates, then run /gamemode spectator and /teleport x.5 y.5 z.5 as for the other steps
  • If you want to rotate a locked door, lock it before the next step (see above)
  • Run /function door:rotate_door_90

For in-game help and additional commands, run /function door:help

This datapack has a known issue:

  • Collisions don’t work for rotated locked door (currently, it’s better to only locks doors facing north/south, but you can create non-locked doors facing east/west if you want)

常见问题

Zelda Door Mechanics 支持哪些 Minecraft 版本?

Zelda Door Mechanics 支持 Minecraft Java 版 1.21.9–26.3,共 8 个版本,可用的加载器:Fabric / Forge / NeoForge / Quilt。下载时注意选择和你游戏版本一致的文件。

Zelda Door Mechanics 怎么安装?

新建世界时在「数据包」里把下载的 .zip 拖进去;已有的存档,把文件放进存档目录下的 datapacks 文件夹,进游戏输入 /reload 即可生效。服务器同样放在世界目录的 datapacks 里。

评论

登录后评论和评分

ThirtyFangs 的其他作品

查看全部 →