Power Networks
本模组添加了线圈和导线,你可以使用它们来构建能量传输网络。 线圈共有四个等级:基础(basic)、改良(improved)、高级(advanced)和终极(ultimate)。 你可以配置线圈仅作为输入或输出端口,或者同时具备两种功能。
入门指南
要开始使用本模组,你需要制作一些导线和线圈。 建议使用 REI、JEI 或 EMI 等配方查看器来查看配方,因为整合包经常会修改这些配方。 如果不确定,建议使用 REI,因为它在 Fabric 上拥有最佳的模组兼容性。
准备好线圈后,你可以将它们放置在你的能源产生器和消耗器上。 然后使用导线连接线圈:先点击其中一个线圈,再点击另一个。 你可以通过点击节点来配置其仅单向传输。不同等级的线圈具有不同的容量。详见下一节。
工作原理
在构建优化的电力输送系统时,了解各模组的运作方式很有帮助。 本节记录了线圈的行为方式,以避免不必要的混淆。
线圈内部有两个能量缓冲区,每个缓冲区的大小等于该等级的传输速率,一个用于输入,一个用于输出。 当其他模组向线圈推送能量时,能量进入输入缓冲区;当其他模组从线圈抽取能量时,能量来自输出缓冲区。 线圈还会在每个刻(tick)将输出缓冲区中的能量推送到网络中一次。
由于采用了双缓冲区设计,你经常会看到某些线圈看起来只有一半的能量,这通常是因为它们的输出缓冲区已满。
当网络上的第一个线圈在推送完能量后进行刻更新时,它会触发整个网络的刻更新。 在网络刻更新期间,所有可能的能量都将从输入缓冲区转移到输出缓冲区。 能量会均匀地分配给所有输出缓冲区,但从输入缓冲区移除能量的顺序则是任意的。
整合包
你可以在任何你创建的整合包中使用此模组。我更希望你提供下载链接而不是直接分发 jar 文件。 对于 CurseForge 和 Modrinth 的整合包,你应该使用该平台上的对应模组版本。 如果你在该平台之外创建整合包,可以从 Modrinth 获取直接下载链接。
我建议整合包开发者修改线圈的配方,以便更好地与该整合包中科技模组的进度相融合。 如果需要,你也可以更改纹理以匹配修改后的配方。
配置
模组的配置文件位于 config/power_networks.json,也可以通过 ModMenu 基于 YACL 的游戏内图形界面进行编辑。
要从文件中重新加载更改,请使用 /power_networks reload 命令。
如果你的配置文件在任何时候变得无效,你可以尝试通过在文件根节点设置 "repair" 为 true 来进行修复。
这将尽力保留尽可能多的配置内容,同时确保其有效性。它无法修复 JSON 语法错误,但像 VSCode 这样优秀的文本编辑器可以让你轻松自行修复。
传输速率
“传输速率”部分允许你更改线圈能量缓冲区的容量。 缓冲区的大小直接决定了线圈的最大传输速率。
纹理
“纹理”部分允许你更改模组中使用的所有玩家头颅的纹理。 这些纹理是以玩家头颅物品中看到的 base64 编码 JSON 形式存在的。 如果你想了解格式,可以对其进行解码。
由于客户端加载纹理的方式,纹理 URL 几乎总是必须指向 Mojang 的皮肤服务器。 你可以在线查找如何设置皮肤来上传玩家头颅的纹理。
要使纹理更改完全生效,你必须退出并重新加入游戏。 在服务器上,每个客户端都必须退出才能使新纹理完全生效。
杂项
配置的“杂项”部分目前有一个选项用于启用双线渲染。 如果你遇到连接不渲染的问题,双线渲染可能会有所帮助,但它会导致一些 Z-fighting(Z轴冲突)现象。
移植与分叉
你可以阅读我关于 移植和分叉模组 的政策。 由于 1.19.4 版本添加了必要的客户端特性,本模组将不会移植到比 1.19.4 更早的版本。
Power Networks
This mod adds coils and wires that you can use to build energy transfer networks. There are four tiers of coils: basic, improved, advanced and ultimate. You can configure coils to input or output exclusively, or do both.
Getting Started
To get started with the mod you should craft some wire and coils. I recommend that you use a recipe viewer like REI, JEI or EMI to view the recipes as modpacks often change them. If in doubt, you should use REI as it has the best mod compatibility on fabric.
Once you have your coils you can place them on your energy sources and consumers. Then use the wire to connect the coils by first clicking on one and then the other. You can configure nodes to only transfer in one direction by clicking on them. Different tiers of coils have different capacities. See the next section for more details.
How It Works
When building optimized power delivery systems it's useful to know how ones mods work. This section documents how coils behave to avoid unnecessary confusion.
Coils internally have two energy buffers, both with the size of the transfer rate of the tier, one for input and one for output. Whenever another mod pushes energy into a coil it goes into the energy buffer and whenever other mods pull energy it comes from the output buffer. Coils also push the energy from the output buffer once per tick.
Because of the dual buffers you often see coils that appear to only be half full of energy, when their output buffer is full.
When the first coil on a network ticks, after having pushed its energy, it ticks the network. During a network tick all the energy that can be is moved from the input buffers to the output buffers. The energy is evenly distributed to all output buffers, but the removal from the input buffers is in an arbitrary order.
Modpacks
You may use this mod in any modpacks you create. I'd prefer if you don't distribute the jar directly, but instead link to it. For curseforge and modrinth packs you should use the mod on the respective platform. If you create a modpack outside of that you can get a direct download link from modrinth.
I recommend that modpack developers change the recipes of coils to better integrate with the progression of tech mods in the pack. You can also change the textures if you want to have them match changed recipes.
Configuration
The mods config can be edited in the json file at config/power_networks.json or in game with a YACL based gui from modmenu.
To reload changes from file use /power_networks reload.
If your config at any point becomes invalid you can attempt a repair by setting "repair" to true on the root of the file.
This will try to keep as much as possible of your config while ensuring that it becomes valid.
It can not repair json syntax errors, but a good text editor like vscode will allow you to easily do it yourself.
Transfer Rates
The transfer rates section allows you to change the capacity of the energy buffers of coils. The size of the buffer directly translates to the maximum transfer rate of a coil.
Textures
The textures section allows you to change the textures of all player heads used in the mod. The textures are in the base64 encoded json form seen in player head items. You can decode it if you want to understand the format.
Due to how the client loads textures the url in the texture almost always has to point to Mojangs skin servers. You can look up online how to upload the textures for player heads by setting your skin.
For texture changes to fully apply you have to leave and rejoin the game. On servers each client has to leave to get the new textures to fully apply.
Misc
The misc section of the config currently has one option to enable double lead rendering. Double leads can help if you are having issues with connections not rendering, but causes some z-fighting.
Porting and Forking
You can read my policy on forking and porting mods. This mod will not be ported to anything older than 1.19.4 due to that version adding necessary client features.
下载 Power Networks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Power Networks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Power Networks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Power Networks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Power Networks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Power Networks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Power Networks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Power Networks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Power Networks
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 更新至 1.20.6
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧