CrowMap
一个适用于 Minecraft 1.21.11 的 Fabric 客户端模组,它直接在游戏内嵌入浏览器,并提供世界地图投影和小地图 HUD。
基于出色的 owo-lib 以及 MCEF 的分支版本构建!
功能
浏览器
打开一个全屏浏览器,指向可配置的 Dynmap URL(默认为 Horizon's End Dynmap)。
在浏览器屏幕上右键单击会打开一个上下文菜单,提供通过 /jump <x> <y> 和 /fleet jump <x> <y> 命令跳转到光标下方地图坐标的选项。
世界投影
将浏览器纹理渲染为游戏中的平板面板,锚定于可配置的位置并面向特定方向。可以随时重新定位投影,当在其附近找到锚定告示牌时,它会重新自动定位。
要将投影锚定到告示牌,放置一个包含锚定文本(默认:[CrowMap])的告示牌,并在靠近它时按下“放置世界地图”键绑定。投影将跟随告示牌的位置和朝向方向。
HUD 小地图
将浏览器纹理渲染为屏幕角落的小尺寸小地图。大小、边距和角落位置均可在配置文件中自定义。
本地 LiveAtlas 实例
启用后,CrowMap 会下载 LiveAtlas(更好的 Dynmap 替代品),并在随机回环端口上本地托管它。
默认禁用,可从配置菜单访问。性能应该没问题,但以防万一还是谨慎点好!
系统地图覆盖层
显示一张全屏图像(模组资源包中的 textures/system_map.png),居中并缩放以适应屏幕。
支持按住模式(按键时可见)或切换模式(按一次显示,再按一次隐藏)- 按住模式和切换模式可在模组配置中更改。
可以覆盖该图像!
就像可以使用 minecraft: 命名空间覆盖 Minecraft 的默认资产一样,CrowMap 的资产也可以使用 crowmap: 命名空间进行覆盖!
将 crowmap/textures/system_map.png(是的,必须是 .png 格式)追加到你本地下载的
ResourcePack 中,你就可以将图像更改为你想要的任何内容——无论是多么愚蠢的图片还是更新的地图,都由你决定。
键绑定
所有绑定都在控制菜单的 CrowMap 类别中。
| 操作 |
默认按键 |
描述 |
| 打开地图 |
X |
打开全屏浏览器。 |
| 放置世界地图 |
` (反引号) |
在你所注视的方块处放置世界投影。如果启用了锚定模式,则存储与最近的匹配锚定告示牌的偏移量。 |
| 切换世界地图 |
[ |
开启或关闭世界投影。 |
| 切换 HUD 地图 |
] |
开启或关闭 HUD 小地图。 |
| 显示覆盖层 |
Z |
显示系统地图覆盖层。默认情况下为按住模式;可配置为切换模式。 |
配置
配置界面可通过 Options > Controls > CrowMap Settings 访问。(如果你能想到更好的位置,请提交 GitHub Issue)
也可以通过命令 /owo-config crowmap 打开。
依赖项
- Fabric Loader
- Fabric API
- owo-lib(通过模组 jar 文件嵌入(即不要同时安装该模组))
- MCEF(通过模组 jar 文件嵌入(同上))
CrowMap
A Fabric client-side mod for Minecraft 1.21.11 that embeds a browser directly in-game, with an in-world map projection, and HUD minimap.
Built on the amazing owo-lib and a forked version of MCEF!
Features
Browser
Opens a full-screen browser pointed at a configurable Dynmap URL (defaults to the Horizon's End Dynmap).
Right-clicking in the browser screen opens a context menu with options to jump to the map coordinates under the cursor via the /jump <x> <y> and /fleet jump <x> <y> commands.
World Projection
Renders the browser texture as a flat panel in the world, anchored to a configurable position and facing direction. The projection can be repositioned at any time and is automatically repositioned when its anchor sign is found nearby.
To anchor the projection to a sign, place a sign containing the anchor text (default: [CrowMap]) and press the Place World Map keybind while standing near it. The projection will follow the sign's position and facing direction.
HUD Minimap
Renders the browser texture as a small minimap in a configurable corner of the screen. Size, margin, and corner are all configurable in the config.
Local LiveAtlas Instance
When enabled, CrowMap downloads LiveAtlas (better Dynmap) and hosts it locally on a random loopback port.
Disabled by default, accessible from the config menu. Performance should be fine, but better be safe than sorry!
System Map Overlay
Displays a full-screen image (textures/system_map.png in the mod's resource pack) centered and scaled to fit the screen.
Supports hold mode (visible while the key is held) or toggle mode (press to show, press again to hide)- hold and toggle mode can be changed in the mod config.
IT IS POSSIBLE TO OVERRIDE THE IMAGE!
Just like Minecraft's default assets can be overridden by using the minecraft: namespace, CrowMap's assets can be overriden with the crowmap: namespace!
Appending a crowmap/textures/system_map.png (yes it has to be a .png) to your locally downloaded
ResourcePack will allow you change the image to literally anything you want- wether that's a really dumb image or an updated map is up to you.
Keybinds
All binds are in the CrowMap category in the Controls menu.
| Action |
Default key |
Description |
| Open Map |
X |
Opens the full-screen browser. |
| Place World Map |
` (grave) |
Places the world projection at the block you are looking at. If anchor mode is enabled, stores the offset from the nearest matching anchor sign instead. |
| Toggle World Map |
[ |
Toggles the world projection on and off. |
| Toggle HUD Map |
] |
Toggles the HUD minimap on and off. |
| Show Overlay |
Z |
Shows the system map overlay. Hold mode by default; configurable to toggle. |
Configuration
The config screen is accessible from Options > Controls > CrowMap Settings. (please open a GitHub issue if you can think of a better spot to put this)
It can also be opened with the command /owo-config crowmap.
Dependencies
- Fabric Loader
- Fabric API
- owo-lib (embedded via mod jar (aka don't also install the mod))
- MCEF (embedded via mod jar (same thing))
评论 0
登录后参与评分
还没有评论,来抢沙发吧