- 积分
- 740
- 帖子
- 主题
- 精华
贡献- 份
爱心- 心
- 钻石
- 颗
- 人气
- 点
- 下界之星
- 枚
- 最后登录
- 1970-1-1
- 注册时间
- 2014-3-14
来自:湖北 |  独立Mod发布中文名称: | 环三次甲基三硝铵 |
---|
英文名称: | Cyclotrimethylenetrinitramine |
---|
来源: | 原创 |
---|
Mod类型: | 辅助类Mod » 优化补丁 |
---|
Mod版本: | 1.0.0-bate9 |
---|
适用版本: | 1.19.2 1.19.1 1.19 1.18.2 |
---|
Mod加载器(Loader)需求: | Fabric |
---|
最后更新: | 2022-09-2 |
---|
原帖地址: | |
---|
语言支持: | 简体中文 English |
---|
与多人游戏兼容性: | 完全兼容原版多人游戏 服务端也需要安装 |
---|
安装方法: | 拖入mods文件夹(需要API支持) |
---|
下载地址: | https://github.com/KenRouKoro/C3H6N6O6/releases |
---|
本帖最后由 KenRouKoro 于 2022-9-2 00:49 编辑
[C3H6N6O6]环三次甲基三硝胺 Cyclotrimethylenetrinitramine
高兼容性的的实体多线程优化Mod
介绍:
注:环三次甲基三硝胺的中文别名为黑索金,后文皆使用别名称呼
黑索金是一个用于实体多线程运算的模组,其设计与大多数模组兼容,与C2ME和星光完全兼容,但与 锂 兼容需要关闭锂的entity和collections功能。理论上,它只会影响利用实体运算类的特性(会影响相当一部分红石机械),对于刷沙机等利用非实体运算机制的特性不影响。
黑索金只应运行于服务器上,在客户端上运行该Mod会没有任何效果,并且可能会出现Mixin冲突!
1.0.0-beta5已经完全支持在单人游戏中使用黑索金并行化功能。 原理: 黑索金会一直维持一个ForkJoinPool,其线程数由JVM可供使用的核心数决定。 黑索金将Minecraft服务器循环中World循环中的实体Tick与方块实体Tick单独封装到黑索金维持的线程池中并发运行,并将Minecraft原始代码大规模改造为可在并发环境下运行。 文字描述可能会有些看不懂,上图: 安装: 请确保你已经安装最新的Fabric Loader,Fabric API,并且安装前置 KoroWorld-Lib。黑索金并不更改世界文件,不需要重建世界,移除黑索金也不需要。 对于Minecraft1.19:黑索金还没有正式支持Minecraft1.19,但有外国友人测试其代码可以直接在Minecraft1.19上运行,需要修改前置以及黑索金的fabric.mod.json文件。
配置文件: 配置文件路径:config/C3H6N6O6.setting 配置文件实时生效! # #为注释,右侧为默认值,生成时是空文件,就是全部使用默认值。 #并行化实体使能(false为启用) EntityDisabled = false #并行化方块实体使能(false为启用) BlockEntityDisabled = false #是否打印实体报错(true为打印) logEntityException = true #是否打印方块实体报错(true为打印) logBlockEntityException = true 许可证: [C3H6N6O6]环三次甲基三硝胺-Cyclotrimethylenetrinitramine 是使用MIT协议在Github上免费开源的项目。 许可证内容: The MIT License (MIT) Copyright (c) 2022 KenRouKoro Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
更新日志:
1.0.0-beta9 For Minecraft 1.18.2
1.0.0-beta9 For Minecraft 1.19.2
1.0.0-beta8 更新内容- 小bug修复
- 初步修复 [color=var(--color-accent-fg)]#1
- 异常处理优化
Updates- minor bug fixes
- Initial fixes [color=var(--color-accent-fg)]#1
- Exception handling optimization
1.0.0-beta7更新内容
- 小bug修复
- 初步修复 [color=var(--color-accent-fg)]#1
Updates
- minor bug fixes
- Initial fixes [color=var(--color-accent-fg)]#1
1.0.0-beta6: 更新内容:- 删除屏蔽容器并发限制,因为导致Bug的是玩家实体的问题
- 在同步方块时加锁,使得刷地毯机等红石机械能短时间运行(长时间会损坏机械)
- 完整的中文JavaDoc
Updates:- remove the shielded container concurrency limit, as it was the player entity that was causing the bug
- add locks when synchronizing blocks to allow redstone mechanics such as carpet brushes to run for short periods of time (long periods can damage mechanics)
- complete Chinese JavaDoc
1.0.0-beta5: 更新内容- 移植MCMTCE的对于Tech与AE2的兼容代码并进行优化。
- 完全支持单人游戏
- 修复部分方块实体无法Tick的问题(屏蔽容器方块实体的Tick)。
- 动态配置文件支持,可以随时修改配置文件以禁用并行化功能。
- Tech修复代码将**阻塞队列换为大小为2000的有界阻塞队列
- 一些小bug修复
Updates- ported MCMTCE's for Tech and AE2 compatibility code and optimized.
- Full support for single player
- Fix the problem that some cube entities cannot be ticked (blocking container cube entities from ticking).
- dynamic profile support, can modify profile to disable parallelization at any time
- Tech fix code to replace the unbounded blocking queue with a bounded blocking queue of size 2000
- some minor bug fixes
1.0.0-beta3: 更新内容- 更换了DecoderHandlerMixin的实现方式,理论上不会再与Polymer冲突
- 增加KoroWorld-Lib前置的强制检查
1.0.0-beta2: 更新内容- 大概率是修复了与Polymer的冲突
- 增加与KoroWorld-Lib的依赖说明。
1.0.0-beta1:更新内容 |
|
评分查看全部评分
|