概述
与其他数十款缩放模组类似,本模组添加了一个按键绑定,允许玩家放大视野。
你是否曾想过:“我希望我的缩放模组有一个自定义表达式解析器,这样我就能自己编程定义其手感”?没有吗?好吧,这个模组确实有这个功能,因为我当时很无聊。你可以随意使用它,也可以不用,仅基础选项提供的可配置性就已超过大多数其他模组。
特性
- 合理的默认缩放比例
- 文件体积小
- Optifine*、快速切换和电影预设
- 自定义表达式解析器(理论上无限的自定义能力)
- 多平台支持(Fabric 和 NeoForge)
- 多版本支持(1.21.11 至 26.4)
- 非常无聊的开发者,可能会添加你要求的任何功能
*如果你使用的是 Optifine 预设,我真的会质疑你对缩放的品味,Optifine 的缩放手感糟糕至极。
依赖
请注意,3.0 之前的版本(适用于 Minecraft 1.21.1 及更早版本)已是古老的遗迹,不再提供支持。
用法
默认按键绑定为 C,可通过正常的 Minecraft 按键绑定设置进行修改。
配置文件界面可通过模组菜单打开,或通过命令 /scope config 打开。大多数选项在配置菜单中均有文档说明。
表达式解析器遵循标准运算符优先级规则来解析数学表达式。大多数函数如 sin、sqrt 和 log 均可用。“条件判断”可以通过 if 函数实现,该函数根据第一个参数是否为正数返回第二个或第三个参数。例如,if(0.5, 1, 2) 将返回 1。建议查看 内置预设 以获取示例。
贡献
欢迎各种形式的贡献,包括翻译。源代码 采用 MIT 许可证授权。
欢迎在 问题追踪器 上报告错误或提出新功能建议。
最初是 OkZoomer v4 的一个分支,经过多次重写后演变而来。部分灵感来源于 Zoomify 和 Do A Barrel Roll,尽管我从未有意使用过其中任何一个的代码。
未使用任何 AI 代码或资源。
Scope
Just like the dozens of other zoom mods, this mod adds a keybind that lets the user zoom in their view.
Have you ever thought to yourself "I wish my zoom mod had a custom expression parser so I could program the feel of it myself"? No??? Well this mod has that anyway because I was bored. Feel free to use it, or don't, the basic options alone provide more configurability than most other mods have.
Features
- Sane default zoom
- Small file size
- Optifine*, quick toggle, and cinematic presets
- Custom expression parser (literally infinite customizability)
- Multiplatform support (Fabric and NeoForge)
- Multiversion support (1.21.11 through 26.4)
- Very bored developer who will probably add whatever features you want
*If you're using the Optifine preset I really do question your taste in zoom, Optifine's zoom feels awful.
Requirements
Note that pre-3.0 versions (for Minecraft 1.21.1 and older) are ancient relics of the past and are unsupported.
Usage
The default keybind is C, which can be changed through the normal Minecraft keybind options.
The config screen can be opened through the mod menu, or through /scope config. Most options are documented in the config menu.
The expression parser parses math expressions following standard operator precedence rules. Most functions like sin, sqrt, and log are available. "Conditionals" can be achieved through the if function, which returns either the second or third argument depending on whether the first argument is positive. For instance, if(0.5, 1, 2) will return 1. I recommend looking at the built-in presets for examples.
Contributing
Contributions are totally welcome, including translations. The source code is licensed under the MIT license.
Feel free to report bugs or suggest new features on the issue tracker.
Originally a fork of OkZoomer v4, multiple rewrites ago. Some inspiration taken from both Zoomify and Do A Barrel Roll though I've never intentionally used code from either.
No AI code or assets are used.
评论 0
登录后参与评分
还没有评论,来抢沙发吧