描述
Autoverse 是一款用于精简原版风格自动化装置并添加新自动化可能性的模组。
该模组主要基于到达物品的序列来执行操作。换句话说,“命令”和数据以物品序列的顺序进行编码和传输。为此,模组提供了(除其他外)管道、FIFO 缓冲区、过滤器、分路器、多路复用器、排序器和序列检测器,可用于控制和引导物品流向不同位置,从而执行各种功能。
此模组中的大多数机器都可以通过传入的物品序列进行编程,然后在“正常运行”期间,当检测到匹配的复位物品序列时,它们可以再次被复位,之后可以使用不同的设置重新进行编程。
简短背景
开发此模组的原始项目是“BioVoxel”项目,旨在模拟诸如活细胞等事物。对于该项目而言,所有操作必须完全无需玩家交互至关重要。因此,只要初始装置已通过一系列能够正确配置待放置方块对应的可编程方块放置器的物品序列进行了编程,此模组中的所有方块均可使用可编程方块放置器自动放置和配置。换言之,此模组中的每个方块都可以以任何方向放置,且方块的任何非物品可编程属性(例如 FIFO 缓冲区的长度)也可以通过可编程方块放置器进行设置。
方块
目前已实现的方块:
-
Barrel - 一个简单的单格存储容器。最大堆叠数量可在 1 到 32768 之间调整,且为 2 的幂次方。它可以通过红石信号锁定(防止漏斗等自动化设备插入或取出物品)。
-
Barrel (Pulsed) - 与常规 Barrel 类似,但它不能通过红石信号锁定,而是在红石信号的上升沿尝试将下方的一格物品推出。
-
Block Breaker - 当接收到方块更新时,破坏其正前方的方块。尝试从其背面输出物品,如果失败,则尝试从背面的后方一格处输出(以便破碎器可以从背面安装在框架方块上)。
-
Block Breaker (Greedy) - 当接收到方块更新时,破坏除背面以外的所有侧面的方块。尝试从其背面输出物品,如果失败,则尝试从背面的后方一格处输出(以便破碎器可以从背面安装在框架方块上)。还有一个配置选项可以将破坏区域更改为 3x3x2 或 5x5x3,这样框架采石场就不需要那么多破碎器了。
-
Block Detector - 可以检测其正面区域内存在的方块。成功检测后将输出对应的物品。最大距离、角度、检测间隔以及要检测的方块类型均可编程设置。
-
Block Placer (NBT) - 可以放置方块,并根据物品的 NBT 数据设置其属性。旨在与 Block Reader 读取的物品配合使用。
-
Block Placer (Programmable) - 可以放置方块,并根据当前配置的属性设置其属性。对于所有 Autoverse 方块,可用属性及其顺序列在方块的提示文本中。对于其他方块,属性按以下顺序设置:
- 任何 PropertyDirection 类型的属性(方向)
- 任何 PropertyInteger 类型的属性。
例如,如果有两个朝向属性,它们会按字母顺序排列。
-
Block Reader - 可以从世界中获取方块,并将其方向等信息和 TileEntity 数据编码到物品的 NBT 数据中。(旨在与非可编程的 Block Placer 配合使用。)
-
Crafter - 一个可编程的自动合成器。
-
FIFO Buffer - 一个用于物品的缓冲区。物品将按照到达的顺序离开(先进先出)。尝试在红石信号的上升沿推出一件物品。否则,物品需要被推入并拉出。
-
FIFO Buffer (Pulsed) - 一种变体,仅在红石信号时推进内部位置。(目前提取位置的确切行为有点奇怪,将来可能会改变。)
-
FIFO Buffer (Auto-pushing) - 一种变体,尝试主动将其输出面上的物品推入相邻的容器。
-
Filter - 一个可编程的物品过滤器。匹配过滤器的到达物品将从单独的一侧输出。
-
Filter (Sequential) - Filter 的一种变体,仅当物品以完整且匹配的顺序(如编程所设)出现时才输出匹配的物品。
-
Filter (Strict Sequential) - Filter 的一种变体,仅当物品按顺序完全匹配整个序列时,才将匹配的物品输出到被过滤掉的一侧。
-
Inventory Reader (Items) - 根据容器中物品的填充程度输出红石信号强度。这与原版比较器非常相似,只不过它可以以任何方向放置,并且除了容器外不读取任何其他内容。
-
Inventory Reader (Slot) - 根据容器中有多少比例的槽位包含物品来输出红石信号。每个槽位的物品数量或槽位的最大堆叠大小无关紧要。
-
Muxer (Redstone-controlled) - 根据方块是否被红石信号供电,接受来自“次要”输入侧面或其他任何侧面的物品。
-
Muxer (Priority) - 来自“次要”输入侧面的物品始终优先于其他侧面的物品。
-
Muxer (Sequence Length) - 可以为输入侧面 1 和 2 分别编程输入的物品序列长度。在该配置的数量之后,活动的输入侧面将切换。
-
Pipe (Basic) - 基础物品运输管道。这些是基于槽位/容器的简单管道。只要可能,物品总是优先尝试直走。物品 永远 不会从它们进入的同一侧面离开(它们不会“反弹回”)。任何侧面的连接都可以通过潜行 + 右键点击空手来禁用(对于这些基础管道,也可以通过潜行 + 左键点击侧面连接来禁用)。
-
Pipe (Directional) - 一种管道,物品只能 通过 设置为输出的侧面离开。
-
Pipe (Extraction) - 一种可以从容器中吸取物品的管道。可以通过潜行 + 左键点击来启用/禁用吸取侧面。
-
Pipe (Round-robin) - 一种优先处理设置为轮询输出的侧面的管道。它会在任何此类侧面之间循环。请注意,如果物品未能通过轮询输出侧面离开,它也可以从普通侧面离开。这使得这些轮询管道也可以用作插入管道,即它们首先尝试插入到相邻的容器中,但如果插入失败,物品也可以继续直线前进。
-
Programmable Redstone Emitter (Basic) - 可以通过匹配的物品序列开启和关闭。输出侧面是可编程的。
-
Programmable Redstone Emitter (Advanced) - 每个侧面都可以拥有自己的开启和关闭命令序列。
-
Height Sensor - 根据其 Y 坐标输出红石信号强度。基本上,它会指示区块部分的 Y 值,因为它只能有 0..15 的值。换句话说,输出值每向上或向下 16 个方块就会增加/减少一。
-
Sequence Detector - 当检测到与编程的检测序列匹配的到达物品序列时,输出一个持续 1 红石刻的脉冲。
-
Sequencer (Basic) - 一个简单的 1 到 18 格的容器,但每次拉出物品时,提取槽位会向前移动一格。
-
Sequencer (Programmable) - 可通过编程设定一个序列,将库存槽位锁定为指定的物品类型。每次抽取物品时,提取槽位会前进一格。
-
Splitter (Redstone) - 输出面会根据红石信号发生变化(当方块通电时,会有单独的“次要”输出面)。
-
Splitter (Switchable) - 可编程两种切换序列。当检测到匹配的序列时,输出面会切换到其中一种。
-
Splitter (Sequence Length) - 可编程两种序列长度。在指定数量的物品通过后,输出面会进行切换。
-
Trash Bin - 一个简单的垃圾桶,用于销毁投入的任何物品。
-
Trash Buffer - 一个带有较大初始缓冲区的垃圾桶(36 个槽位,每个槽位最多容纳 1024 个物品)。你也可以将其视为带有虚空升级的存储方块。
-
RS-Latch - 集成在一个方块中的 RS 锁存器。两个输入面和输出面均可自由设置。
-
T-Latch - 集成在一个方块中的 T 锁存器(输入脉冲时切换输出状态)。输出面可自由旋转。
物品
目前已实现的物品:
方块放置属性配置器 - 便于在可编程方块放置机中配置方块属性。它将存储在其使用的方块上的任何受支持的属性,然后可以生成属性物品序列,以在可编程方块放置机中编程这些属性。
懒人序列魔杖 - 可以存储 Autoverse 机器的物品序列,或者简单地存储其他容器中物品的顺序。存储的序列随后可以应用于 Autoverse 机器或任何容器。
简短演示视频
一段使用一些可编程方块放置机和方块破坏机的简短且略带滑稽的演示视频:
可编程方块放置机和方块破坏机演示
Autoverse 和 Funky Locomotion 演示
另一个小型演示——一个使用 Autoverse 和 Funky Locomotion(以及仅用于其物品渲染效果的 Ender Utilities 桶)的铁轨建造者:
图片
方块探测器
方块放置机(可编程)
")
合成器
FIFO 缓冲区
过滤器
过滤器(顺序)
")
多路复用器(红石控制)
")
多路复用器(序列长度)
")
管道
管道(抽取)
")
管道(轮询)
")
可编程红石发射器(基础版)
")
可编程红石发射器(高级版)
")
序列检测器
序列器(基础版)
")
序列器(可编程)
")
分离器(可切换)
")
分离器(序列长度)
")
垃圾缓冲区
Description
Autoverse is a mod for compacting vanilla-type automation contraptions, and adding new possibilities for automation.
Autoverse is for the most part focused around doing things based on the sequence of arriving items. In other words, "commands" and data are stored and transferred encoded as the order of item sequences. For this purpose the mod has (among other things) (item) Pipes, FIFO Buffers, Filters, Splitters, Muxers, Sequencers and Sequence Detectors, which can be used to control and direct the item flow into different places, where it can do various things.
Most of the machines in this mod can be programmed by the incoming item sequence, and then during "normal operation", they can be again reset by an arriving matching reset item sequence, after which they can be programmed again using different settings.
Short Background
The project for which this mod was originally developed for/started, is a "BioVoxel" project, which attempts to simulate things like living cells. For this project, it's very important that everything can be done completely without player interaction. That's why everything in this mod can be placed and configured automatically using the Programmable Block Placer, as long as the initial contraption has been programmed with a sequence of items that is able to correctly configure the Block Placer for each block that is to be placed. In other words, every block in this mod can be placed in any orientation, and any non-item-programmable properties of blocks (such as the FIFO Buffer's length for example) can be set by the Programmable Block Placer.
Blocks
Currently implemented blocks:
Barrel - A simple one-slot storage. The maximum stack size is adjustable, between 1 and 32768, in powers of two. It can be locked by a redstone signal (prevents automation like hoppers from inserting or extracting items.)
Barrel (Pulsed) - Similar to the regular Barrel, except it can't be locked by a redstone signal, but instead it will try to push one item below itself on a redstone signal's rising edge
Block Breaker - Breaks the block on it's front side, when it receives a block update. Tries to output items to it's back side, and if that fails, then also one block away on its back side (so that the breaker can be attached to a frame block from behind).
Block Breaker (Greedy) - Breaks blocks on all except its back side, when it receives a block update. Tries to output items to it's back side, and if that fails, then also one block away on its back side (so that the breaker can be attached to a frame block from behind). There is also a config option to change the break area into a 3x3x2 or a 5x5x3, so that frame quarries don't need that many breakers.
Block Detector - Can detect blocks in an area on its front side. It will output a matching item on successful detection. The maximum distance, angle, the detection interval and the types of blocks to detect are programmable.
Block Placer (NBT) - Can place blocks, and set their properties from the item's NBT data. Meant to be used with items read by the Block Reader.
Block Placer (Programmable) - Can place blocks, and set their properties, based on the currently configured properties. For all Autoverse blocks, the available properties and their order is listed in the blocks' tooltip. For other blocks, the properties are set like:
- any PropertyDirection type properties (orientations)
- any PropertyInteger type properties.
If there are for example two facing properties, they are ordered alphabetically.
Block Reader - Can take blocks from the world, and encode their orientation etc. information and TileEntity data to the item's NBT data. (Meant to be used with the non-programmable Block Placer.)
Crafter - A programmable auto-crafter.
FIFO Buffer - A buffer for items. The items will leave in the same order as they arrived in (First In First Out). Attempts to push one item out on the rising edge of a redstone signal. Otherwise items need to be pushed in, and pulled out.
FIFO Buffer (Pulsed) - A variant which only advances the internal positions on redstone signal. (The exact behaviour of the extract position is a bit odd atm, and may be changed at some point.)
FIFO Buffer (Auto-pushing) - A variant which tries to actively push out items to an inventory on its output face.
Filter - A programmable item filter. Arriving items matching the filter are output on a separate side.
Filter (Sequential) - A variant of the Filter, which will output matching items only in a complete, matching sequence like it was programmed.
Filter (Strict Sequential) - A variant of the Filter, which will only output matching items to the filtered-out side if they match the entire sequence in order.
Inventory Reader (Items) - Outputs a redstone signal strength based on how full of items an inventory is. Very similar to a vanilla Comparator, except that it can be placed in any orientation, and it doesn't read anything except inventories.
Inventory Reader (Slot) - Outputs a redstone signal based on what percentage of the slots in an inventory have items. The amount of items per slot, or the maximum stack sizes of the slots are irrelevant.
Muxer (Redstone-controlled) - Accept in items from either the "secondary" input side, or other any sides, based on whether the block is powered by a redstone signal.
Muxer (Priority) - Items arriving from the "secondary" input side will always have priority over the other sides.
Muxer (Sequence Length) - Can be programmed with the item sequence lengths for input sides 1 and 2 respectively. The active input side will change after that configured number of items.
Pipe (Basic) - A basic item transport pipe. These are simple slot/inventory based pipes. Items will always try to go straight first, whenever possible. Items will never leave from the same side that they arrived from (they will not "bounce back"). Any side connections can be disabled by sneak + right clicking with an empty hand (and for these basic pipes, also by sneak + left clicking on the side connection).
Pipe (Directional) - A pipe where items can only leave via sides that have been set as outputs.
Pipe (Extraction) - A pipe that can pull items from inventories. The pulling sides can be enabled/disabled by sneak + left clicking.
Pipe (Round-robin) - A pipe which will prioritize sides that have been set as round-robin outputs. It will cycle between any such sides. Note that if the item fails to leave via round-robin output sides, it can then also leave from normal sides. This allows these round-robin pipes to also be used as insertion pipes, i.e. they would first try to insert into an adjacent inventory, but the items can then continue straight along as well if the insertion fails.
Programmable Redstone Emitter (Basic) - Can be toggled ON and OFF by a matching item sequence. The output sides are programmable.
Programmable Redstone Emitter (Advanced) - Every side can have its own ON and OFF command sequence.
- Height Sensor` - Emits a redstone signal strength based on its y-position. Basically it will indicate the chunk section's y-value, because it can have only the values 0..15. In other words, the output value will increase/decrease by one every 16 blocks up/down.
Sequence Detector - Outputs a 1-redstone-tick pulse when it detects an arriving item sequence that matches the programmed detection sequence.
Sequencer (Basic) - A simple 1 to 18 slot inventory, but the extraction slot will advance by one every time an item is pulled out.
Sequencer (Programmable) - Can be programmed with a sequence, which will set and lock the inventory slots to those item types. The extraction slot will advance by one every time an item is pulled out.
Splitter (Redstone) - The output side will change based on a redstone signal (a separate "secondary" output side for when the block is powered).
Splitter (Switchable) - Can be programmed with two switching sequences. The output side will change to one of the two, when a matching sequence is detected.
Splitter (Sequence Length) - Can be programmed with two sequence lengths. The output side will switch after that many items have passed through.
Trash Bin - Just a simple trash bin, which destroys any items that are inserted.
Trash Buffer - A trash bin with a rather large initial buffer (36 slots, max 1024 items per slot). You can also think of it as a storage block with a void upgrade.
RS-Latch - A RS-latch in one block. Both input sides and the output side can be freely set.
T-Latch - A T-latch (toggle output state on input pulse) in one block. The output side can be freely rotated.
Items
Currently implemented items:
Block Placer Property Configurator - Allows for easier configuration of the block properties in the Programmable Block Placer. It will store any supported properties from the block it is used on, and it can then generate the property item sequence to program the properties in a Programmable Block Placer.
Wand of the Lazy Sequencer - Can store the item sequence of Autoverse machines, or simply the order of items in other inventories. The stored sequences can then be applied to Autoverse machines, or any inventories.
Short demo videos
A short and a bit silly demonstration video using some Programmable Block Placers and Block Breakers:
Programmable Block Placers and Block Breakers demo
Autoverse and Funky Locomotion demo
Another small demo - a rail builder using Autoverse and Funky Locomotion (and the Barrels from Ender Utilities just for their item rendering):
Images
Block Detector
Block Placer (Programmable)
")
Crafter
FIFO Buffer
Filter
Filter (Sequential)
")
Muxer (Redstone-controlled)
")
Muxer (Sequence Length)
")
Pipes
Pipe (Extraction)
")
Pipe (Round-robin)
")
Programmable Redstone Emitter (Basic)
")
Programmable Redstone Emitter (Advanced)
")
Sequence Detector
Sequencer (Basic)
")
Sequencer (Programmable)
")
Splitter (Switchable)
")
Splitter (Sequence Length)
")
Trash Buffer
评论 0
登录后参与评分
还没有评论,来抢沙发吧