信息
VoltzEngine Fluid Module(流体模块)是 VoltzEngine 的一个独立库,旨在提供对流体预制件的共享访问。其中包含了一些流体、流体方块和流体容器供使用。该模组本身提供了一个简单的铁桶,支持部分填充以及所有类型的流体,这与原版桶不同。
使用该库的模组
内容
- Milk Fluid - 允许在储罐中储存牛奶
- Milk Block - 允许在世界中放置牛奶
- Fluid Container - 子模组共享此组件以生成新的流体容器物品
- Fluid Prefab - 用于创建新流体
- Fluid Block - 用于创建新的流体方块
计划中的内容
- Molten Fluids - 支持类似岩浆的流体,会造成伤害并可被冷却
- In world smelting - 支持在世界中将方块熔炼成流体
- JSON Fluid generation - 整合包制作者 & 内容创作者可以创建用于合成和世界生成的新流体
- JSON Fluid Containers - 整合包制作者 & 内容创作者无需编写代码即可制作自定义流体容器。
- Loot table options - 能够自定义流体容器是否出现在世界生成的战利品箱中。
- Entity loot options - 实体掉落流体容器的功能。
常见问题解答
问:为什么只为了做桶就专门做一个库?
答:节省时间、精力、代码等。最初的概念是从木桶开始的,但后来扩展到了制作更多材质的想法。在为数十个模组提供支持的过程中遇到了一些问题,因此创建了这个库。这样做是为了简化代码并保持内容的一致性。毕竟,如果一个桶能与机器交互而另一个不能,那就很奇怪了。
问:流体容器?
答:桶,在代码中它们被称为流体容器,因为从 1.8.9 开始重新设计了桶的工作方式。
问:所以插件就是皮肤吗?
答:从技术上讲,大多数插件只是为了在游戏中添加一种新风格的流体容器。然而,每个插件都有选项来改变游戏玩法。例如,木桶可以通过配置选项泄漏流体并点燃玩家。其他插件可能会选择支持有限的流体、增加容量、添加酷炫的功能等,因为没有上限。所有交互都是基于事件的,并提供强大的处理程序。
问:所以它添加了桶?
答:不仅仅是桶,该库还支持流体、方块以及机器的交互处理。这意味着桶可以支持广泛的模组,而模组也可以支持广泛的流体。
问:我需要 VoltzEngine 吗?
答:不需要,老实说,它只是以模组命名,因为它曾经是模组的一部分。它是作为 VoltzEngine 重写的一部分分离出来的,目的是将代码库模块化。鉴于流体代码不依赖于 VE,它被保留为一个独立的库。希望人们能在 BBM 团队之外使用它。
问:如何制作我自己的桶?
答:与正常模组一样,但你创建的是桶材质而不是物品。然后提供正确的信息,如纹理、材质数据和覆盖函数。创建后,在桶创建事件中注册该材质。根据需要提供一些配方和额外配置也会有所帮助。
Info
VoltzEngine Fluid Module is an independent library from VoltzEngine to provide shared access to fluid prefabs. This includes a few fluids, fluid blocks, and fluid containers to be used. By itself, the mod provides a simple iron bucket that supports partial filling and all fluid types, unlike the vanilla bucket.
Mods using this lib
Contents
- Milk Fluid - allows storage of milk in tanks
- Milk Block - allows placement of milk in world
- Fluid Container - shared by sub-mods to generate new fluid container items
- Fluid Prefab - used to create new fluids
- Fluid Block - used to create new fluid blocks
Planned Content
- Molten Fluids - support for lava like fluids that deal damage and can be cooled
- In world smelting - support for melting blocks in world to be turned into fluids
- JSON Fluid generation - modpack makers & content can create new fluids for use in crafting and world gen
- JSON Fluid Containers - modpack makers & content creators can make custom fluid containers without code.
- Loot table options - ability to customize if the fluid containers show up in world generated loot chests.
- Entity loot options - the ability to have entities drop fluid containers.
Frequently Asked Questions
Q: Why make a lib just to make buckets?
A: Save time, energy, code, etc. The original concept started as wooden buckets but grew into the idea to make more materials. After running into issues support dozens of mods over several mods a lib was created. This was done to simplify the code and keep content consistent. After all it would be odd if one bucket worked but the other didn't when interacting with a machine.
Q: Fluid containers?
A: Buckets, in code they are called fluid containers after 1.8.9 started reworking how buckets functioned.
Q: So addons are Skins?
A: Technically, most will exist just to add a new stylized fluid container to the game. However, each does have the option of changing gameplay. Wooden buckets, for example, can leak fluid and catch the player on fire via config options. Other addons might chose to support limited fluids, increase volume, add cool features, etc as there is no limit. All interactions are event driven and provide cool handlers.
Q: So it adds bucket?
A: Not just buckets, the lib also supports fluids, blocks, and interaction handling for machines. This means the bucket can support a wide range of mods and mods can support a wide range of fluids.
Q: Do I need VoltzEngine?
A: No, honestly its only named after the mod as it use to be part of the mod. It was split of as part of the VoltzEngine rewrite to modularize the code base. Seeing the the fluid code did not require VE it was left as a standalone lib. The hope is people will use it outside of the BBM team.
Q: How do I make my own bucket?
A: Same as a normal mod but you create a bucket material instead of an item. Then provide the correct information such as textures, material data, and override functions. Once created you register the material inside of the bucket creation event. It might also help to provide some recipes and extra configs as needed.
下载 VE-FluidHandling
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 VE-FluidHandling
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 VE-FluidHandling
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 VE-FluidHandling
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 VE-FluidHandling
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 VE-FluidHandling
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 VE-FluidHandling
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 VE-FluidHandling
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 VE-FluidHandling
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 VE-FluidHandling
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
一个用于收集生物掉落物的多区块模组。
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
适用于 MC 1.18+ 的 Effekseer 加载器
评论 0
登录后参与评分
还没有评论,来抢沙发吧