JourneyMapStages
本模组是 GameStage API 的扩展组件。它允许将 Journey Map 的部分功能整合到自定义进度系统中。请查阅 GameStage API 模组的说明以获取更多信息。简要来说,进度阶段是由整合包或服务器设置的进度系统的一部分。玩家通过命令获得这些阶段,该命令通常由任务模组、成就(advancement)甚至命令方块触发。
设置
本模组使用 CraftTweaker 进行配置。
可以限制哪些内容?
航点 (Waypoints)
如果玩家未解锁所需阶段,他们将无法创建新航点或访问航点管理器。如果他们在解锁前意外获得了航点,该航点将被立即销毁。
mods.jmapstages.JMapStages.setWaypointStage(String stage);
死亡点 (Deathpoints)
如果玩家未解锁所需阶段,他们在死亡时将无法创建死亡点。如果他们在解锁前意外获得了死亡点,该死亡点将被立即销毁。
mods.jmapstages.JMapStages.setDeathpointStage(String stage);
小地图 (Minimap)
如果玩家未解锁所需阶段,他们将无法看到小地图。
mods.jmapstages.JMapStages.setMinimapStage(String stage);
全屏地图 / 选项
如果玩家未解锁所需阶段,他们将无法打开全屏地图。
mods.jmapstages.JMapStages.setFullscreenStage(String stage);
本项目由 Nodecraft 赞助。使用代码 DARKHAX 可在首月服务中获得 30% 折扣!
示例脚本
// 限制玩家创建航点或在世界中查看航点。
mods.jmapstages.JMapStages.setWaypointStage("one");
// 限制玩家访问全屏地图和选项界面。
mods.jmapstages.JMapStages.setFullscreenStage("two");
// 限制玩家在地图上创建死亡点。
mods.jmapstages.JMapStages.setDeathpointStage("three");
// 限制玩家在屏幕上打开小地图。
mods.jmapstages.JMapStages.setMinimapStage("four");
JourneyMapStages
This mod is an addon for the GameStage API. This allows for aspects of Journey Map to be put into custom progression systems. You should check out the GameStage API mod's description for more info. To give a brief run down, stages are parts of the progression system set up by the modpack or server. Stages are given to players through a command, which is typically ran by a questing mod, advancement, or even a Command Block.
Setup
This mod uses CraftTweaker for configuration.
What can be restricted?
Waypoints
The player will not be able to create new waypoints or access the waypoint manager unless they have the required stage unlocked. If they somehow get a waypoint before hand it will be immediately destroyed.
mods.jmapstages.JMapStages.setWaypointStage(String stage);
Deathpoints
The player will not be able to create death points when they die until they unlock the required stage. If they somehow get a death point before the stage it will be immediately destroyed.
mods.jmapstages.JMapStages.setDeathpointStage(String stage);
Minimap
The player will not be able to see the minimap until they unlock the required stage.
mods.jmapstages.JMapStages.setMinimapStage(String stage);
Fullscreen Map / Options
The player will not be able to open the fullscreen map until they have the required stage.
mods.jmapstages.JMapStages.setFullscreenStage(String stage);
This project is sponsored by Nodecraft. Use code DARKHAX for 30% off your first month of service!
Example Script
// Restricts players from making waypoints or seeing them in world.
mods.jmapstages.JMapStages.setWaypointStage("one");
// Restricts players from accessing the fullscreen and options screen.
mods.jmapstages.JMapStages.setFullscreenStage("two");
// Restricts players from making death waypoints on the map.
mods.jmapstages.JMapStages.setDeathpointStage("three");
// Restricts the player from having the minimap open on their screen.
mods.jmapstages.JMapStages.setMinimapStage("four");
下载 JourneyMapStages
下载 JourneyMapStages
下载 JourneyMapStages
下载 JourneyMapStages
下载 JourneyMapStages
下载 JourneyMapStages
下载 JourneyMapStages
下载 JourneyMapStages
下载 JourneyMapStages
- 修复了小地图解锁后仍然隐藏的问题。感谢 sk2048 - Tyler Hancock
- 使用 GameStages StagesSyncedEvent 替代额外的数据包。- Sam Kirby
- 解决小地图取消隐藏相关的问题。* 当玩家获得地图阶段时,会向客户端发送一个数据包以触发小地图取消隐藏。* 在单人世界中,不再在主线程中处理 JMapStages#onPlayerTick 的逻辑。- Sam Kirby
衷心感谢我的 Patreon 支持者
- NillerMedDild
- Jonathan McManus
- Varitek
- Pongo Sapiens
- Darkosto
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧