Folly
This is the part where i design a minecraft mod for the 25th time and then don’t make it.
I’m on my phone so expect typos
the gist
- Programming mod where everything happens as blocks in the world
- a kind of forth-like character, but with some variations to make it more “physical”
- certain pieces of data are representations of in-game objects, they can be manipulated but not copied or deleted
- subsumes Incorporeal / i4
stacks
The data types are
- empty
- itemstack
- “ideated itemstack” (more on that later)
- number
- i guess strings would be useful too
the fundamental unit is the Data Tank. It’s a block that is placed in the world. Each data tank can and must store one piece of data; the default is Empty.
There isn’t a canonical way of “building a stack” out of data tanks. Instead a stack is traced starting from a certain point and direction whenever one is needed.
- A data tank is added to the trace, and then the trace continues in the same direction.
- Data pipes (imagine a big chunky Create pipe) can move and bend the trace. They do not themselces hold data.
- Data portals can teleport a trace to a nonadjacent location. Multiple portals can connect to the same target (meaning you can push data, and then pull it from another location)
Data doesn’t take any time to travel through pipes and portals since it just affects which data tanks are considered adjacent.
Tl;dr it’s incorporeal 2 (although i don’t think i2 had portals)
Pumps
One important block is the data pump (≈ the funnel from i2). It has a front and a back side. In one step, it pulls data from the back and pushes it into the front (if either operation fails, nothing happens)
The data pump (or maybe a separate block) can also read and write data from the world. If you pump data out of a redstone dust, you’ll get a number representing the signal strength.
If you pump data out of a chest it will remove an item from the chest and place it on the stack! And pumping an item into a chest will place it inside
Ideation
To talk about items instead of actually having them
Ideated items can be copied and deleted using other stack operations but in return they cannot be placed inside a chest