注意: 本模组基于 Agent772 开发的 Create Shuffle Filter 模组的优秀创意和概念。原版模组是为 Neoforge 开发的。
我并非专业的模组开发者——事实上,我在模组制作方面还是个新手——但我真的很想在个人的 Fabric 游戏中实现这一功能。因此,我花了一些时间自行重新实现了这一概念。
⚠️ 关于更新的免责声明
请注意,由于此模组主要是为我个人使用而开发的,我可能无法保证频繁更新或提供广泛的支持。更新很可能仅在我为新版 Minecraft 或 Fabric 个人需要时才会进行。
Create: Shuffle Fabric
我所重新实现的核心理念是:在你的自动化 Create 装置中拥抱“不确定性的美感”。这个轻量级模组通过引入一种新物品来实现这一点:随机过滤器(Shuffle Filter)。
?️ 工作原理
当将此过滤器放入装置上的 Create 发射器(Deployer)时,它将启用真正的随机方块放置,让你能够以多样化的方式进行建造。
该过滤器支持两种不同的模式:
加权模式(Weighted Mode):
放置物品的概率取决于其在发射器库存中的堆叠数量。你拥有的某类物品越多,被放置的概率就越高。
均等模式(Equal Mode):
库存中的每种物品都有相同的放置概率,无论其数量多少。
在其他任何情境下(例如在机械工作台或漏斗中使用),随机过滤器的行为与普通列表过滤器相同。如果过滤器设置为加权模式,它将尊重 NBT 数据。如果设置为均等模式,它将忽略 NBT 数据。

Note: This mod is based on the excellent idea and concept of the Create Shuffle Filter mod by Agent772. The original mod was developed for Neoforge.
I am not a professional mod developer—in fact, I'm quite new to modding—but I really wanted this functionality for my own Fabric playthrough. Therefore, I took the time to re-implement the concept myself.
⚠️ Disclaimer on Updates
Please be aware that since I developed this primarily for my personal use, I may not be able to guarantee frequent updates or extensive support. Updates will likely only happen when I personally need them for a new version of Minecraft or Fabric.
Create: Shuffle Fabric
The core idea I re-implemented is to embrace The Beauty of Uncertainty in your automated Create contraptions. This lightweight mod achieves that by introducing one new item: the Shuffle Filter.
?️ How it Works
When you place this filter into a Create Deployer on a contraption, it enables truly random
block placement, allowing you to build with variety.
The filter supports two distinct modes:
Weighted Mode:
The probability of placing an item is based on its stack quantity inside the Deployer's inventory. The more items of a kind you have, the higher the chance it will be placed.
Equal Mode:
Every item in the inventory has an equal probability of being placed, regardless of quantity.
In any other context (like being used in mechanical crafters or funnels), the Shuffle Filter behaves just like a regular list filter. If the filter is set to Weighted Mode, it will respect NBT data. Or if the filter is set to Equal Mode, it will ignore NBT data.

评论 0
登录后参与评分
还没有评论,来抢沙发吧