summaryrefslogtreecommitdiffstats
path: root/src/BlockInfo.cpp
blob: 05a1e13f8b79ac730f0bf3b62f81ee407d7992ff (plain) (blame)
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
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771

#include "Globals.h"

#include "BlockInfo.h"
#include "Blocks/BlockHandler.h"



cBlockInfo::~cBlockInfo()
{
	delete m_Handler;
	m_Handler = NULL;
}


void cBlockInfo::Initialize(cBlockInfoArray & a_Info)
{
	for (unsigned int i = 0; i < 256; ++i)
	{
		if (a_Info[i].m_Handler == NULL)
		{
			a_Info[i].m_Handler = cBlockHandler::CreateBlockHandler((BLOCKTYPE) i);
		}
	}

	// Emissive blocks
	a_Info[E_BLOCK_ACTIVE_COMPARATOR   ].m_LightValue = 9;
	a_Info[E_BLOCK_BEACON              ].m_LightValue = 15;
	a_Info[E_BLOCK_BREWING_STAND       ].m_LightValue = 1;
	a_Info[E_BLOCK_BROWN_MUSHROOM      ].m_LightValue = 1;
	a_Info[E_BLOCK_BURNING_FURNACE     ].m_LightValue = 13;
	a_Info[E_BLOCK_DRAGON_EGG          ].m_LightValue = 1;
	a_Info[E_BLOCK_END_PORTAL          ].m_LightValue = 15;
	a_Info[E_BLOCK_END_PORTAL_FRAME    ].m_LightValue = 1;
	a_Info[E_BLOCK_ENDER_CHEST         ].m_LightValue = 7;
	a_Info[E_BLOCK_FIRE                ].m_LightValue = 15;
	a_Info[E_BLOCK_GLOWSTONE           ].m_LightValue = 15;
	a_Info[E_BLOCK_JACK_O_LANTERN      ].m_LightValue = 15;
	a_Info[E_BLOCK_LAVA                ].m_LightValue = 15;
	a_Info[E_BLOCK_NETHER_PORTAL       ].m_LightValue = 11;
	a_Info[E_BLOCK_REDSTONE_LAMP_ON    ].m_LightValue = 15;
	a_Info[E_BLOCK_REDSTONE_ORE_GLOWING].m_LightValue = 9;
	a_Info[E_BLOCK_REDSTONE_REPEATER_ON].m_LightValue = 9;
	a_Info[E_BLOCK_REDSTONE_TORCH_ON   ].m_LightValue = 7;
	a_Info[E_BLOCK_SEA_LANTERN         ].m_LightValue = 15;
	a_Info[E_BLOCK_STATIONARY_LAVA     ].m_LightValue = 15;
	a_Info[E_BLOCK_TORCH               ].m_LightValue = 14;


	// Spread blocks
	a_Info[E_BLOCK_ACACIA_DOOR         ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_ACACIA_FENCE        ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_ACACIA_FENCE_GATE   ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_ACTIVATOR_RAIL      ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_ACTIVE_COMPARATOR   ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_AIR                 ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_ANVIL               ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_BARRIER             ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_BEACON              ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_BED                 ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_BIG_FLOWER          ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_BIRCH_DOOR          ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_BIRCH_FENCE         ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_BIRCH_FENCE_GATE    ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_BROWN_MUSHROOM      ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_BREWING_STAND       ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_CACTUS              ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_CAKE                ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_CARPET              ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_CARROTS             ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_CAULDRON            ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_CHEST               ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_COBBLESTONE_WALL    ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_COCOA_POD           ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_COBWEB              ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_CROPS               ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_DANDELION           ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_DARK_OAK_DOOR       ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_DARK_OAK_FENCE      ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_DARK_OAK_FENCE_GATE ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_DAYLIGHT_SENSOR     ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_DEAD_BUSH           ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_DETECTOR_RAIL       ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_DRAGON_EGG          ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_ENCHANTMENT_TABLE   ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_ENDER_CHEST         ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_END_PORTAL          ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_END_PORTAL_FRAME    ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_FARMLAND            ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_FENCE               ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_FENCE_GATE          ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_FIRE                ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_FLOWER              ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_FLOWER_POT          ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_GLASS               ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_GLASS_PANE          ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_HEAD                ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_HEAVY_WEIGHTED_PRESSURE_PLATE].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_HOPPER              ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_ICE                 ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_INACTIVE_COMPARATOR ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_IRON_BARS           ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_IRON_DOOR           ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_IRON_TRAPDOOR       ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_JUNGLE_DOOR         ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_JUNGLE_FENCE        ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_JUNGLE_FENCE_GATE   ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_LADDER              ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_LEAVES              ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_LEVER               ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_LILY_PAD            ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_LIGHT_WEIGHTED_PRESSURE_PLATE].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_MELON_STEM          ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_MOB_SPAWNER         ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_NETHER_PORTAL       ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_NETHER_WART         ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_NEW_LEAVES          ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_NEW_STONE_SLAB      ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_PISTON              ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_PISTON_EXTENSION    ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_PISTON_MOVED_BLOCK  ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_POTATOES            ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_POWERED_RAIL        ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_PUMPKIN_STEM        ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_RAIL                ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_RED_MUSHROOM        ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_REDSTONE_REPEATER_OFF].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_REDSTONE_REPEATER_ON].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_REDSTONE_TORCH_OFF  ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_REDSTONE_TORCH_ON   ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_REDSTONE_WIRE       ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_SAPLING             ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_SIGN_POST           ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_SNOW                ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_SPRUCE_DOOR         ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_SPRUCE_FENCE        ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_SPRUCE_FENCE_GATE   ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_STAINED_GLASS       ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_STAINED_GLASS_PANE  ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_STICKY_PISTON       ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_STONE_BUTTON        ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_STONE_PRESSURE_PLATE].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_STONE_SLAB          ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_SUGARCANE           ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_TALL_GRASS          ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_TORCH               ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_TRAPDOOR            ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_TRAPPED_CHEST       ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_TRIPWIRE            ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_TRIPWIRE_HOOK       ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_VINES               ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_WALLSIGN            ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_WOODEN_BUTTON       ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_WOODEN_DOOR         ].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_WOODEN_PRESSURE_PLATE].m_SpreadLightFalloff = 1;
	a_Info[E_BLOCK_WOODEN_SLAB         ].m_SpreadLightFalloff = 1;

	// Light in water and lava dissapears faster:
	a_Info[E_BLOCK_LAVA                ].m_SpreadLightFalloff = 3;
	a_Info[E_BLOCK_STATIONARY_LAVA     ].m_SpreadLightFalloff = 3;
	a_Info[E_BLOCK_STATIONARY_WATER    ].m_SpreadLightFalloff = 3;
	a_Info[E_BLOCK_WATER               ].m_SpreadLightFalloff = 3;


	// Transparent blocks
	a_Info[E_BLOCK_ACACIA_DOOR         ].m_Transparent = true;
	a_Info[E_BLOCK_ACACIA_FENCE        ].m_Transparent = true;
	a_Info[E_BLOCK_ACACIA_FENCE_GATE   ].m_Transparent = true;
	a_Info[E_BLOCK_ACTIVATOR_RAIL      ].m_Transparent = true;
	a_Info[E_BLOCK_ACTIVE_COMPARATOR   ].m_Transparent = true;
	a_Info[E_BLOCK_AIR                 ].m_Transparent = true;
	a_Info[E_BLOCK_ANVIL               ].m_Transparent = true;
	a_Info[E_BLOCK_BARRIER             ].m_Transparent = true;
	a_Info[E_BLOCK_BEACON              ].m_Transparent = true;
	a_Info[E_BLOCK_BED                 ].m_Transparent = true;
	a_Info[E_BLOCK_BIG_FLOWER          ].m_Transparent = true;
	a_Info[E_BLOCK_BIRCH_DOOR          ].m_Transparent = true;
	a_Info[E_BLOCK_BIRCH_FENCE         ].m_Transparent = true;
	a_Info[E_BLOCK_BIRCH_FENCE_GATE    ].m_Transparent = true;
	a_Info[E_BLOCK_BROWN_MUSHROOM      ].m_Transparent = true;
	a_Info[E_BLOCK_BREWING_STAND       ].m_Transparent = true;
	a_Info[E_BLOCK_CACTUS              ].m_Transparent = true;
	a_Info[E_BLOCK_CAKE                ].m_Transparent = true;
	a_Info[E_BLOCK_CARPET              ].m_Transparent = true;
	a_Info[E_BLOCK_CARROTS             ].m_Transparent = true;
	a_Info[E_BLOCK_CAULDRON            ].m_Transparent = true;
	a_Info[E_BLOCK_CHEST               ].m_Transparent = true;
	a_Info[E_BLOCK_COBBLESTONE_WALL    ].m_Transparent = true;
	a_Info[E_BLOCK_COCOA_POD           ].m_Transparent = true;
	a_Info[E_BLOCK_COBWEB              ].m_Transparent = true;
	a_Info[E_BLOCK_CROPS               ].m_Transparent = true;
	a_Info[E_BLOCK_DANDELION           ].m_Transparent = true;
	a_Info[E_BLOCK_DARK_OAK_DOOR       ].m_Transparent = true;
	a_Info[E_BLOCK_DARK_OAK_FENCE      ].m_Transparent = true;
	a_Info[E_BLOCK_DARK_OAK_FENCE_GATE ].m_Transparent = true;
	a_Info[E_BLOCK_DAYLIGHT_SENSOR     ].m_Transparent = true;
	a_Info[E_BLOCK_DEAD_BUSH           ].m_Transparent = true;
	a_Info[E_BLOCK_DETECTOR_RAIL       ].m_Transparent = true;
	a_Info[E_BLOCK_DRAGON_EGG          ].m_Transparent = true;
	a_Info[E_BLOCK_ENCHANTMENT_TABLE   ].m_Transparent = true;
	a_Info[E_BLOCK_ENDER_CHEST         ].m_Transparent = true;
	a_Info[E_BLOCK_END_PORTAL          ].m_Transparent = true;
	a_Info[E_BLOCK_END_PORTAL_FRAME    ].m_Transparent = true;
	a_Info[E_BLOCK_FARMLAND            ].m_Transparent = true;
	a_Info[E_BLOCK_FENCE               ].m_Transparent = true;
	a_Info[E_BLOCK_FENCE_GATE          ].m_Transparent = true;
	a_Info[E_BLOCK_FIRE                ].m_Transparent = true;
	a_Info[E_BLOCK_FLOWER              ].m_Transparent = true;
	a_Info[E_BLOCK_FLOWER_POT          ].m_Transparent = true;
	a_Info[E_BLOCK_GLASS               ].m_Transparent = true;
	a_Info[E_BLOCK_GLASS_PANE          ].m_Transparent = true;
	a_Info[E_BLOCK_HEAD                ].m_Transparent = true;
	a_Info[E_BLOCK_HEAVY_WEIGHTED_PRESSURE_PLATE].m_Transparent = true;
	a_Info[E_BLOCK_HOPPER              ].m_Transparent = true;
	a_Info[E_BLOCK_ICE                 ].m_Transparent = true;
	a_Info[E_BLOCK_INACTIVE_COMPARATOR ].m_Transparent = true;
	a_Info[E_BLOCK_IRON_BARS           ].m_Transparent = true;
	a_Info[E_BLOCK_IRON_DOOR           ].m_Transparent = true;
	a_Info[E_BLOCK_IRON_TRAPDOOR       ].m_Transparent = true;
	a_Info[E_BLOCK_JUNGLE_DOOR         ].m_Transparent = true;
	a_Info[E_BLOCK_JUNGLE_FENCE        ].m_Transparent = true;
	a_Info[E_BLOCK_JUNGLE_FENCE_GATE   ].m_Transparent = true;
	a_Info[E_BLOCK_LADDER              ].m_Transparent = true;
	a_Info[E_BLOCK_LAVA                ].m_Transparent = true;
	a_Info[E_BLOCK_LEAVES              ].m_Transparent = true;
	a_Info[E_BLOCK_LEVER               ].m_Transparent = true;
	a_Info[E_BLOCK_LILY_PAD            ].m_Transparent = true;
	a_Info[E_BLOCK_LIGHT_WEIGHTED_PRESSURE_PLATE].m_Transparent = true;
	a_Info[E_BLOCK_MELON_STEM          ].m_Transparent = true;
	a_Info[E_BLOCK_MOB_SPAWNER         ].m_Transparent = true;
	a_Info[E_BLOCK_NETHER_BRICK_FENCE  ].m_Transparent = true;
	a_Info[E_BLOCK_NETHER_PORTAL       ].m_Transparent = true;
	a_Info[E_BLOCK_NETHER_WART         ].m_Transparent = true;
	a_Info[E_BLOCK_NEW_LEAVES          ].m_Transparent = true;
	a_Info[E_BLOCK_NEW_STONE_SLAB      ].m_Transparent = true;
	a_Info[E_BLOCK_PISTON              ].m_Transparent = true;
	a_Info[E_BLOCK_PISTON_EXTENSION    ].m_Transparent = true;
	a_Info[E_BLOCK_PISTON_MOVED_BLOCK  ].m_Transparent = true;
	a_Info[E_BLOCK_POTATOES            ].m_Transparent = true;
	a_Info[E_BLOCK_POWERED_RAIL        ].m_Transparent = true;
	a_Info[E_BLOCK_PUMPKIN_STEM        ].m_Transparent = true;
	a_Info[E_BLOCK_RAIL                ].m_Transparent = true;
	a_Info[E_BLOCK_RED_MUSHROOM        ].m_Transparent = true;
	a_Info[E_BLOCK_REDSTONE_REPEATER_OFF].m_Transparent = true;
	a_Info[E_BLOCK_REDSTONE_REPEATER_ON].m_Transparent = true;
	a_Info[E_BLOCK_REDSTONE_TORCH_OFF  ].m_Transparent = true;
	a_Info[E_BLOCK_REDSTONE_TORCH_ON   ].m_Transparent = true;
	a_Info[E_BLOCK_REDSTONE_WIRE       ].m_Transparent = true;
	a_Info[E_BLOCK_SAPLING             ].m_Transparent = true;
	a_Info[E_BLOCK_SIGN_POST           ].m_Transparent = true;
	a_Info[E_BLOCK_SNOW                ].m_Transparent = true;
	a_Info[E_BLOCK_SPRUCE_DOOR         ].m_Transparent = true;
	a_Info[E_BLOCK_SPRUCE_FENCE        ].m_Transparent = true;
	a_Info[E_BLOCK_SPRUCE_FENCE_GATE   ].m_Transparent = true;
	a_Info[E_BLOCK_STAINED_GLASS       ].m_Transparent = true;
	a_Info[E_BLOCK_STAINED_GLASS_PANE  ].m_Transparent = true;
	a_Info[E_BLOCK_STATIONARY_LAVA     ].m_Transparent = true;
	a_Info[E_BLOCK_STATIONARY_WATER    ].m_Transparent = true;
	a_Info[E_BLOCK_STICKY_PISTON       ].m_Transparent = true;
	a_Info[E_BLOCK_STONE_BUTTON        ].m_Transparent = true;
	a_Info[E_BLOCK_STONE_PRESSURE_PLATE].m_Transparent = true;
	a_Info[E_BLOCK_STONE_SLAB          ].m_Transparent = true;
	a_Info[E_BLOCK_SUGARCANE           ].m_Transparent = true;
	a_Info[E_BLOCK_TALL_GRASS          ].m_Transparent = true;
	a_Info[E_BLOCK_TORCH               ].m_Transparent = true;
	a_Info[E_BLOCK_TRAPDOOR            ].m_Transparent = true;
	a_Info[E_BLOCK_TRAPPED_CHEST       ].m_Transparent = true;
	a_Info[E_BLOCK_TRIPWIRE            ].m_Transparent = true;
	a_Info[E_BLOCK_TRIPWIRE_HOOK       ].m_Transparent = true;
	a_Info[E_BLOCK_VINES               ].m_Transparent = true;
	a_Info[E_BLOCK_WALLSIGN            ].m_Transparent = true;
	a_Info[E_BLOCK_WATER               ].m_Transparent = true;
	a_Info[E_BLOCK_WOODEN_BUTTON       ].m_Transparent = true;
	a_Info[E_BLOCK_WOODEN_DOOR         ].m_Transparent = true;
	a_Info[E_BLOCK_WOODEN_PRESSURE_PLATE].m_Transparent = true;
	a_Info[E_BLOCK_WOODEN_SLAB         ].m_Transparent = true;


	// One hit break blocks:
	a_Info[E_BLOCK_ACTIVE_COMPARATOR   ].m_OneHitDig = true;
	a_Info[E_BLOCK_BIG_FLOWER          ].m_OneHitDig = true;
	a_Info[E_BLOCK_BROWN_MUSHROOM      ].m_OneHitDig = true;
	a_Info[E_BLOCK_CARROTS             ].m_OneHitDig = true;
	a_Info[E_BLOCK_CROPS               ].m_OneHitDig = true;
	a_Info[E_BLOCK_DANDELION           ].m_OneHitDig = true;
	a_Info[E_BLOCK_DEAD_BUSH           ].m_OneHitDig = true;
	a_Info[E_BLOCK_FIRE                ].m_OneHitDig = true;
	a_Info[E_BLOCK_FLOWER              ].m_OneHitDig = true;
	a_Info[E_BLOCK_FLOWER_POT          ].m_OneHitDig = true;
	a_Info[E_BLOCK_INACTIVE_COMPARATOR ].m_OneHitDig = true;
	a_Info[E_BLOCK_LILY_PAD            ].m_OneHitDig = true;
	a_Info[E_BLOCK_MELON_STEM          ].m_OneHitDig = true;
	a_Info[E_BLOCK_NETHER_WART         ].m_OneHitDig = true;
	a_Info[E_BLOCK_POTATOES            ].m_OneHitDig = true;
	a_Info[E_BLOCK_PUMPKIN_STEM        ].m_OneHitDig = true;
	a_Info[E_BLOCK_REDSTONE_REPEATER_OFF].m_OneHitDig = true;
	a_Info[E_BLOCK_REDSTONE_REPEATER_ON].m_OneHitDig = true;
	a_Info[E_BLOCK_REDSTONE_TORCH_OFF  ].m_OneHitDig = true;
	a_Info[E_BLOCK_REDSTONE_TORCH_ON   ].m_OneHitDig = true;
	a_Info[E_BLOCK_REDSTONE_WIRE       ].m_OneHitDig = true;
	a_Info[E_BLOCK_RED_MUSHROOM        ].m_OneHitDig = true;
	a_Info[E_BLOCK_REEDS               ].m_OneHitDig = true;
	a_Info[E_BLOCK_SAPLING             ].m_OneHitDig = true;
	a_Info[E_BLOCK_TNT                 ].m_OneHitDig = true;
	a_Info[E_BLOCK_TALL_GRASS          ].m_OneHitDig = true;
	a_Info[E_BLOCK_TORCH               ].m_OneHitDig = true;
	a_Info[E_BLOCK_TRIPWIRE            ].m_OneHitDig = true;


	// Blocks that break when pushed by piston:
	a_Info[E_BLOCK_ACTIVE_COMPARATOR   ].m_PistonBreakable = true;
	a_Info[E_BLOCK_AIR                 ].m_PistonBreakable = true;
	a_Info[E_BLOCK_BED                 ].m_PistonBreakable = true;
	a_Info[E_BLOCK_BIG_FLOWER          ].m_PistonBreakable = true;
	a_Info[E_BLOCK_BROWN_MUSHROOM      ].m_PistonBreakable = true;
	a_Info[E_BLOCK_CACTUS              ].m_PistonBreakable = true;
	a_Info[E_BLOCK_CAKE                ].m_PistonBreakable = true;
	a_Info[E_BLOCK_CARROTS             ].m_PistonBreakable = true;
	a_Info[E_BLOCK_COCOA_POD           ].m_PistonBreakable = true;
	a_Info[E_BLOCK_COBWEB              ].m_PistonBreakable = true;
	a_Info[E_BLOCK_CROPS               ].m_PistonBreakable = true;
	a_Info[E_BLOCK_DANDELION           ].m_PistonBreakable = true;
	a_Info[E_BLOCK_DEAD_BUSH           ].m_PistonBreakable = true;
	a_Info[E_BLOCK_DRAGON_EGG          ].m_PistonBreakable = true;
	a_Info[E_BLOCK_FIRE                ].m_PistonBreakable = true;
	a_Info[E_BLOCK_FLOWER              ].m_PistonBreakable = true;
	a_Info[E_BLOCK_FLOWER_POT          ].m_PistonBreakable = true;
	a_Info[E_BLOCK_HEAD                ].m_PistonBreakable = true;
	a_Info[E_BLOCK_HEAVY_WEIGHTED_PRESSURE_PLATE].m_PistonBreakable = true;
	a_Info[E_BLOCK_INACTIVE_COMPARATOR ].m_PistonBreakable = true;
	a_Info[E_BLOCK_IRON_DOOR           ].m_PistonBreakable = true;
	a_Info[E_BLOCK_JACK_O_LANTERN      ].m_PistonBreakable = true;
	a_Info[E_BLOCK_LIGHT_WEIGHTED_PRESSURE_PLATE].m_PistonBreakable = true;
	a_Info[E_BLOCK_LILY_PAD            ].m_PistonBreakable = true;
	a_Info[E_BLOCK_LADDER              ].m_PistonBreakable = true;
	a_Info[E_BLOCK_LAVA                ].m_PistonBreakable = true;
	a_Info[E_BLOCK_LEVER               ].m_PistonBreakable = true;
	a_Info[E_BLOCK_MELON               ].m_PistonBreakable = true;
	a_Info[E_BLOCK_MELON_STEM          ].m_PistonBreakable = true;
	a_Info[E_BLOCK_NETHER_WART         ].m_PistonBreakable = true;
	a_Info[E_BLOCK_POTATOES            ].m_PistonBreakable = true;
	a_Info[E_BLOCK_PUMPKIN             ].m_PistonBreakable = true;
	a_Info[E_BLOCK_PUMPKIN_STEM        ].m_PistonBreakable = true;
	a_Info[E_BLOCK_REDSTONE_REPEATER_OFF].m_PistonBreakable = true;
	a_Info[E_BLOCK_REDSTONE_REPEATER_ON].m_PistonBreakable = true;
	a_Info[E_BLOCK_REDSTONE_TORCH_OFF  ].m_PistonBreakable = true;
	a_Info[E_BLOCK_REDSTONE_TORCH_ON   ].m_PistonBreakable = true;
	a_Info[E_BLOCK_REDSTONE_WIRE       ].m_PistonBreakable = true;
	a_Info[E_BLOCK_RED_MUSHROOM        ].m_PistonBreakable = true;
	a_Info[E_BLOCK_REEDS               ].m_PistonBreakable = true;
	a_Info[E_BLOCK_SAPLING             ].m_PistonBreakable = true;
	a_Info[E_BLOCK_SIGN_POST           ].m_PistonBreakable = true;
	a_Info[E_BLOCK_SNOW                ].m_PistonBreakable = true;
	a_Info[E_BLOCK_STATIONARY_LAVA     ].m_PistonBreakable = true;
	a_Info[E_BLOCK_STATIONARY_WATER    ].m_PistonBreakable = true;
	a_Info[E_BLOCK_STONE_BUTTON        ].m_PistonBreakable = true;
	a_Info[E_BLOCK_STONE_PRESSURE_PLATE].m_PistonBreakable = true;
	a_Info[E_BLOCK_TALL_GRASS          ].m_PistonBreakable = true;
	a_Info[E_BLOCK_TORCH               ].m_PistonBreakable = true;
	a_Info[E_BLOCK_TRAPDOOR            ].m_PistonBreakable = true;
	a_Info[E_BLOCK_TRIPWIRE            ].m_PistonBreakable = true;
	a_Info[E_BLOCK_TRIPWIRE_HOOK       ].m_PistonBreakable = true;
	a_Info[E_BLOCK_VINES               ].m_PistonBreakable = true;
	a_Info[E_BLOCK_WALLSIGN            ].m_PistonBreakable = true;
	a_Info[E_BLOCK_WATER               ].m_PistonBreakable = true;
	a_Info[E_BLOCK_WOODEN_BUTTON       ].m_PistonBreakable = true;
	a_Info[E_BLOCK_WOODEN_DOOR         ].m_PistonBreakable = true;
	a_Info[E_BLOCK_WOODEN_PRESSURE_PLATE].m_PistonBreakable = true;


	// Blocks that can be snowed over:
	a_Info[E_BLOCK_BEDROCK             ].m_IsSnowable = true;
	a_Info[E_BLOCK_BLOCK_OF_COAL       ].m_IsSnowable = true;
	a_Info[E_BLOCK_BLOCK_OF_REDSTONE   ].m_IsSnowable = true;
	a_Info[E_BLOCK_BOOKCASE            ].m_IsSnowable = true;
	a_Info[E_BLOCK_BRICK               ].m_IsSnowable = true;
	a_Info[E_BLOCK_CLAY                ].m_IsSnowable = true;
	a_Info[E_BLOCK_CRAFTING_TABLE      ].m_IsSnowable = true;
	a_Info[E_BLOCK_COAL_ORE            ].m_IsSnowable = true;
	a_Info[E_BLOCK_COMMAND_BLOCK       ].m_IsSnowable = true;
	a_Info[E_BLOCK_COBBLESTONE         ].m_IsSnowable = true;
	a_Info[E_BLOCK_DIAMOND_BLOCK       ].m_IsSnowable = true;
	a_Info[E_BLOCK_DIAMOND_ORE         ].m_IsSnowable = true;
	a_Info[E_BLOCK_DIRT                ].m_IsSnowable = true;
	a_Info[E_BLOCK_DISPENSER           ].m_IsSnowable = true;
	a_Info[E_BLOCK_DOUBLE_NEW_STONE_SLAB].m_IsSnowable = true;
	a_Info[E_BLOCK_DOUBLE_STONE_SLAB   ].m_IsSnowable = true;
	a_Info[E_BLOCK_DOUBLE_WOODEN_SLAB  ].m_IsSnowable = true;
	a_Info[E_BLOCK_DROPPER             ].m_IsSnowable = true;
	a_Info[E_BLOCK_EMERALD_BLOCK       ].m_IsSnowable = true;
	a_Info[E_BLOCK_EMERALD_ORE         ].m_IsSnowable = true;
	a_Info[E_BLOCK_END_STONE           ].m_IsSnowable = true;
	a_Info[E_BLOCK_FURNACE             ].m_IsSnowable = true;
	a_Info[E_BLOCK_GLOWSTONE           ].m_IsSnowable = true;
	a_Info[E_BLOCK_GOLD_BLOCK          ].m_IsSnowable = true;
	a_Info[E_BLOCK_GOLD_ORE            ].m_IsSnowable = true;
	a_Info[E_BLOCK_GRASS               ].m_IsSnowable = true;
	a_Info[E_BLOCK_GRAVEL              ].m_IsSnowable = true;
	a_Info[E_BLOCK_HARDENED_CLAY       ].m_IsSnowable = true;
	a_Info[E_BLOCK_HAY_BALE            ].m_IsSnowable = true;
	a_Info[E_BLOCK_HUGE_BROWN_MUSHROOM ].m_IsSnowable = true;
	a_Info[E_BLOCK_HUGE_RED_MUSHROOM   ].m_IsSnowable = true;
	a_Info[E_BLOCK_IRON_BLOCK          ].m_IsSnowable = true;
	a_Info[E_BLOCK_IRON_ORE            ].m_IsSnowable = true;
	a_Info[E_BLOCK_JACK_O_LANTERN      ].m_IsSnowable = true;
	a_Info[E_BLOCK_JUKEBOX             ].m_IsSnowable = true;
	a_Info[E_BLOCK_LAPIS_BLOCK         ].m_IsSnowable = true;
	a_Info[E_BLOCK_LAPIS_ORE           ].m_IsSnowable = true;
	a_Info[E_BLOCK_LEAVES              ].m_IsSnowable = true;
	a_Info[E_BLOCK_LIT_FURNACE         ].m_IsSnowable = true;
	a_Info[E_BLOCK_LOG                 ].m_IsSnowable = true;
	a_Info[E_BLOCK_MELON               ].m_IsSnowable = true;
	a_Info[E_BLOCK_MOSSY_COBBLESTONE   ].m_IsSnowable = true;
	a_Info[E_BLOCK_MYCELIUM            ].m_IsSnowable = true;
	a_Info[E_BLOCK_NETHER_BRICK        ].m_IsSnowable = true;
	a_Info[E_BLOCK_NETHER_QUARTZ_ORE   ].m_IsSnowable = true;
	a_Info[E_BLOCK_NETHERRACK          ].m_IsSnowable = true;
	a_Info[E_BLOCK_NEW_LEAVES          ].m_IsSnowable = true;
	a_Info[E_BLOCK_NEW_LOG             ].m_IsSnowable = true;
	a_Info[E_BLOCK_NOTE_BLOCK          ].m_IsSnowable = true;
	a_Info[E_BLOCK_OBSIDIAN            ].m_IsSnowable = true;
	a_Info[E_BLOCK_PLANKS              ].m_IsSnowable = true;
	a_Info[E_BLOCK_PRISMARINE_BLOCK    ].m_IsSnowable = true;
	a_Info[E_BLOCK_PUMPKIN             ].m_IsSnowable = true;
	a_Info[E_BLOCK_QUARTZ_BLOCK        ].m_IsSnowable = true;
	a_Info[E_BLOCK_RED_SANDSTONE       ].m_IsSnowable = true;
	a_Info[E_BLOCK_REDSTONE_LAMP_OFF   ].m_IsSnowable = true;
	a_Info[E_BLOCK_REDSTONE_LAMP_ON    ].m_IsSnowable = true;
	a_Info[E_BLOCK_REDSTONE_ORE        ].m_IsSnowable = true;
	a_Info[E_BLOCK_REDSTONE_ORE_GLOWING].m_IsSnowable = true;
	a_Info[E_BLOCK_SAND                ].m_IsSnowable = true;
	a_Info[E_BLOCK_SANDSTONE           ].m_IsSnowable = true;
	a_Info[E_BLOCK_SEA_LANTERN         ].m_IsSnowable = true;
	a_Info[E_BLOCK_SILVERFISH_EGG      ].m_IsSnowable = true;
	a_Info[E_BLOCK_SNOW_BLOCK          ].m_IsSnowable = true;
	a_Info[E_BLOCK_SOULSAND            ].m_IsSnowable = true;
	a_Info[E_BLOCK_SPONGE              ].m_IsSnowable = true;
	a_Info[E_BLOCK_STAINED_CLAY        ].m_IsSnowable = true;
	a_Info[E_BLOCK_STONE               ].m_IsSnowable = true;
	a_Info[E_BLOCK_STONE_BRICKS        ].m_IsSnowable = true;
	a_Info[E_BLOCK_TNT                 ].m_IsSnowable = true;
	a_Info[E_BLOCK_WOOL                ].m_IsSnowable = true;

	// Nonsolid blocks:
	a_Info[E_BLOCK_ACTIVATOR_RAIL      ].m_IsSolid = false;
	a_Info[E_BLOCK_AIR                 ].m_IsSolid = false;
	a_Info[E_BLOCK_BIG_FLOWER          ].m_IsSolid = false;
	a_Info[E_BLOCK_BROWN_MUSHROOM      ].m_IsSolid = false;
	a_Info[E_BLOCK_CAKE                ].m_IsSolid = false;
	a_Info[E_BLOCK_CARROTS             ].m_IsSolid = false;
	a_Info[E_BLOCK_COBWEB              ].m_IsSolid = false;
	a_Info[E_BLOCK_CROPS               ].m_IsSolid = false;
	a_Info[E_BLOCK_DANDELION           ].m_IsSolid = false;
	a_Info[E_BLOCK_DETECTOR_RAIL       ].m_IsSolid = false;
	a_Info[E_BLOCK_END_PORTAL          ].m_IsSolid = false;
	a_Info[E_BLOCK_FIRE                ].m_IsSolid = false;
	a_Info[E_BLOCK_FLOWER              ].m_IsSolid = false;
	a_Info[E_BLOCK_HEAVY_WEIGHTED_PRESSURE_PLATE].m_IsSolid = false;
	a_Info[E_BLOCK_LAVA                ].m_IsSolid = false;
	a_Info[E_BLOCK_LEVER               ].m_IsSolid = false;
	a_Info[E_BLOCK_LIGHT_WEIGHTED_PRESSURE_PLATE].m_IsSolid = false;
	a_Info[E_BLOCK_MELON_STEM          ].m_IsSolid = false;
	a_Info[E_BLOCK_NETHER_PORTAL       ].m_IsSolid = false;
	a_Info[E_BLOCK_POTATOES            ].m_IsSolid = false;
	a_Info[E_BLOCK_POWERED_RAIL        ].m_IsSolid = false;
	a_Info[E_BLOCK_RAIL                ].m_IsSolid = false;
	a_Info[E_BLOCK_REDSTONE_TORCH_OFF  ].m_IsSolid = false;
	a_Info[E_BLOCK_REDSTONE_TORCH_ON   ].m_IsSolid = false;
	a_Info[E_BLOCK_REDSTONE_WIRE       ].m_IsSolid = false;
	a_Info[E_BLOCK_RED_MUSHROOM        ].m_IsSolid = false;
	a_Info[E_BLOCK_REEDS               ].m_IsSolid = false;
	a_Info[E_BLOCK_SAPLING             ].m_IsSolid = false;
	a_Info[E_BLOCK_SIGN_POST           ].m_IsSolid = false;
	a_Info[E_BLOCK_SNOW                ].m_IsSolid = false;
	a_Info[E_BLOCK_STATIONARY_LAVA     ].m_IsSolid = false;
	a_Info[E_BLOCK_STATIONARY_WATER    ].m_IsSolid = false;
	a_Info[E_BLOCK_STONE_BUTTON        ].m_IsSolid = false;
	a_Info[E_BLOCK_STONE_PRESSURE_PLATE].m_IsSolid = false;
	a_Info[E_BLOCK_TALL_GRASS          ].m_IsSolid = false;
	a_Info[E_BLOCK_TORCH               ].m_IsSolid = false;
	a_Info[E_BLOCK_TRIPWIRE            ].m_IsSolid = false;
	a_Info[E_BLOCK_VINES               ].m_IsSolid = false;
	a_Info[E_BLOCK_WALLSIGN            ].m_IsSolid = false;
	a_Info[E_BLOCK_WATER               ].m_IsSolid = false;
	a_Info[E_BLOCK_WOODEN_BUTTON       ].m_IsSolid = false;
	a_Info[E_BLOCK_WOODEN_PRESSURE_PLATE].m_IsSolid = false;


	// Blocks that fully occupy their voxel - used as a guide for torch placeable blocks, amongst other things:
	a_Info[E_BLOCK_BARRIER             ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_BEDROCK             ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_BLOCK_OF_COAL       ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_BLOCK_OF_REDSTONE   ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_BOOKCASE            ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_BRICK               ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_CLAY                ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_COAL_ORE            ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_COBBLESTONE         ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_COMMAND_BLOCK       ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_CRAFTING_TABLE      ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_DIAMOND_BLOCK       ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_DIAMOND_ORE         ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_DIRT                ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_DISPENSER           ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_DOUBLE_STONE_SLAB   ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_DOUBLE_WOODEN_SLAB  ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_DROPPER             ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_EMERALD_BLOCK       ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_EMERALD_ORE         ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_END_STONE           ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_FURNACE             ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_GLOWSTONE           ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_GOLD_BLOCK          ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_GOLD_ORE            ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_GRASS               ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_GRAVEL              ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_HARDENED_CLAY       ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_HAY_BALE            ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_HUGE_BROWN_MUSHROOM ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_HUGE_RED_MUSHROOM   ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_ICE                 ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_IRON_BLOCK          ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_IRON_ORE            ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_JACK_O_LANTERN      ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_JUKEBOX             ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_LAPIS_BLOCK         ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_LAPIS_ORE           ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_LOG                 ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_MELON               ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_MOB_SPAWNER         ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_MOSSY_COBBLESTONE   ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_MYCELIUM            ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_NETHERRACK          ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_NETHER_BRICK        ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_NETHER_QUARTZ_ORE   ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_NEW_LOG             ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_NOTE_BLOCK          ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_OBSIDIAN            ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_PACKED_ICE          ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_PLANKS              ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_PRISMARINE_BLOCK    ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_PUMPKIN             ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_QUARTZ_BLOCK        ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_RED_SANDSTONE       ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_REDSTONE_LAMP_OFF   ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_REDSTONE_LAMP_ON    ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_REDSTONE_ORE        ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_REDSTONE_ORE_GLOWING].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_SANDSTONE           ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_SAND                ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_SILVERFISH_EGG      ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_SPONGE              ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_STAINED_CLAY        ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_STONE               ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_STONE_BRICKS        ].m_FullyOccupiesVoxel = true;
	a_Info[E_BLOCK_WOOL                ].m_FullyOccupiesVoxel = true;


	// Blocks that can be terraformed
	a_Info[E_BLOCK_COAL_ORE            ].m_CanBeTerraformed = true;
	a_Info[E_BLOCK_COBBLESTONE         ].m_CanBeTerraformed = true;
	a_Info[E_BLOCK_DIAMOND_ORE         ].m_CanBeTerraformed = true;
	a_Info[E_BLOCK_DIRT                ].m_CanBeTerraformed = true;
	a_Info[E_BLOCK_GOLD_ORE            ].m_CanBeTerraformed = true;
	a_Info[E_BLOCK_GRASS               ].m_CanBeTerraformed = true;
	a_Info[E_BLOCK_GRAVEL              ].m_CanBeTerraformed = true;
	a_Info[E_BLOCK_HARDENED_CLAY       ].m_CanBeTerraformed = true;
	a_Info[E_BLOCK_IRON_ORE            ].m_CanBeTerraformed = true;
	a_Info[E_BLOCK_MYCELIUM            ].m_CanBeTerraformed = true;
	a_Info[E_BLOCK_NETHERRACK          ].m_CanBeTerraformed = true;
	a_Info[E_BLOCK_REDSTONE_ORE        ].m_CanBeTerraformed = true;
	a_Info[E_BLOCK_REDSTONE_ORE_GLOWING].m_CanBeTerraformed = true;
	a_Info[E_BLOCK_SAND                ].m_CanBeTerraformed = true;
	a_Info[E_BLOCK_SANDSTONE           ].m_CanBeTerraformed = true;
	a_Info[E_BLOCK_SOULSAND            ].m_CanBeTerraformed = true;
	a_Info[E_BLOCK_STAINED_CLAY        ].m_CanBeTerraformed = true;
	a_Info[E_BLOCK_STONE               ].m_CanBeTerraformed = true;


	// Block place sounds:
	a_Info[E_BLOCK_STONE               ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_GRASS               ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_DIRT                ].m_PlaceSound = "dig.gravel";
	a_Info[E_BLOCK_COBBLESTONE         ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_PLANKS              ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_SAPLING             ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_BEDROCK             ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_SAND                ].m_PlaceSound = "dig.sand";
	a_Info[E_BLOCK_GRAVEL              ].m_PlaceSound = "dig.gravel";
	a_Info[E_BLOCK_GOLD_ORE            ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_IRON_ORE            ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_COAL_ORE            ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_LOG                 ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_LEAVES              ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_SPONGE              ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_GLASS               ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_LAPIS_ORE           ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_LAPIS_BLOCK         ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_DISPENSER           ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_SANDSTONE           ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_NOTE_BLOCK          ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_POWERED_RAIL        ].m_PlaceSound = "dig.metal";
	a_Info[E_BLOCK_DETECTOR_RAIL       ].m_PlaceSound = "dig.metal";
	a_Info[E_BLOCK_STICKY_PISTON       ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_COBWEB              ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_TALL_GRASS          ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_DEAD_BUSH           ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_PISTON              ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_PISTON_EXTENSION    ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_WOOL                ].m_PlaceSound = "dig.cloth";
	a_Info[E_BLOCK_PISTON_MOVED_BLOCK  ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_DANDELION           ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_FLOWER              ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_BROWN_MUSHROOM      ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_RED_MUSHROOM        ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_GOLD_BLOCK          ].m_PlaceSound = "dig.metal";
	a_Info[E_BLOCK_IRON_BLOCK          ].m_PlaceSound = "dig.metal";
	a_Info[E_BLOCK_DOUBLE_STONE_SLAB   ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_STONE_SLAB          ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_BRICK               ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_TNT                 ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_BOOKCASE            ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_MOSSY_COBBLESTONE   ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_OBSIDIAN            ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_TORCH               ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_FIRE                ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_MOB_SPAWNER         ].m_PlaceSound = "dig.metal";
	a_Info[E_BLOCK_WOODEN_STAIRS       ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_CHEST               ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_REDSTONE_WIRE       ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_DIAMOND_ORE         ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_DIAMOND_BLOCK       ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_CRAFTING_TABLE      ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_FARMLAND            ].m_PlaceSound = "dig.gravel";
	a_Info[E_BLOCK_FURNACE             ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_LIT_FURNACE         ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_SIGN_POST           ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_WOODEN_DOOR         ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_LADDER              ].m_PlaceSound = "dig.ladder";
	a_Info[E_BLOCK_RAIL                ].m_PlaceSound = "dig.metal";
	a_Info[E_BLOCK_COBBLESTONE_STAIRS  ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_WALLSIGN            ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_LEVER               ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_STONE_PRESSURE_PLATE ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_IRON_DOOR           ].m_PlaceSound = "dig.metal";
	a_Info[E_BLOCK_WOODEN_PRESSURE_PLATE ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_REDSTONE_ORE        ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_REDSTONE_ORE_GLOWING ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_REDSTONE_TORCH_OFF  ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_REDSTONE_TORCH_ON   ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_STONE_BUTTON        ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_SNOW                ].m_PlaceSound = "dig.snow";
	a_Info[E_BLOCK_ICE                 ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_SNOW_BLOCK          ].m_PlaceSound = "dig.snow";
	a_Info[E_BLOCK_CACTUS              ].m_PlaceSound = "dig.cloth";
	a_Info[E_BLOCK_CLAY                ].m_PlaceSound = "dig.gravel";
	a_Info[E_BLOCK_SUGARCANE           ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_JUKEBOX             ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_FENCE               ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_PUMPKIN             ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_NETHERRACK          ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_SOULSAND            ].m_PlaceSound = "dig.sand";
	a_Info[E_BLOCK_GLOWSTONE           ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_NETHER_PORTAL       ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_JACK_O_LANTERN      ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_CAKE                ].m_PlaceSound = "dig.snow";
	a_Info[E_BLOCK_REDSTONE_REPEATER_OFF ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_REDSTONE_REPEATER_ON ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_STAINED_GLASS       ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_TRAPDOOR            ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_SILVERFISH_EGG      ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_STONE_BRICKS        ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_HUGE_BROWN_MUSHROOM ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_HUGE_RED_MUSHROOM   ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_IRON_BARS           ].m_PlaceSound = "dig.metal";
	a_Info[E_BLOCK_GLASS_PANE          ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_MELON               ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_PUMPKIN_STEM        ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_MELON_STEM          ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_VINES               ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_FENCE_GATE          ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_BRICK_STAIRS        ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_STONE_BRICK_STAIRS  ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_MYCELIUM            ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_LILY_PAD            ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_NETHER_BRICK        ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_NETHER_BRICK_FENCE  ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_NETHER_BRICK_STAIRS ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_NETHER_WART         ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_ENCHANTMENT_TABLE   ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_BREWING_STAND       ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_CAULDRON            ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_END_PORTAL          ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_END_PORTAL_FRAME    ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_END_STONE           ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_DRAGON_EGG          ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_REDSTONE_LAMP_OFF   ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_REDSTONE_LAMP_ON    ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_DOUBLE_WOODEN_SLAB  ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_WOODEN_SLAB         ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_COCOA_POD           ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_SANDSTONE_STAIRS    ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_EMERALD_ORE         ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_ENDER_CHEST         ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_TRIPWIRE_HOOK       ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_TRIPWIRE            ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_EMERALD_BLOCK       ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_SPRUCE_WOOD_STAIRS  ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_BIRCH_WOOD_STAIRS   ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_JUNGLE_WOOD_STAIRS  ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_COMMAND_BLOCK       ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_BEACON              ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_COBBLESTONE_WALL    ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_FLOWER_POT          ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_CARROTS             ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_POTATOES            ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_HEAD                ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_ANVIL               ].m_PlaceSound = "random.anvil_land";
	a_Info[E_BLOCK_TRAPPED_CHEST       ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_LIGHT_WEIGHTED_PRESSURE_PLATE ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_HEAVY_WEIGHTED_PRESSURE_PLATE ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_INACTIVE_COMPARATOR ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_ACTIVE_COMPARATOR   ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_DAYLIGHT_SENSOR     ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_BLOCK_OF_REDSTONE   ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_NETHER_QUARTZ_ORE   ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_HOPPER              ].m_PlaceSound = "dig.metal";
	a_Info[E_BLOCK_QUARTZ_BLOCK        ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_QUARTZ_STAIRS       ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_ACTIVATOR_RAIL      ].m_PlaceSound = "dig.metal";
	a_Info[E_BLOCK_DROPPER             ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_STAINED_CLAY        ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_STAINED_GLASS_PANE  ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_NEW_LEAVES          ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_NEW_LOG             ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_ACACIA_WOOD_STAIRS  ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_DARK_OAK_WOOD_STAIRS ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_SLIME_BLOCK         ].m_PlaceSound = "dig.slime";  // TODO: Check that this is the correct name
	a_Info[E_BLOCK_BARRIER             ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_IRON_TRAPDOOR       ].m_PlaceSound = "dig.metal";
	a_Info[E_BLOCK_PRISMARINE_BLOCK    ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_SEA_LANTERN         ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_HAY_BALE            ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_CARPET              ].m_PlaceSound = "dig.cloth";
	a_Info[E_BLOCK_HARDENED_CLAY       ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_BLOCK_OF_COAL       ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_PACKED_ICE          ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_BIG_FLOWER          ].m_PlaceSound = "dig.grass";
	a_Info[E_BLOCK_RED_SANDSTONE       ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_RED_SANDSTONE_STAIRS ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_NEW_STONE_SLAB      ].m_PlaceSound = "dig.stone";
	a_Info[E_BLOCK_SPRUCE_FENCE_GATE   ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_BIRCH_FENCE_GATE    ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_JUNGLE_FENCE_GATE   ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_DARK_OAK_FENCE_GATE ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_ACACIA_FENCE_GATE   ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_SPRUCE_FENCE        ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_BIRCH_FENCE         ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_JUNGLE_FENCE        ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_DARK_OAK_FENCE      ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_ACACIA_FENCE        ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_SPRUCE_DOOR         ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_BIRCH_DOOR          ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_JUNGLE_DOOR         ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_ACACIA_DOOR         ].m_PlaceSound = "dig.wood";
	a_Info[E_BLOCK_DARK_OAK_DOOR       ].m_PlaceSound = "dig.wood";
}