-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExample_ResourceTypes.sfm
More file actions
44 lines (34 loc) · 1.19 KB
/
Example_ResourceTypes.sfm
File metadata and controls
44 lines (34 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
-- I like to store some of the example programms here as well for easy access.
NAME "Resource types"
EVERY 20 TICKS DO
-- the default resource type is sfm:item
INPUT stone FROM a
-- is the same as
INPUT sfm:item:*:stone FROM a
-- so if you want to move all fluids, you gotta do
INPUT fluid:: from a
OUTPUT fluid:: to b
-- this expands to INPUT sfm:fluid:*:* FROM a
-- these are equivalent
INPUT fluid::water FROM a
INPUT sfm:fluid:*:water FROM a
INPUT iron_ingot FROM a
INPUT sfm:item:*:iron_ingot FROM a
-- older versions used to default to "minecraft" for items
INPUT iron_ingot FROM a
INPUT sfm:item:minecraft:iron_ingot FROM a
-- this is no longer the case, since there isn't usually name conflicts
-- if there are, you can just manually specify the mod id if you care
INPUT totally_not_minecraft:iron_ingot FROM a
END
-- the following resource types are supported
-- (this example is generated so it's always up to date)
EVERY 20 TICKS DO
INPUT fluid:: FROM a
INPUT forge_energy:: FROM a
INPUT gas:: FROM a
INPUT infusion:: FROM a
INPUT item:: FROM a
INPUT pigment:: FROM a
INPUT slurry:: FROM a
END