关于 Obfuscate 模组


📖 关于:
Obfuscate 是一个简单的库,为模组开发者提供实用的事件、工具和通用代码。最初是为了在 MrCrayfish 的模组中实现兼容性而创建的,现在这个库面向所有模组开发者。这个模组默认没有任何内容。
📔 库功能:
安全地操控玩家模型:这个功能让你可以轻松自定义玩家模型上四肢的旋转,而无需担心将它们重置回默认状态。这可以用来在持有特定物品时创建自定义姿势、在挥剑时添加自定义动画等等!
完全控制物品渲染:这让你能够自己处理物品的渲染。Obfuscate 提供的事件是从真正的源头调用的,而不是像原版的 ITESR 系统那样依赖相机变换类型。这意味着当玩家模型上渲染手持物品的事件被调用时,它实际上来自玩家模型上的手持渲染层。
为玩家提供全新的数据同步系统:向非自己拥有的实体添加数据参数并不是好做法;这通常会因为静态字段不受控制的初始化顺序而导致键不匹配。Obfuscate 解决了这个问题,并提供了更多有用的功能。使用这个新系统,你可以控制参数是否应在死亡时重置、阻止它同步给除拥有该键的玩家之外的所有玩家、完全阻止它同步,甚至将其保存到玩家的数据中!
📔 开始使用这个模组进行开发:
你只需将这段代码添加到你的 build.gradle 文件中即可开始使用这个库。你需要将 curseforgefileid 替换为针对你的 Minecraft 版本的 Obfuscate 版本。
- 1.16.1: 3000205
- 1.15.2: 2946425
- 1.14.4: 2912286
- 1.12.2: 2912288
💛 支持的模组
这些模组利用 Obfuscate 来提供更好的游戏体验。你也可以通过在 Twitter 上给 MrCrayfish 发一条推文,让你的模组出现在这里
如何安装 Obfuscate
With Millida Launcher
Install Millida Launcher
The launcher is free: download it at millida.net/launcher and sign in with any nickname.
Click “Install” on this page
The launcher opens and installs the mod for Minecraft 1.12.2–1.16.5 on Forge automatically.
Launch the game
A profile with it appears in the launcher: click “Play”.
Manually
Install Forge
The loader must match the game version of the mod file, for example Minecraft 1.16.5. After installing it, a separate profile appears in your launcher.
Download the file for your version
In the version list above, pick the file obfuscate-0.6.3-1.16.5.jar (139 KB) for your game version.
Put it in the mods folder
The folder is inside .minecraft (Windows: %appdata%\.minecraft\mods). If it does not exist, create it.
Launch the loader profile
Open “Mods” in the main menu: Obfuscate should be in the list.
Minecraft 1.16.5 runs on Java 8: with a different Java version the game may close right after launch.
版本
含依赖项
| Minecraft | 加载器 | 文件 | 日期 | 操作 |
|---|---|---|---|---|
| 1.16.5 | Forge | Obfuscate 0.6.3139 KB 63 | ||
| 1.12.2 | — | Obfuscate 0.2.637 KB 3 | ||
| 1.12.2 | — | Obfuscate 0.2.336 KB |
常见问题
Which Minecraft versions does Obfuscate work on?
There are files for 1.16.5, 1.12.2. The newest is 1.16.5.
Is Obfuscate for Forge or Fabric?
Only for Forge: 1.16.5. There are no files for Fabric or NeoForge: a mod for another loader will not start.
Does Obfuscate need other mods?
The author lists no required dependencies: the Forge loader is enough.
Which Java does Obfuscate need?
Minecraft 1.16.5 runs on Java 8. If the game closes right after launch, the usual cause is the wrong Java version in the profile settings.
Where can I download Obfuscate safely?
On this page: the file obfuscate-0.6.3-1.16.5.jar (139 KB) is stored on Millida’s server, with no link shorteners. SHA-1 checksum: a06fc70c114fcf2dbdab8d9144e0e6d6df5bd424.
评价
成为第一个评价 Obfuscate 的人

