注意:在搭配 Iris 使用时,1.21.5-11 版本的显示效果会有所不同,您可能会发现在高亮方块时出现闪烁。这是预期内的行为,未来可能会修复,也可能不会。
版本 2.0.0!
Block Counter 2.0.0 包含了测量沿常规单轴对齐的线段的功能(与 1.0.0 版本一致),此外还增加了对双轴线段(类似于 Terraria 中的尺子)以及非轴对齐线段的支持!不仅有新的线段类型,您还可以将这些线段“放置”在世界中以便查看,从而作为参考指引。更多详情请参阅下方的截图以及使用说明。最后,新增了一个选项,可以将所有相关消息显示在快捷栏上方而不是聊天栏中,以获得更整洁的界面,或者当您的聊天栏信息过多时使用。
Block Counter
Block Counter 是一款客户端模组,允许您在选择一行方块时统计方块数量并可视化该选择范围。此模组既适用于单人游戏,也适用于多人服务器。
依赖项
- Fabric API
- Cloth Config API
- Mod Menu
使用方法
视频与详细说明
由于该模组的使用方式可能略显不直观,请在尝试使用前观看以下视频或阅读下文说明。
激活方法
站立模式
激活后,玩家脚下的方块(包括空气)将被选中。移动一定距离后再次激活,此时玩家脚下的新方块将作为终点。
点击模式
激活后,玩家在五个方块距离内注视的方块(包括空气)将被选中。移动准星会改变最后一次选定的方块。再次激活会将当前注视的方块选为终点。
线段类型
非轴对齐
这是一种“自由形式”的线段,不与单一或双轴对齐。它将在第一个选定位置与第二个选定位置之间创建一条直线。
轴对齐,单轴
这是默认的线段形式,线段由两个选定坐标点之间差异最大的那个轴生成。
轴对齐,双轴
这与上述线段类似,但有一个注意事项。除了形成一条线外,这里实际上是由三个轴向中差异最大的两个轴形成的两条线段。如果您熟悉 Terraria 中的尺子工具,它与此最为相似。如果仍然感到困惑,请参考截图。
可放置
线段现在可以在世界中“放置”。启用此选项后,在选择完第二个位置后,线段将保持在原位。此外,还有滑块可用于沿任意三个轴向偏移线段。请记住,如果您调整了偏移量,它将保持该状态,直到您重置它或关闭可放置选项。之所以强调这一点,是因为当您尝试放置新线段却看不到任何内容时,之前的偏移量可能仍然生效。
为什么制作这个?
本质上来说,我厌倦了手动统计方块数量或在坐标之间进行数学计算,同时也想借此测试我的编程技能。除了我个人折腾以及想要创建一个提升“生活质量”的工具之外,这个模组并没有其他实际用途。
Note: Versions 1.21.5-11 will look a bit different with Iris as you may notice some flickering when highlighting on blocks. This is expected and may, or may not, be fixed in the future.
Version 2.0.0!
Block Counter 2.0.0 includes the ability to measure lines in the usual single axis-aligned as version 1.0.0, but additionally adds support for dual-axis lines (similar to Terraria's ruler) as well as non-axis-aligned lines! Not only are there new line types, but you now have the ability to "place" these lines in the world to view them as a way of having a guide. For more details, view the screenshots below as well as the Usage. Lastly, there is a new option for displaying all related messages above the hotbar instead of the chat for a cleaner feel, or if your chat is busy.
Join the Discord here!
Block Counter
Block Counter is a client-side mod that allows you to count the number of block in a line selection while visualizing that selection. This mod will work in single player as well as multiplayer servers.
Requirements
- Fabric API
- Cloth Config API
- Mod Menu
- Optional, but you probably will not like the default settings and will want to change them...
Usage
Video and Details
Watch this video or read below before trying to use the mod since it may seem a bit unintuitive.
Activation
Standing
Upon activation, the block (including air) below the player's feet will become selected. After moving some distance and activating again, the new block below the player's feet will serve as the end point.
Click
Upon activation, the block (including air) the player is looking at within a five block distance will be selected. Moving your crosshair will change the lastly selected block. Activating again will choose that block currently being looked at as the end point.
Line Types
Non-axis-aligned
This acts as a "free-form" line that does not align to a single, or double, axis. It will create a line from the first selected position to the second selected position.
Axis-aligned, single-axis
This is the default line form in which the line is created by the axis of the largest difference between the two points selected.
Axis-aligned, double-axis
This is similar to the previously mentioned line, but with a caviot. Instead of having just one line, there are essentially two lines formed from the two axes that have the largest difference out of the three total from the two selected points. If you are familiar with Terraria's ruler tool, it would be most similar to that. If you are still confused, refer to the screenshots.
Placeable
Lines are now "placeable" in the world. With this option enabled, the line will stay in place after selecting the second position. Additionally, there will be sliders to offset the line in any of the three axes. Just remember, if you alter the offset, it will STAY until you either reset it or turn off the placeable option. I say this in case you go to place a new line and do not see anything, the offset will still be active when placing a line.
Why?
Essentially, I got tired of having to manually count blocks or doing math between coordinates while also wanting to test my programming skills. There is not a real purpose of this mod other than me messing around and wanting to create something that is "Quality of Life".
评论 0
登录后参与评分
还没有评论,来抢沙发吧