搜索历史
清空
暂无搜索历史
论坛热搜
1
【MC整合包发布】乌托邦探险之旅3.2
热
3
[1.6.4]上古老物 冒险者传说 by WhiteSword
新
5
[转载]洛心斗罗-福利|公会据点战|武魂||抽奖|最终版
2
[1.12.2]Jenny — 有趣的模拟女友模组|珍妮模组
热
4
幻虚斗罗V1.5[炫酷魂环][高级魂技][全模型贴图覆盖][超吸金]
6
[1.7.10] [HQM] [Mercury landing]水星迫降——在未知的世界中挣扎
登陆 注册 QQ登陆
快捷导航
查看: 25|回复: 0

[模组分享] Red Core (Red Core)-MOD模组

[复制链接]

5159

主题

5

回帖

6129

积分

龙❁妻

Rank: 8Rank: 8

经验
6129 EP
金粒
928 粒
绿宝石
20 块
爱心
0 点
发表于 2025-8-10 19:03:37 | 显示全部楼层 |阅读模式
Red Core (Red Core)Github |相关wiki |源站链接支持: forgeRed Core是Red Studio项目及相关项目的基础库。

Red Core是Red Studio项目及相关项目的基础库。

功能

- *RedLogger:* 一个用户和开发人员友好的日志记录器,当需要大量信息时,用于错误和崩溃记录非常有用。

- *Vectors:* 一个快速简单的向量套件,适用于每种Java原始类型。

- *MathUtil:* 一个实用类,提供了一些与数学相关的有用方法。

- *ClampUtil:* 一个实用类,提供了每种原始类型的快速偏移夹紧,并提供了测试器,以确定应该向哪一端偏移。

- **[Jafama]:** Red Core嵌入了[Jafama],允许你在你的模组中使用它。

[Jafama]: 链接

Minecraft特定功能

- *RedClientTicker:* 提供较慢的更新方法,用于那些不需要每秒更新20次的内容。

- *NetworkUtil:* 一个使网络更容易、更安全、更干净的实用类。

- *OptiNotFine:* 一个实用类,允许你轻松知道OptiFine是否已安装,强制关闭特定的OptiFine功能,并且还允许你知道是否启用了阴影。

为什么选择Red Core?

Red Core在Red Studio涉及的大多数项目中都有使用,它旨在减少项目之间冗余代码的同时,使做各种事情更加容易。

Red Core旨在有很好的Javadoc和注释,这样你就可以在不离开IDE的情况下知道某个东西的功能。

Red Core一直在不断发展,你可以给予帮助,拉取请求和功能请求是非常受欢迎的。

---

想要拥有自己的模组或支持我吗?

如果你正在寻找一个模组,但没有开发技能或时间,考虑委托给我!

我目前正在接受委托,并且我很乐意根据您的需求创建一个定制模组,只要您提供资源。

[委托]

您还可以通过成为会员每月支持我。

作为感谢,您将有可能访问独家帖子和消息,查看WIP内容的Discord频道,甚至可以访问未发布的原型或WIP项目。

[会员]

你也可以[给我买一杯热巧克力]。

[委托]: 链接

[会员]: 链接

[给我买一杯热巧克力]: 链接

来自Modrinth所有游戏版本1.81.8.81.8.91.91.9.41.101.10.21.111.11.21.121.12.21.7.10所有类型forgeRed Core 1.8-1.12 0.6!Red-Core-MC-1.8-1.12-0.6.jar下载0.6#Beta!Red-Core-MC-1.8-1.12-0.6-sources.jar下载0.6#Beta[Changelog File (Include Previous Versions)](https://github.com/Red-Studio-Ragnarok/Red-Core/blob/main/Changelog.md)## Red Core Version 0.6 Changelog - 2025-02-01### Deprecation WarningThe method `RedLogger#printFramedError` has been renamed to `RedLogger#logFramedError`, all usages should be updated before 0.8.### Added- `Case` a utility enum for handling checking, applying and enforcing naming conventions, currently supported casing:- `camelCase`- `PascalCase`- `kebab-case`- `lower_snake_case`- `UPPER_SNAKE_CASE`- Added `RedLogger#framed` which allows logging lists in a readable manner (e.g., versioning information)- Added `DecimalUtils` a utility class which currently allows for truncating decimal numbers for human reading- Added empty private constructors to hide implicit public ones- Added the brand new `Vector` suite, it has `Vector3` and `Vector2` variants for every primitive### Changed- Improved documentation for `RedLogger#logFramedError`- Renamed `RedLogger#printFramedError` to `RedLogger#framedError`- Switched from Javadoc to Markdowndoc- Most utility classes now use Lombok `@UtilityClass`### Internal- Updated to [foojay-resolver](https://github.com/gradle/foojay-toolchains) 0.9.0- Updated to [gradle-buildconfig-plugin](https://github.com/gmazzo/gradle-buildconfig-plugin) 5.5.1- Updated to [Gradle](https://gradle.org) 8.12- Changed the root project name- Set a minimum Gradle Daemon JVM version requirement- Switched to the new standard `gradle.properties`- Updated to [io.freefair.lombok](https://plugins.gradle.org/plugin/io.freefair.lombok) 8.12- Updated Qodana- Cleaned up tests- Updated to [org.jetbrains.gradle.plugin.idea-ext](https://github.com/JetBrains/gradle-idea-ext-plugin) 1.1.9- Use Jabel- General cleanup- Vectors now uses interfaces for consistent implementations- Updated to [RetroFuturaGradle](https://github.com/GTNewHorizons/RetroFuturaGradle) 1.4.2- Switched to the new standard `gradle.properties`- Reworked buildscript### Red Core MC#### Added- `AABBUtil` a utility class for handling axis aligned bounding boxes- `AABBUtil#orientAABB` a utility method for orienting a north facing AABB towards any `EnumFacing` allowing you to make only one AABB that works for every direction- Added empty private constructors to hide implicit public ones#### Removed- Removed support for 1.7.10 (Compatibility layer caused issue with the ownership system, wrongfully attributing issues to Red Core)#### Optimization- `OptiNotFine` now uses `MethodHandle`#### Internal- Minor cleanup- Updated to [RetroFuturaGradle](https://github.com/GTNewHorizons/RetroFuturaGradle) 1.4.2展开版本: 0.6支持游戏: 1.8, 1.8.8, 1.8.9, 1.9, 1.9.4, 1.10, 1.10.2, 1.11, 1.11.2, 1.12, 1.12.2类型:ForgeBeta下载次数: 35,891Red Core 1.7-1.12 0.5.1!Red-Core-MC-1.7-1.12-0.5.1.jar下载0.5.1#Beta!Red-Core-MC-1.7-1.12-0.5.1-sources.jar下载0.5.1#Beta[Changelog File (Include Previous Versions)](https://github.com/Red-Studio-Ragnarok/Red-Core/blob/main/Changelog.md)## Red Core Version 0.5.1 Changelog - 2023-11-20### Red Core MC#### Changed- Improved compatibility with older versions#### Fixed- Fixed version check- Fixed mod not showing up in the mod menu in older versions展开版本: 0.5.1支持游戏: 1.7.10, 1.8, 1.8.8, 1.8.9, 1.9, 1.9.4, 1.10, 1.10.2, 1.11, 1.11.2, 1.12, 1.12.2类型:ForgeBeta下载次数: 97,944Red Core 1.7-1.12 0.5!Red-Core-MC-1.7-1.12-0.5.jar下载0.5#Beta!Red-Core-MC-1.7-1.12-0.5-sources.jar下载0.5#Beta[Changelog File (Include Previous Versions)](https://github.com/Red-Studio-Ragnarok/Red-Core/blob/main/Changelog.md)## Red Core Version 0.5 Changelog - 2023-11-17### HighlightWelcome to Red Core 0.5 an originally breaking release, but now it has a compatibility layer, all mods using it should update before 0.8 when the compatibility layer will be removed.*Note: The compatibility layer is only for the MC (Minecraft) part of Red Core as normally it should only have been used there prior to 0.5*#### The separationRed Core and its Minecraft parts have been separated into two, this allows for greater freedom in how we develop Red Core, but also allows for Red Core to be used in any Java project.Thanks to this separation, Red Core MC is now available for 1.7.10 through 1.12.2 meaning every version in between is compatible.#### New GroupIdThe old groupId was bad, and I did not own it, now both of these things are fixed by the brand new `dev.redstudio` which is more readable and sounds better, also I actually own it.#### Re-Branding!![Red Core Banner](https://github.com/Red-Studio-Ragnarok/Red-Core/assets/82710983/2cab5fb2-96dc-4738-83d2-907d5e835e2a)Say welcome to the new Red Core branding! The Readme is also getting a makeover.### Added- Added an `Experimental` annotation- Added a new experimental vector suite, this is supposed to replace the existing vector suite in 0.6 the existing vector suite is marked for removal in 0.8- Added a compatibility layer for old groupId which is marked for removal in 0.8### Changed- `MathUtil` is now under `utils.math`- Separated `MathUtil` clamping methods into their own class `ClampUtil`- Changed GroupId from `io.redstudioragnarok` to `dev.redstudio`- Made `RedLogger#RANDOM` private### Removed- Removed `Stopwatch` it wasn\'t that good or useful but was fun to make### Fixed- Fixed inconsistent argument naming in `MathUtil#lerp`### Internal- Switched to [gradle-buildconfig-plugin](https://github.com/gmazzo/gradle-buildconfig-plugin) entirely for project constants- Switched to Gradle Kotlin DSL- Switched to Adoptium- General cleanup### Red Core MC#### Added- Added support for mc versions 1.7.10 through 1.12.2#### Changed- Switched to [CurseUpdate](https://forge.curseupdate.com/) for update checking- Moved `startClientTicker` from `RedCore` to `RedClientTicker- Moved `forceOptiFineFastRenderOff` from `RedCore` to `OptiNotFine`- Deprecated the vector suite as it is to be replaced by the new vector suite in 0.6#### Removed- Removed `pack.mcmeta`#### Internal- General cleanup展开版本: 0.5支持游戏: 1.7.10, 1.8, 1.8.8, 1.8.9, 1.9, 1.9.4, 1.10, 1.10.2, 1.11, 1.11.2, 1.12, 1.12.2类型:ForgeBeta下载次数: 1,182Red Core 0.4!Red-Core-0.4.jar下载0.4#BetaRed-Core-0.4-sources.jar下载0.4#Beta[Changelog File (Include Previous Versions)](https://github.com/Red-Studio-Ragnarok/Red-Core/blob/main/Changelog.md)## Red Core Version 0.4 Changelog - 2023-09-07### HighlightWelcome to Red Core 0.4 a non-breaking release that includes a lot of Quality of Life enhancements and general polishing of certain parts of Red Core.Red Core 0.5 will be a breaking release since we will switch from `io.redstudioragnarok` to `dev.redstudio` stay tuned as dev builds will only be released for devs on GitHub as to not cause issue will mods prepare their updates.#### Networking with Vectors just got a lot easier and cleaner too!You now have `read` and `write` methods for all Vectors from Red Core, it simply take in `ByteBuf` and takes care of the rest.##### Before![Before](https://github.com/Red-Studio-Ragnarok/Red-Core/assets/82710983/441c5edd-8ecc-4c8f-9f5f-5db6b6749f4c)##### After![After](https://github.com/Red-Studio-Ragnarok/Red-Core/assets/82710983/7b01142f-77da-445b-8b49-a156755cbaea)### Red Logger just got cleaner!`RedLogger#printFramedError` will not add empty lines anymore if `whatNow` and/or `additionalInformation` is empty.##### Before![Before](https://github.com/Red-Studio-Ragnarok/Red-Core/assets/82710983/69d6f955-a1f3-4da9-a74d-c927023f2b20)##### After![Before](https://github.com/Red-Studio-Ragnarok/Red-Core/assets/82710983/dcf72281-e730-4d64-be45-5960af6b49e2)### Added- **NetworkUtil:** Designed to streamline network coding practices, this utility makes writing cleaner, safer, and more efficient networking code effortless.- Added `read` and `write` methods to all vectors that allows for easy networking- Added `int`, `short` and `byte` versions of `clampTest`, `clampMinFirst` and `clampMaxFirst` in `MathUtil`- Added `int` versions of the vectors- Added a `Vec2f` constructor for the 2-dimensional vectors- Added a `zero` method for the 2-dimensional vector- Added missing `pack.mcmeta`### Changed- Red Core is now a core-mod making it load as early as possible, so Red Core can now be used in Mixins for example- `RedLogger#printFramedError` will not add empty lines if `whatNow` and/or `additionalInformation` is empty- Improved error logging of the Stopwatch- Red Core jar name now has a `!` at the start so that it gets loaded earlier than mods using it- Cleaned up the vectors they might be slightly more performant as a result- Updated `mcmod.info`### Fixed- Fixed Red Core using the wrong GitHub issue link when logging errors- Fixed Red Core using its id instead of its name for logging展开版本: 0.4支持游戏: 1.12.2类型:ForgeBeta下载次数: 4,652Red Core 0.3.1Red-Core-0.3.1.jar下载0.3.1#BetaRed-Core-0.3.1-sources.jar下载0.3.1#Beta[Changelog File (Include Previous Versions)](https://github.com/Red-Studio-Ragnarok/Red-Core/blob/main/Changelog.md)## Red Core Version 0.3.1 Changelog - 2023-7-16 [YANKED]### Fixed- Fixed Forge not being able to subscribe the RedClientTicker causing a crash---## Red Core Version 0.3 Changelog - 2023-7-16### Added- **RedClientTicker:** A useful ticker that allows you to have ticks every 2, 5 or 10 normal ticks, for things that shouldn\'t run 20 times a second.- **OptiNotFine:** A must-have when working with OptiFine compatibility, it allows you to know if OptiFine is installed, whether shaders are loaded, and to force fast render off.### Changed- RedLogger now uses a String instead of a URI for the `newIssueLink` parameter, the old constructor has been deprecated and is due for removal for 0.4- RedLogger recomfort messages might be more random### Optimized- Optimized `RedLogger#printFramedError` it should now use slightly less memory and thus have less GC pressure展开版本: 0.3.1支持游戏: 1.12.2类型:ForgeBeta下载次数: 1,746Red Core 0.2Red-Core-0.2.jar下载0.2#BetaRed-Core-0.2-sources.jar下载0.2#Beta[Changelog File (Include Previous Versions)](https://github.com/Red-Studio-Ragnarok/Red-Core/blob/main/Changelog.md)## Red Core Version 0.2 Changelog - 2023-6-13## Added- **MathUtil:** A purpose-built class providing an array of mathematical methods, engineered with a steadfast focus on rapid processing and calculations.- **Vectors:** A comprehensive and efficient suite of vectors, designed with performance and simplicity in mind.- **RedLogger:** An advanced error logger engineered to make error logging and understanding significantly more user-friendly.- **Included [Jafama](https://github.com/jeffhain/jafama)**: A high-performance math library now incorporated within the Red Core, for better compatibility between mods.- **Stopwatch Enhancements:** The Stopwatch feature now boasts the ability to output results directly to a file, in addition to averaging all these results for comprehensive analysis.## Changed- Renamed the `Chronometer` component to the more intuitive `Stopwatch` for improved user understanding.- The Stopwatch feature has been refined to display outputs in milliseconds, accurate up to two decimal places.展开版本: 0.2支持游戏: 1.12.2类型:ForgeBeta下载次数: 5,935全部版本

markdown_parsed

文章类型:收录

layui.use([\'form\'], function(){
var form = layui.form;
});

游客,如果您要查看本帖隐藏内容请回复
Red Core
楼主 2025-8-10 19:03:37 回复 收起回复
小僵尸论坛感谢有你~
回复 论坛版权

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册 手机动态码快速登录

本版积分规则



介绍

我的世界(Minecraft)小僵尸论坛
收录了来自各地的我的世界(MC)爱好者们的各种资源

须知: 切勿滥用举报,任何与举报相关的信息必须属实!

"Minecraft"以及"我的世界"为Mojang Synergies AB的商标 本站与Mojang以及微软公司没有从属关系

官方

新浪微博 腾讯微博 微信公众号 投稿规则 版权声明 捐助我们

官方QQ①群: 291907844 (点击加群)
官方QQ②群: 421312192
官方QQ③群: 528726532

我的世界(Minecraft)小僵尸论坛

新会员

QQ|Archiver|手机版|小黑屋|Minecraft(我的世界)小僵尸论坛 |网站地图

GMT+8, 2025-9-25 10:39 , Processed in 0.210404 second(s), 52 queries .

快速回复 返回顶部 返回列表