? 简介:
Obfuscate 是一个简单的库,为模组开发者提供有用的事件、工具类和通用代码。它最初是为 MrCrayfish 的模组兼容性而创建的,现在则面向所有模组开发者。 此模组默认不包含任何内容。
? 库功能:
安全地操作玩家模型:
此功能允许你轻松自定义玩家模型四肢的旋转角度,而无需担心将其重置回默认状态。这可用于在持有特定物品时创建自定义姿势、挥舞剑时添加自定义动画等等!
完全控制物品渲染:
这赋予了你自行处理物品渲染的能力。Obfuscate 提供了从真正源头调用的事件,而不是依赖像原版 ITESR 系统那样的相机变换类型。这意味着当调用玩家模型上手持物品的渲染事件时,它实际上来自玩家模型上的手持渲染层。
全新的玩家数据同步系统:
向除自己之外的实体添加数据参数并不是良好的做法;这通常会导致由于静态字段不受控制的初始化顺序而产生的键不匹配问题。Obfuscate 解决了这个问题,并提供了更多有用的特性。使用这个新系统,你可以控制参数是否在死亡时重置,防止其同步给除了拥有该键的玩家以外的所有玩家,完全阻止其同步,甚至将其保存到玩家的数据中!
? 开始使用此模组进行开发:
你只需将此代码添加到你的 build.gradle 文件中即可开始使用此库。你需要将 curseforge_file_id 替换为针对你 Minecraft 版本的 Obfuscate 版本。
- 1.16.1:3000205
- 1.15.2:2946425
- 1.14.4:2912286
- 1.12.2:2912288
? 支持的模组
这些模组利用 Obfuscate 来提供更好的游戏体验。你也可以通过向 Twitter 上的 MrCrayfish 发送推文来获取你的模组。
? About:
Obfuscate is a simple library which provides useful events, utilities, and common code for mod developers. Originally created for compatibility in MrCrayfish's mod, this library is now targeted for all mod developers alike. This mod does not have any content by default.
? Library Features:
Manipulate the player's model safely:
This feature allows you to easily customise the rotations of limbs on player's model without having to worry about resetting them back to their default state. This could be used for creating a custom pose when holding a certain item, adding custom animations when swinging a sword and so much more!
Full control over item rendering:
This gives you the ability to handle rendering of items yourself. Obfuscate provides events that are called from the true source rather than relying on the camera transform type, like vanilla's ITESR system. This means when the event for rendering the held item on the player model is called, it's actually coming from the held rendering layer on the player model.
A completely new data syncing system for players:
It's not good practice to add data parameters to entities other than your own; this often results key mismatch due to the uncontrolled initialization order of static fields. Obfuscate solves this issue and provides even more features useful features. Using this new system, you can control if the parameter should be reset on death, prevent it from syncing to all players expect the player who owns the key, prevent it from syncing at all, and even save it to the player's data!
? Start Developing with this Mod:
You can start using this library simply by adding this code to your build.gradle file. You'll want to replace the curseforge_file_id with a version of Obfuscate targeted towards your Minecraft version.
- 1.16.1: 3000205
- 1.15.2: 2946425
- 1.14.4: 2912286
- 1.12.2: 2912288
? Supported Mods
These mods utilise Obfuscate to provide a better gameplay experience. You can get your mod here too by sending MrCrayfish a tweet on Twitter
下载 Obfuscate
下载 Obfuscate
下载 Obfuscate
下载 Obfuscate
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Obfuscate
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Obfuscate
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Obfuscate
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Obfuscate
下载 Obfuscate
下载 Obfuscate
? 内部更改
? 修复了 Forge 上限值未正确复制的潜在问题
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
模组
一个基于构建器的 Minecraft 配置库!
评论 0
登录后参与评分
还没有评论,来抢沙发吧