最基本的指令是程序的开始与结束。要启动程序,请先放置一个石质方块。然后,面向该方块并执行命令 /trigger fungecraft.play。这将在石质方块南侧 1 格的位置启动程序。执行程序指针将一路向南移动,直到遇到方向操作符或基岩为止,此时程序终止。
方向操作符包括品红色釉陶瓦(外观类似箭头)。当程序指针到达此类方块时,它将沿着箭头所指的方向继续执行。
接下来是数学运算:
- 加法:由氧化切制铜块表示;
- 减法:由唱片机表示;
- 乘法:由蜜脾块表示;
- 除法:由浅蓝色釉陶瓦表示;
- 取模:由下界石英矿石表示。
上述每种操作都会从堆栈中弹出两个值(先弹出 a,再弹出 b),然后将计算结果 b [操作] a 压回堆栈。(例如,如果堆栈中有 2 和 3,随后放置了一个减法操作符,它会先弹出 3 再弹出 2,并压入 2 - 3 的结果。)
以下是 MSBE(Minecraft Standard Block Encoding,即 Minecraft 标准方块编码,实际上就是 Fungecraft 标准编码)中不同方块对应的图表:
0: 黑色羊毛
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: 橡木告示牌
45: 唱片机
46: 诡异木告示牌
47: 浅蓝色釉陶瓦
48: 箱子
49: 红色混凝土
50: 橙色混凝土
51: 黄色混凝土
52: 绿色混凝土
53: 黄绿色混凝土
54: 青色混凝土
55: 浅蓝色混凝土
56: 蓝色混凝土
57: 紫色混凝土
58: 发射器
59: 品红色混凝土
60: 品红色釉陶瓦(朝北)
61: 粉红色混凝土
62: 品红色釉陶瓦(朝南)
63: 投掷器
64: 基岩
65: 石头
66: 圆石
67: 深板岩
68: 粗制深板岩
69: 煤炭矿石
70: 深板岩煤炭矿石
71: 煤炭块
72: 铜矿石
73: 深板岩铜矿石
74: 粗铜块
75: 铜块
76: 铁矿石
77: 深板岩铁矿石
78: 粗铁块
79: 铁块
80: 青金石矿石
81: 深板岩青金石矿石
82: 青金石块
83: 红石矿石
84: 深板岩红石矿石
85: 红石块
86: 绿宝石矿石
87: 深板岩绿宝石矿石
88: 绿宝石块
89: 钻石矿石
90: 深板岩钻石矿石
91: 钻石块
92: 活塞
93: 远古残骸
94: 品红色釉陶瓦(朝东)
95: 中继器(朝南)
96: 比较器
97: 下界合金块
98: 黑色陶瓦
99: 灰色陶瓦
100: 棕色陶瓦
101: 浅灰色陶瓦
102: 白色陶瓦
103: 音符盒
104: 红色陶瓦
105: 橙色陶瓦
106: 黄色陶瓦
107: 绿色陶瓦
108: 黄绿色陶瓦
109: 青色陶瓦
110: 浅蓝色陶瓦
111: 蓝色陶瓦
112: 粘性活塞
113: 紫色陶瓦
114: 品红色陶瓦
115: 粉红色陶瓦
116: 黑色地毯
117: 灰色地毯
118: 品红色釉陶瓦(朝西)
119: 棕色地毯
120: 浅灰色地毯
121: 白色地毯
122: 红色地毯
123: 橙色地毯
124: 黄色地毯
125: 中继器(朝西)
126: 讲台
The most basic instruction is the beginning and end. To begin a program, place down a stone block. Then, whilst looking at that block, run the command /trigger fungecraft.play. This should start the program 1 block south of the stone. The execution will continue south until it hits a directional operator, or bedrock, which terminates the program.
The directional operators are magenta glazed terracotta, which looks like an arrow, and when the program pointer reaches one of them, it continues in the direction the arrow is pointing.
Then there are the mathematical operations.
There is addition, which is represented by an oxidised cut copper block,
Subtraction, which is a jukebox,
Multiplication, which is a honeycomb block,
Division, reperesnted by light blue glazed terracotta,
And modulo, nether quartz ore.
Each of these pops two values from the stack, a then b, and pushes back on the operation calculated with b and a (e.g. if the stack had a 2 then a 3, then you put a minus operation, it would pop 3 then 2 and push 2 - 3)
Chart for the different blocks in the MSBE (Minecraft standard block encoding (Really just the Fungecraft standard encoding)):
0: Black Wool
1: gray Wool
2: Brown Wool
3: Light gray Wool
4: White Wool
5: Red Wool
6: Orange Wool
7: Yellow Wool
8: Green Wool
9: Lime Wool
10: Cyan Wool
11: Light Blue Wool
12: Blue Wool
13: Purple Wool
14: Magenta Wool
15: Pink Wool
16: Black Concrete Powder
17: gray Concrete Powder
18: Brown Concrete Powder
19: Light gray Concrete Powder
20: White Concrete Powder
21: Red Concrete Powder
22: Orange Concrete Powder
23: Yellow Concrete Powder
24: green Concrete Powder
25: Lime Concrete Powder
26: Cyan Concrete Powder
27: Light Blue Concrete Powder
28: Blue Concrete Powder
29: Purple Concrete Powder
30: Magenta Concrete Powder
31: Pink Concrete Powder
32: Air
33: Bamboo
34: Black Concrete
35: gray Concrete
36: Lava Cauldron
37: Nether Quartz Ore
38: Observer
39: Brown Concrete
40: Light gray Concrete
41: White Concrete
42: Honeycomb Block
43: Oxidized Cut Copper
44: Oak Sign
45: Jukebox
46: Warped Sign
47: Light Blue glazed Terracotta
48: Chest
49: Red Concrete
50: Orange Concrete
51: Yellow Concrete
52: green Concrete
53: Lime Concrete
54: Cyan Concrete
55: Light Blue Concrete
56: Blue Concrete
57: Purple Concrete
58: Dispenser
59: Magenta Concrete
60: Magenta glazed Terracotta (facing north)
61: Pink Concrete
62: Magenta glazed Terracotta (facing south)
63: Dropper
64: Bedrock
65: Stone
66: Cobblestone
67: Deepslate
68: Cobbled Deepslate
69: Coal Ore
70: Deepslate Coal Ore
71: Coal Block
72: Copper Ore
73: Deepslate Copper Ore
74: Raw Copper Block
75: Copper Block
76: Iron Ore
77: Deepslate Iron Ore
78: Raw Iron Block
79: Iron Block
80: Lapis Ore
81: Deepslate Lapis Ore
82: Lapis Block
83: Redstone Ore
84: Deepslate Redstone Ore
85: Redstone Block
86: Emerald Ore
87: Deepslate Emerald Ore
88: Emerald Block
89: Diamond Ore
90: Deepslate Diamond Ore
91: Diamond Block
92: Piston
93: Ancient Debris
94: Magenta glazed Terracotta (facing east)
95: Repeater (facing south)
96: Comparator
97: Netherite Block
98: Black Terracotta
99: gray Terracotta
100: Brown Terracotta
101: Light gray Terracotta
102: White Terracotta
103: Note Block
104: Red Terracotta
105: Orange Terracotta
106: Yellow Terracotta
107: green Terracotta
108: Lime Terracotta
109: Cyan Terracotta
110: Light Blue Terracotta
111: Blue Terracotta
112: Sticky Piston
113: Purple Terracotta
114: Magenta Terracotta
115: Pink Terracotta
116: Black Carpet
117: gray Carpet
118: Magenta glazed Terracotta (facing west)
119: Brown Carpet
120: Light gray Carpet
121: White Carpet
122: Red Carpet
123: Orange Carpet
124: Yellow Carpet
125: Repeater (facing west)
126: Lectern
评论 0
登录后参与评分
还没有评论,来抢沙发吧