Re:Fully Functional 1KB Hard Drive in Vanilla Minecraft
by TheLoneWolfling on Wednesday August 20, 2014 @02:34PM
(#8203755)
You can do it without command blocks.
Use an item sorter.
An item will stack with another item if they are identical, which includes NBT data. Using an item sorter you can detect this.
Re:Fully Functional 1KB Hard Drive in Vanilla Minecraft
by infogulch on Wednesday August 20, 2014 @02:53PM
(#8203867)
As parent said, items with the same name stack together, items with different names don't. There are item testers in minecraft based on whether the item will stack.
Re:Fully Functional 1KB Hard Drive in Vanilla Minecraft
by NotAtWork on Wednesday August 20, 2014 @03:59PM
(#8204231)
I can see several ways that you could implement storage and processing using that, thank you.
For anyone else thinking about the problem, there are two processes that could be used by item sorting to do processing:
1. You can use the stream of items through a pipeline (if deterministic enough) to encode a bit of strings. You can do this without enchanting, because you only need two item types.
2. You initialize an instruction decoder and have it sort the item based on type, which then triggers a command block to decode the instruction further.
Can command blocks match items on NBT data or chests on their data?